sumatrapdfreader / sumatrapdf

SumatraPDF reader
http://www.sumatrapdfreader.org
GNU General Public License v3.0
13.62k stars 1.73k forks source link

annotations are too easy to delete by accident #4613

Closed VladimirAlexiev closed 3 hours ago

VladimirAlexiev commented 3 hours ago

SumatraPDF version

Describe the bug DEL while editing annotation text deletes the whole annotation.

To Reproduce Steps to reproduce the behavior:

  1. select something
  2. click "a" to make an annotation
  3. rclick and select "edit highlight annotation"
  4. start entering some text. Click DEL in the edit box
  5. The annotation disappears

Screenshots This shows the state just before clicking Del: image

Additional context This edit box is deficient in another way too: I use a clipboard manager (Ditto). In all other programs, when I select a previous Copy text, it's pasted in the current text box. But not in the Annotation editor: I also need to press Control-V

(Thematically related to #4612)

GitHubRulesOK commented 3 hours ago

duplicate fixed and closed in pre-release checking (https://github.com/sumatrapdfreader/sumatrapdf/issues/4499) related https://github.com/sumatrapdfreader/sumatrapdf/issues/4352

duplicate of https://github.com/sumatrapdfreader/sumatrapdf/issues/4307

VladimirAlexiev commented 1 hour ago

Thanks @GitHubRulesOK ! The prerelease is at https://www.sumatrapdfreader.org/prerelease, and it's immensely faster on startup (I have like 20 PDFs opened, and I like they are reopened on restart).