Files
pdfcraft/contributors
Joel Tony f45fd7507e Issue #870: keys leave the document under a dialog alone (#898)
* Issue #870: keys leave the document under a dialog alone

With Preferences (or any other dialog) open, the registered shortcuts still
ran on the document underneath it: ⌘W / Ctrl+W closed the file, ⌘Z undid an
edit, ⌘F opened Find. In Organize Pages the grid's own keys did too, so Delete
or Backspace deleted the selected pages behind the dialog, and the grid took
the Escape meant to close it.

Every modal now owns the keyboard, as "Save changes?" already did:
PdfCraftApp::modal_open covers the dialog, the save, password and link
prompts and the update check. Shortcuts stop there, and the organize grid's
keys and autoscroll wait until the page is unobstructed.

* Contributors: credit jay-tau by their GitHub profile name
2026-10-10 17:04:14 -04:00
..