Skip to content

SumatraPDF crashes on tab-switch while editing an annotation #4862

@x-projekt

Description

@x-projekt

SumatraPDF version

  • 3.5.2 64-bit

Describe the bug
Switching PDF files while editing an annotation in one of the PDF files, then switching back to the annotated PDF and continuing with the edit crashes the application.

To Reproduce
Steps to reproduce the behavior:

  1. Open two PDF files simultaneously (the home tab is also open)
  2. Create an annotation in one the PDF's (say PDF-1) - Drag some text -> click 'a' on the keyboard -> right-click on the annotation and select 'Edit highlight Annotation' (let the Annotations dialog open and keep it open)
  3. Now switch to the other PDF (say PDF-2) tab.
  4. Switch back to PDF-1 and click on the text-area labelled as "Content" and start typing.
  5. Immediately, (after about a single character is registered), the application must crash

Expected behavior
The application should continue with adding and then saving contents to PDF-1, without crashing.

Additional context
See the crash-report.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions