The new annotation toolbar remained invisible (e.g. F6 did nothing). The toolbar appeared after following the test instructions and restart okular: rm -i ~/.config/okularpartrc \ ~/.config/okularrc \ ~/.local/share/kxmlgui5/okular/part.rc \ ~/.local/share/kxmlgui5/okular/shell.rc (note: shell.rc was absent on my system) SOFTWARE/OS VERSIONS openSUSE Leap-15.1, with okular built through kdesrc-build. KDE Frameworks Version: KDE Frameworks 5.71.0 Qt Version: Qt 5.14.2 (built against 5.14.2) ADDITIONAL INFORMATION First occurrence in 0b05d7ce9 ("Overhaul annotations UX", 2020-06-04)
The likely culprit is ~/.local/share/kxmlgui5/okular/part.rc, do you still have the old one to share?
I am not sure there is a way to migrate part.rc automatically, possibly the only solution is to manually delete that file.
Hmm, we need a solution without making the user do that manually, then. Nobody will know that they have to do that.
Created attachment 129268 [details] original part.rc Here is the backup file. If you find a way and look for a tester, I'm ready to help. Congratulations: it's cool for the annotations toolbar to be moveable.
(In reply to Simone Gaiarin from comment #2) > I am not sure there is a way to migrate part.rc automatically, possibly the > only solution is to manually delete that file. https://techbase.kde.org/Development/Tools/Using_kconf_update ?
See https://invent.kde.org/graphics/okular/-/merge_requests/197
Nate, if you assign something to someone, please make sure you add okular-devel to the CC
ok
A possibly relevant merge request was started @ https://invent.kde.org/graphics/okular/-/merge_requests/207
Git commit a73012a91c32227ee5e6862052c3eb6c6e91d942 by Albert Astals Cid. Committed on 12/07/2020 at 21:52. Pushed by aacid into branch 'release/20.08'. Cleanup part.rc files older than version 47 Otherwise we crash because we introduced a mandatory new toolbar and kxmlgui doesn't seem to merge them properly M +1 -0 CMakeLists.txt M +8 -0 part.cpp A +103 -0 xmlgui_helper.cpp [License: GPL (v2+)] A +15 -0 xmlgui_helper.h [License: GPL (v2+)] https://invent.kde.org/graphics/okular/commit/a73012a91c32227ee5e6862052c3eb6c6e91d942