[okular] [Bug 429743] View Mode (and other) actions disable keyboard shortcuts for Annotation Toolbar and Main Toolbar
Christoph Cullmann
bugzilla_noreply at kde.org
Sat Oct 3 11:43:20 BST 2026
https://bugs.kde.org/show_bug.cgi?id=429743
--- Comment #13 from Christoph Cullmann <christoph at cullmann.dev> ---
Git commit d4502ab654a342b976e302a77ca3510d883ec69e by Christoph Cullmann, on
behalf of Akshaj Gopalakrishnan.
Committed on 03/10/2026 at 10:39.
Pushed by cullmann into branch 'master'.
Restore KConfig shortcuts after refresh
ToolBarHandler uses the KConfig file instead of .rc files to store
shortcuts. When refreshActionProperties() is called, it removes all
shortcuts, and sets shortcuts according to the scheme, and then
user-defined shortcuts from .rc file. This change makes it restore
KConfig shortcuts also.
With this commit, user-defined KConfig shortcuts persist across
schemes instead of being reset. Ideally these shortcuts should also be
scheme aware, but that change is out of scope.
M +40 -0 autotests/kxmlgui_unittest.cpp
M +1 -0 autotests/kxmlgui_unittest.h
M +3 -0 src/kxmlguifactory.cpp
https://invent.kde.org/frameworks/kxmlgui/-/commit/d4502ab654a342b976e302a77ca3510d883ec69e
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Okular-devel
mailing list