Skip to content

Restrict quick annotation shortcut context

Christoph Roick requested to merge croick/okular:annotation-shortcuts into master

Only handle shortcuts to quick annotation actions if the Okular part is focussed. Otherwise, Okular as embedded plugin might involuntarily steal numeric input from the main application (like in the Kate preview plugin).

Another way around promoting the shortcuts to the main application is adding the actions to the KActionCollection. Then the main application may handle those actions and limit the shortcut context.

Merge request reports