I use okular daily on Kubuntu. I am higly dependent on the "Accessibilty Reading Aids" giving me the ability to revert the colors, as I am visually impaired. So most time is spent in reversed color mode as it gives me the ability to read long hours with dark background and light text. But occasionally I need to look at a graph or a picture in a pdf, and for this I need so momentarily switch of the color inversion only to turn it on again shortly after when continuing the read of the book. It would really be perfect with a quick keyboard shortcut, that would toggle the reverse color mode on/off. Thanks for a great application I really love Okular. -Danish Kde User trough 10+ years...
Note that you set a shortcut already, the action is called "Toggle Change Colors". For convenience, you could also add this as a button to the toolbar. However, there is a weird bug which results in the shortcut not being saved: - configure shortcut - execute shortcut (works) - execute shortcut again (does not work anymore) - check shortcuts dialog, see that the shortcut is lost indeed Until this is fixed (let's make this bug about this issue), the workaround is to restart Okular after setting the shortcut for the first time, which makes it stick.
I can confirm a similar behavior in okular 1.2.3 in OpenSUSE Tumbleweed. This concerns various shortcuts as "Selection tool", "Fit Width", "View|Facing pages". I would like to set up these shortcuts as I did in earlier versions. Unfortunately, I am only able to use them once after assigning, then they are forgotten and reverted to the default shortcuts.
Same problem here with Kubuntu 17.04 and okular 1.0.3 Also affects Single Page / Facing Pages and Continuous toggles.
Similar Problem with show/hide navigation area and main toolbar on Ubuntu 17.10 and 18.04 (Okular 1.3.3). Where are the shortcuts saved? $HOME/.config/okularrc only shows the shortcut for the main toolbar.
I can confirm this bug for Okular 1.3.3 with: Qt: 5.9.5 KDE Frameworks: 5.44.0
*** Bug 361573 has been marked as a duplicate of this bug. ***
Bug still present in version 1.4.2, the keyboard short-cut works only once and is not remembered. Using OpenSUSE Tumbleweed.
(In reply to kadlecf from comment #2) > I can confirm a similar behavior in okular 1.2.3 in OpenSUSE Tumbleweed. > This concerns various shortcuts as "Selection tool", "Fit Width", > "View|Facing pages". I would like to set up these shortcuts as I did in > earlier versions. Unfortunately, I am only able to use them once after > assigning, then they are forgotten and reverted to the default shortcuts. I can still confirm that with Okular 1.7.2. It does not affect all actions, e. g. setting shortcuts for auto-scrolling works fine. (Who needs that?..)
*** Bug 419203 has been marked as a duplicate of this bug. ***
A possibly relevant merge request was started @ https://invent.kde.org/graphics/okular/-/merge_requests/251
A possibly relevant merge request was started @ https://invent.kde.org/graphics/okular/-/merge_requests/290
Fixed in KXmlGui instead of in Okular. Should be fixed when updating to KF 5.78.