SUMMARY In Okular 1.11.0 under Arch Linux no annotation toolbar is shown, even when pressing F6. The menu item changes from selected to not selected, but the toolbar it self does not appear. KDE Frameworks 5.73.0 Qt 5.15.0 (built against 5.15.0) The xcb windowing system STEPS TO REPRODUCE 1. Open pdf 2. Enable Browse Tool 3. Press F6 to show annotation toolbar OBSERVED RESULT No annotation toolbar appears EXPECTED RESULT Annotation toolbar appears SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION
Can you double check it's not appearing on the right of the "normal" toolbar?
No it is not. The problem is also that in the menu action for showing and hiding only the rectangle is visible, but not "Annotation Toolbar" (Next to the action to show and hide the main toolbar). In the flatpak package it is fine. It is hard to make a screenshot of a menu action.
(In reply to Martin from comment #2) > In the flatpak package it is > fine. It is hard to make a screenshot of a menu action. Just set spectacle to take the screenshot with N seconds of delay?
Could you also try to remove the files in '.local/share/kxmlgui5/okular/' (if any), restart okular, and see if the toolbar is shown?
Seems to fix the problem. Thank you!
If you still have the original configuration files can you attach them here? If not, do you remember the name of the files that were in that folder?
Created attachment 131522 [details] Problematic config file I just hit this issue on a Debian Testing system. My .local/share/kxmlgui5/okular/ folder only has a part.rc file, which I've attached. I tried removing that file. The new toolbar looks somewhat different to what it used to, but the annotation tools are now accessible (no longer as a side-bar, I see).
The file .local/share/kxmlgui5/okular/part.rc is automatically deleted if its version is < 47 (i.e. the version where the annotation toolbar has been added). If Okular was tested from master in a certain period (between the merge of !105 and !207) there was the possibility to end up in this situation were the version is updated to 47 without the file being deleted. This should not happen again now.
Brendon, did you use some pre-release code of okular compiled it by yourself or using maybe the Neon dev edition?
I use Debian's official packages. Sometimes I install newer versions from unstable, but usually I just stick with testing. Either way, I doubt Debian pulls from unreleased versions for KDE packages, generally speaking... though, to be fair, I can't say for certain. TLDR: Not that I'm aware of.
*** Bug 427463 has been marked as a duplicate of this bug. ***
Created attachment 132256 [details] configuartion file causing the bug