https://bugs.kde.org/show_bug.cgi?id=395497
--- Comment #21 from jimbo1qaz <jimbo1...@protonmail.com> --- (In reply to Albert Astals Cid from comment #19) > (In reply to jimbo1qaz from comment #18) > > I found this bug independently, with a slightly different procedure. > > > > 1. Open Okular, Configure Toolbars dialog. > > 2. Add "About KDE" to Main Toolbar <okular_shell>. > > 3. Press Apply, which creates ~/.local/share/kxmlgui5/okular/shell.rc. > > You mean this three steps gives you a "No text" menubar? > > Can the rest of you reproduce this? > > I can't, just works fine for me I uploaded 3 different versions of my shell.rc at https://gist.github.com/jimbo1qaz/a8a1aaabe51eff8f0d95c20aa9b4b3b3 The long file contains noMerge="1" and <text> and <Action...> tags. It works fine, and I'm using it now. ------ The short file's <Menu> groups are empty, except for <DefineGroup> tags. They're missing both the menu name <text>, and the menu item <Action>. Okular 1.5.70 (Kubuntu 18.04) generated them with noMerge="1" *present*, causing the bug. The version I uploaded, I manually removed noMerge="1" to fix the issue. ------ I also attached unmodified /usr/share/kxmlgui5/okular/shell.rc, which looks very similar to the short file, but is missing noMerge="1" (but it's still present in <ToolBar>). ------ I think flatpak 1.7.0 and versions are irrelevant. Okular usually generates the long file for me, but sometimes (twice so far, both times in Ubuntu 18.04) generates the short (broken) file. I'm not sure what causes the short file to be generated, and when I tried reproducing the bug, it produced the long (ok) file instead. ## Another possible issue Long files store the menu layout in ~/.local, and noMerge="1" causes it to ignore Okular's built-in settings (for some reason, /usr/share/kxmlgui5/okular/shell.rc does NOT contain <text> or <Action>). Does that mean that upgrading Okular's /usr/ will not upgrade the menu, since Okular uses the ~/.local menu layout generated by old Okular? -- You are receiving this mail because: You are watching all bug changes.