[okular] [Bug 429743] View Mode (and other) actions disable keyboard shortcuts for Annotation Toolbar and Main Toolbar

moshpirit bugzilla_noreply at kde.org
Sat Sep 12 01:57:55 BST 2026


https://bugs.kde.org/show_bug.cgi?id=429743

moshpirit <albertoma at tutamail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |albertoma at tutamail.com

--- Comment #11 from moshpirit <albertoma at tutamail.com> ---
Also happened to me with a different setup:

Okular 26.08.1 / KF 6.30 / Arch Linux / Sway

Reproduction steps:
- Assign Z to mainToolBar.
- Press Z to check that it works.
- Activate Trim Margins (X).
- Z stops working. Terminal prints kf.xmlgui: Shortcut for action
"mainToolBar"... set with QAction::setShortcut()! Use
KActionCollection::setDefaultShortcut(s) instead.

The interface loading is what trigger this issue, if the trim margin option is
already set up and doesn't get changed, the shortcut still works. I find this
warning quite relevant:

> Shortcut for action "mainToolBar" "Show Toolbar" set with QAction::setShortcut()!
> Use KActionCollection::setDefaultShortcut(s) instead.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list