[okular] [Bug 395497] Menubar - No text
https://bugs.kde.org/show_bug.cgi?id=395497 sanya7...@gmail.com changed: What|Removed |Added CC||sanya7...@gmail.com -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 395497] Menubar - No text
https://bugs.kde.org/show_bug.cgi?id=395497 lucazade changed: What|Removed |Added CC||luca.for...@gmail.com --- Comment #2 from lucazade --- same here -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 395497] Menubar - No text
https://bugs.kde.org/show_bug.cgi?id=395497 lucazade changed: What|Removed |Added Status|UNCONFIRMED |CONFIRMED Ever confirmed|0 |1 -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 395497] Menubar - No text
https://bugs.kde.org/show_bug.cgi?id=395497 --- Comment #1 from Evgenii --- Resetting the toolbar configuration to defaults solves the problem. -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 395497] Menubar - No text
https://bugs.kde.org/show_bug.cgi?id=395497 --- Comment #23 from Bug Janitor Service --- Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone! -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 395497] Menubar - No text
https://bugs.kde.org/show_bug.cgi?id=395497 jimbo1qaz changed: What|Removed |Added Ever confirmed|1 |0 Status|NEEDSINFO |REPORTED Resolution|WAITINGFORINFO |--- --- Comment #24 from jimbo1qaz --- lemme clear NEEDSINFO, some people have responded, and I have supplied an investigation of the issue (but not why the GUI editor writes a file in a corrupted state). -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 395497] Menubar - No text
https://bugs.kde.org/show_bug.cgi?id=395497 --- Comment #16 from David Hurka --- I have the same issue in the titlebar menu button, but also appears in normal menu bars. KDE Neon 5.15.4 KDE Frameworks 5.57.0 Qt 5.12.0 Okular 1.7.0 Renaming shell.rc or both files solves the problem. Renaming only part.rc doesn’t. I already had this problem when I started to use KDE Neon & KF5, approximately the same time as Evgenii. -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 395497] Menubar - No text
https://bugs.kde.org/show_bug.cgi?id=395497 --- Comment #17 from David Hurka --- Created attachment 119990 --> https://bugs.kde.org/attachment.cgi?id=119990&action=edit No Text causing shell.rc from David Hurka I didn’t attach my file in the last comment, here it is. Differs from Jan’s shell.rc in the DOCTYPE: kpartgui instead of gui. Is very similar to the shell.rc found in okular’s git repository, but with Open action added to toolbar, some noMerge="1", and SYSTEM "kpartgui.dtd". The shell.rc from the repository works fine, while the attached shell.rc causes No Text. Removing an noMerge="1" from the attached shell.rc file fixed the corresponding No Text entry. Jan’s file, in contrast, looks like the shell.rc files, which are saved by Okular when I put actions into the toolbar. (Okular creates gui files instead of kpartgui files. Why?) Additionally, I observed that No Text menus don’t contain shell actions, but only part actions. -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 395497] Menubar - No text
https://bugs.kde.org/show_bug.cgi?id=395497 jimbo1qaz changed: What|Removed |Added CC||jimbo1...@protonmail.com -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 395497] Menubar - No text
https://bugs.kde.org/show_bug.cgi?id=395497 --- Comment #18 from jimbo1qaz --- I found this bug independently, with a slightly different procedure. 1. Open Okular, Configure Toolbars dialog. 2. Add "About KDE" to Main Toolbar . 3. Press Apply, which creates ~/.local/share/kxmlgui5/okular/shell.rc. Editing ~/.local/share/kxmlgui5/okular/shell.rc and removing noMerge="1" fixes this issue. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Kubuntu 18.04 (available in About System) KDE Plasma Version: 5.12.7 KDE Frameworks Version: 5.44.0 Qt Version: 5.9.5 I installed Flatpak Okular 1.7.0, as a comparison. For some reason, Flatpak Okular looks normal with shell.rc present and noMerge="1", but the File menu items are ordered incorrectly with noMerge="1" removed: Import PostScript as PDF --- Save Save As Reload Open Open Recent ... full screenshot at https://cdn.discordapp.com/attachments/552027497592782850/577784158764662784/okular_flatpak_without_noMerge.png Flatpak versions: org.kde.okular/x86_64/stable org.kde.Platform/x86_64/5.12 -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 395497] Menubar - No text
https://bugs.kde.org/show_bug.cgi?id=395497 Albert Astals Cid changed: What|Removed |Added Status|CONFIRMED |NEEDSINFO Resolution|--- |WAITINGFORINFO --- Comment #19 from Albert Astals Cid --- (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 . > 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 -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 395497] Menubar - No text
https://bugs.kde.org/show_bug.cgi?id=395497 Oliver Sander changed: What|Removed |Added CC||oliver.san...@tu-dresden.de --- Comment #20 from Oliver Sander --- > Can the rest of you reproduce this? I can't, with Okular from git master on up-to-date Debian testing. -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 395497] Menubar - No text
https://bugs.kde.org/show_bug.cgi?id=395497 --- Comment #21 from jimbo1qaz --- (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 . > > 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 and tags. It works fine, and I'm using it now. -- The short file's groups are empty, except for tags. They're missing both the menu name , and the menu item . 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 ). -- 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 or ). 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.
[okular] [Bug 395497] Menubar - No text
https://bugs.kde.org/show_bug.cgi?id=395497 --- Comment #22 from Christoph Feck --- Yes, files in ~/.local override files in /usr. -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 395497] Menubar - No text
https://bugs.kde.org/show_bug.cgi?id=395497 Albert Astals Cid changed: What|Removed |Added CC||amye...@gmail.com --- Comment #29 from Albert Astals Cid --- *** Bug 396761 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 395497] Menubar - No text
https://bugs.kde.org/show_bug.cgi?id=395497 Patrick Silva changed: What|Removed |Added CC||gyrlg...@protonmail.com --- Comment #30 from Patrick Silva --- *** Bug 418561 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 395497] Menubar - No text
https://bugs.kde.org/show_bug.cgi?id=395497 --- Comment #28 from jimbo1qaz --- A similar bug with the same root cause appears to sporadically happen on Gwenview too. https://www.reddit.com/r/kde/comments/ezzd8x/gwenview_no_text_in_menu_bar_jpeg_save_quality/ -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 395497] Menubar - No text
https://bugs.kde.org/show_bug.cgi?id=395497 --- Comment #25 from Albert Astals Cid --- The big question is, anyone has any idea how you ended up with those corrupted shell.rc files in your .local ? Any of you did any kind of menu costumization that you remember either now or in the past? -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 395497] Menubar - No text
https://bugs.kde.org/show_bug.cgi?id=395497 --- Comment #26 from David Hurka --- (In reply to Albert Astals Cid from comment #25) > [...] any idea how you ended up with those > corrupted shell.rc files in your .local ? Surely I did toolbar customisation everytime before this happened, always through Configure Toolbars..., never any other way. But I don’t have any idea what special toolbar button could have caused this. Usually I have some actions from submenus in the toolbar (such as Fit Page), but I’m sure that I didn’t use any action from the shell back then. -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 395497] Menubar - No text
https://bugs.kde.org/show_bug.cgi?id=395497 aslam karachiwala <4s...@mythicflow.com> changed: What|Removed |Added CC||4s...@mythicflow.com -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 395497] Menubar - No text
https://bugs.kde.org/show_bug.cgi?id=395497 Albert Astals Cid changed: What|Removed |Added CC||jgarijoga...@outlook.com --- Comment #27 from Albert Astals Cid --- *** Bug 414936 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 395497] Menubar - No text
https://bugs.kde.org/show_bug.cgi?id=395497 Jan Przybylak changed: What|Removed |Added CC||jplx...@gmail.com --- Comment #5 from Jan Przybylak --- Created attachment 119397 --> https://bugs.kde.org/attachment.cgi?id=119397&action=edit Also broken in global menu I'm experiencing the same problem as Evgenii. I'm using the global menu (menu bar at the top of the screen instead of inside the window), instead of "File", "Settings" and "Help", it says "No text" ("Kein Text" in my case, since I've set it to German) -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 395497] Menubar - No text
https://bugs.kde.org/show_bug.cgi?id=395497 Albert Astals Cid changed: What|Removed |Added CC||aa...@kde.org --- Comment #6 from Albert Astals Cid --- Can anyone reproduce this in modern versions? -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 395497] Menubar - No text
https://bugs.kde.org/show_bug.cgi?id=395497 --- Comment #7 from Jan Przybylak --- Still happens in version 1.6.3. I also tried the git repository, happens there too. -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 395497] Menubar - No text
https://bugs.kde.org/show_bug.cgi?id=395497 Jan Przybylak changed: What|Removed |Added Version|1.4.2 |1.6.3 -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 395497] Menubar - No text
https://bugs.kde.org/show_bug.cgi?id=395497 --- Comment #8 from Albert Astals Cid --- Yeah but this is 99.% not a bug in Okular, what i mean is modern versions of KF5/Plasma/Qt -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 395497] Menubar - No text
https://bugs.kde.org/show_bug.cgi?id=395497 --- Comment #9 from Jan Przybylak --- I‘m currently on KF 5.56, I‘ll report back as soon as I get 5.57, which should happen in the next few days -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 395497] Menubar - No text
https://bugs.kde.org/show_bug.cgi?id=395497 --- Comment #10 from Albert Astals Cid --- 5.56 should be good. What's your plasma and Qt5? -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 395497] Menubar - No text
https://bugs.kde.org/show_bug.cgi?id=395497 --- Comment #11 from Jan Przybylak --- Plasma 5.15.4 and Qt 5.12.2 -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 395497] Menubar - No text
https://bugs.kde.org/show_bug.cgi?id=395497 --- Comment #12 from Albert Astals Cid --- Interesting, you mention the global menu, do you have this issue without the global menu? -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 395497] Menubar - No text
https://bugs.kde.org/show_bug.cgi?id=395497 --- Comment #13 from Jan Przybylak --- Yes. Also: `journalctl` does not return helpful results. If there are other logs that could help, I'm happy to send them -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 395497] Menubar - No text
https://bugs.kde.org/show_bug.cgi?id=395497 --- Comment #14 from Albert Astals Cid --- Can you send your .local/share/kxmlgui5/okular/part.rc file over? Do you remember doing any customization to your menus/toolbar/shortcuts? Can you confirm that removing your .local/share/kxmlgui5/okular/part.rc file (save it first somewhere else) fixes this? -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 395497] Menubar - No text
https://bugs.kde.org/show_bug.cgi?id=395497 --- Comment #15 from Jan Przybylak --- Created attachment 119560 --> https://bugs.kde.org/attachment.cgi?id=119560&action=edit My shell.rc file. Renaming it to something else solves the problem Renaming part.rc does nothing. However, renaming shell.rc solves the problem. It did not appear again when launching Okular. -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 395497] Menubar - No text
https://bugs.kde.org/show_bug.cgi?id=395497 Jan Przybylak changed: What|Removed |Added Version|1.6.3 |1.7.0 -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 395497] Menubar - No text
https://bugs.kde.org/show_bug.cgi?id=395497 tdr changed: What|Removed |Added CC||dsmi...@gmail.com --- Comment #3 from tdr --- Created attachment 116435 --> https://bugs.kde.org/attachment.cgi?id=116435&action=edit Screenshot of empty menubar -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 395497] Menubar - No text
https://bugs.kde.org/show_bug.cgi?id=395497 --- Comment #4 from tdr --- Adding some more information and a +1 to this. Okular 1.1.3 Kubuntu 17.10 KDE Plasma 5.12.4 KDE Frameworks 5.44.0 QT 5.9.1 Steps to reproduce: 1. Open Okular 2. Click "Settings" and deactivate "Show menubar" 3. Right-click the toolbar and select "Configure Toolbars" 4. Scroll to "Show Menubar" in the "Available actions" section 5. Click the right arrow (">") to add it to the "Current actions" section 6. Click "Apply" 7. Click "OK" -- The menubar is replaced with a blank bar -- 8. Activate the "Show menubar" button -- The menubar has mislabelled first-level items, some are labelled "No Text". -- 9. Right-click the toolbar and select "Configure Toolbars" 10. Click "Defaults" 11. Click "Reset" -- The menubar is restored and functions properly -- -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 395497] Menubar - No text
https://bugs.kde.org/show_bug.cgi?id=395497 sanya7...@gmail.com changed: What|Removed |Added CC||sanya7...@gmail.com -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 395497] Menubar - No text
https://bugs.kde.org/show_bug.cgi?id=395497 lucazade changed: What|Removed |Added CC||luca.for...@gmail.com --- Comment #2 from lucazade --- same here -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 395497] Menubar - No text
https://bugs.kde.org/show_bug.cgi?id=395497 lucazade changed: What|Removed |Added Status|UNCONFIRMED |CONFIRMED Ever confirmed|0 |1 -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 395497] Menubar - No text
https://bugs.kde.org/show_bug.cgi?id=395497 --- Comment #1 from Evgenii --- Resetting the toolbar configuration to defaults solves the problem. -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 395497] Menubar - No text - Editing the shell toolbar from Configure Toolbars sometimes corrupts shell.rc
https://bugs.kde.org/show_bug.cgi?id=395497 Postix changed: What|Removed |Added Status|REPORTED|CONFIRMED Ever confirmed|0 |1 CC||pos...@posteo.eu --- Comment #39 from Postix --- Can confirm it on: Operating System: Manjaro Linux KDE Plasma Version: 5.19.5 KDE Frameworks Version: 5.73.0 Qt Version: 5.15.0 Okular 20.08.1 -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 395497] Menubar - No text - Editing the shell toolbar from Configure Toolbars sometimes corrupts shell.rc
https://bugs.kde.org/show_bug.cgi?id=395497 --- Comment #40 from Postix --- > Resetting toolbar settings fixed the bug. For me too. -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 395497] Menubar - No text - Editing the shell toolbar from Configure Toolbars sometimes corrupts shell.rc
https://bugs.kde.org/show_bug.cgi?id=395497 sanya7...@gmail.com changed: What|Removed |Added CC|sanya7...@gmail.com | -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 395497] Menubar - No text - Editing the shell toolbar from Configure Toolbars sometimes corrupts shell.rc
https://bugs.kde.org/show_bug.cgi?id=395497 Albert Astals Cid changed: What|Removed |Added CC||dougjsha...@gmail.com --- Comment #41 from Albert Astals Cid --- *** Bug 427276 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 395497] Menubar - No text - Editing the shell toolbar from Configure Toolbars sometimes corrupts shell.rc
https://bugs.kde.org/show_bug.cgi?id=395497 Yuri Chornoivan changed: What|Removed |Added CC||nfx...@gmail.com --- Comment #42 from Yuri Chornoivan --- *** Bug 428629 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 395497] Menubar - No text - Editing the shell toolbar from Configure Toolbars sometimes corrupts shell.rc
https://bugs.kde.org/show_bug.cgi?id=395497 --- Comment #43 from nfx...@gmail.com --- > The big question is, anyone has any idea how you ended up with those > corrupted shell.rc files in your .local ? Seems to happen to users all the time over the last 2 years. Deleting ~/.local/share/kxmlgui5/okular/shell.rc helped. Why can't the KDE devs just NOT LOAD this file? I bet you're caught up in your endless, fractal complexity, with nobody around to fix or analyze it... -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 395497] Menubar - No text - Editing the shell toolbar from Configure Toolbars sometimes corrupts shell.rc
https://bugs.kde.org/show_bug.cgi?id=395497 --- Comment #44 from Albert Astals Cid --- (In reply to nfxjfg from comment #43) > bet you're caught up in your endless, > fractal complexity, with nobody around to fix or analyze it... If you're not going to be constructive, shut up. -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 395497] Menubar - No text - Editing the shell toolbar from Configure Toolbars sometimes corrupts shell.rc
https://bugs.kde.org/show_bug.cgi?id=395497 David Hurka changed: What|Removed |Added Summary|Menubar - No text |Menubar - No text - Editing ||the shell toolbar from ||Configure Toolbars ||sometimes corrupts shell.rc Version|1.7.0 |1.10.1 --- Comment #31 from David Hurka --- This bug caught me again. I edited the toolbar several times, ant the last time I edited it the menubar broke with “No Text”. The last edit was the first edit which involved a Shell action, “Open Recent”. So it appears that only editing the shell toolbar causes this bug, which matches the previous reports, and the fact that shell.rc gets corrupted. Additionally, all shell actions are now missing in the affected menus, which is pretty problematic. Interestingly, the View menu, wich holds the Fullscreen action, is not affected. This is probably because the View menu is not specified in shell.rc by default, but created purely automatically. Another worrying thing is that Okular crashes at startup if shell.rc is not well-formed. Debugging this today wasn’t very successful. It appears that the attribute causes the problem. Sometimes after Configure Toolbars the shell.rc is not expanded to contain all KStandardActions, and with noMerge they are not added automatically. The “No Text” comes from the tag missing, if noMerge="1" is present. Sometimes after Configure Toolbars the shell.rc is expanded, and everything is fine. I don’t know how to fix this now. First problem is that this bug does not reproduce everytime. Second problem is that there are these options: a) Prevent Configure Shortcuts from creating noMerge="1". The problem is, that without noMerge and with all actions specified explicitely, the explicitely specified actions and the automatically merged (?) KStandardActions kick each other arround, and the menu becomes jumbled up. b) Force Configure Shortcuts to expand shell.rc to include all actions and noMerge everytime. Problem is... is there a problem? At least I don’t know how to fix Configure Shortcuts. c) Include all actions and noMerge in the source shell.rc. This way, Configure Shortcuts will (theoretically) always end up with the fully expanded file. Problem is that we will explicitely specify all action positions, so they will not follow updates to KStandardAction, like happened with the Fullscreed action. But at least we will know when to update the Okular docbook. d) Remove all menu definitions from the source shell.rc. This was an experiment by mine. It turns out that, despite the tags are missing, KXmlGui will automatically populate the menus in the intended way, and create an expanded shell.rc as soon as the toolbar is edited. Because shell.rc is empty by default, Configure Shortcuts has no other option than generating the expanded file itself. Our options are basically: 1) Expand the source shell.rc to include all actions and noMerge. 2) Collapse the source shell.rc to include nothing. 3) Make this an upstream bug and assign it to KXmlGui. I prefer option 2. -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 395497] Menubar - No text - Editing the shell toolbar from Configure Toolbars sometimes corrupts shell.rc
https://bugs.kde.org/show_bug.cgi?id=395497 --- Comment #32 from Albert Astals Cid --- (In reply to David Hurka from comment #31) > Our options are basically: > 1) Expand the source shell.rc to include all actions and noMerge. > 2) Collapse the source shell.rc to include nothing. > 3) Make this an upstream bug and assign it to KXmlGui. > > I prefer option 2. Since 1 and 2 are wrong (what about the other users of the okular part?) The only solution is 3, or rather 4) Fix the bug in kxmlgui, don't expect others to fix it for you ;) But not being able to reproduce it, it's really a problem here. David are you running a modern enough KDE Frameworks? -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 395497] Menubar - No text - Editing the shell toolbar from Configure Toolbars sometimes corrupts shell.rc
https://bugs.kde.org/show_bug.cgi?id=395497 --- Comment #33 from Albert Astals Cid --- (In reply to David Hurka from comment #31) > Our options are basically: > 1) Expand the source shell.rc to include all actions and noMerge. > 2) Collapse the source shell.rc to include nothing. > 3) Make this an upstream bug and assign it to KXmlGui. > > I prefer option 2. Since 1 and 2 are wrong (what about the other users of the okular part?) The only solution is 3, or rather 4) Fix the bug in kxmlgui, don't expect others to fix it for you ;) But not being able to reproduce it, it's really a problem here. David are you running a modern enough KDE Frameworks? (In reply to Albert Astals Cid from comment #32) > (In reply to David Hurka from comment #31) > > Our options are basically: > > 1) Expand the source shell.rc to include all actions and noMerge. > > 2) Collapse the source shell.rc to include nothing. > > 3) Make this an upstream bug and assign it to KXmlGui. > > > > I prefer option 2. > > Since 1 and 2 are wrong (what about the other users of the okular part?) > > The only solution is 3, or rather 4) Fix the bug in kxmlgui, don't expect > others to fix it for you ;) > > But not being able to reproduce it, it's really a problem here. > > David are you running a modern enough KDE Frameworks? Also, does the "No text" appear immediately when editing the toolbars or needs an okular restart to be seen? -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 395497] Menubar - No text - Editing the shell toolbar from Configure Toolbars sometimes corrupts shell.rc
https://bugs.kde.org/show_bug.cgi?id=395497 --- Comment #34 from nyanpasu64 --- It was a year or two ago since I last encountered this bug, but if I recall correctly, the "No text" appeared as soon as you hit Apply, not after restarting. -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 395497] Menubar - No text - Editing the shell toolbar from Configure Toolbars sometimes corrupts shell.rc
https://bugs.kde.org/show_bug.cgi?id=395497 --- Comment #35 from David Hurka --- (In reply to Albert Astals Cid from comment #32) > (In reply to David Hurka from comment #31) > > Our options are basically: > > 1) Expand the source shell.rc to include all actions and noMerge. > > 2) Collapse the source shell.rc to include nothing. > > 3) Make this an upstream bug and assign it to KXmlGui. > > > > I prefer option 2. > > Since 1 and 2 are wrong (what about the other users of the okular part?) What do you mean with “other users of the okular part”? They shouldn’t be affected by shell.rc, right? So I don’t understand why these options are wrong. > David are you running a modern enough KDE Frameworks? Yes, my KF5 is “modern enough”. :) > Also, does the "No text" appear immediately when editing the toolbars or > needs an okular restart to be seen? Sorry, can’t reproduce... But IIRC it appeared immediately. -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 395497] Menubar - No text - Editing the shell toolbar from Configure Toolbars sometimes corrupts shell.rc
https://bugs.kde.org/show_bug.cgi?id=395497 --- Comment #36 from Albert Astals Cid --- (In reply to David Hurka from comment #35) > (In reply to Albert Astals Cid from comment #32) > > (In reply to David Hurka from comment #31) > > > Our options are basically: > > > 1) Expand the source shell.rc to include all actions and noMerge. > > > 2) Collapse the source shell.rc to include nothing. > > > 3) Make this an upstream bug and assign it to KXmlGui. > > > > > > I prefer option 2. > > > > Since 1 and 2 are wrong (what about the other users of the okular part?) > > What do you mean with “other users of the okular part”? They shouldn’t be > affected by shell.rc, right? So I don’t understand why these options are > wrong. Well, in option 1 you mean keeping the part.rc intact and then copying all the options to shell.rc? That would work for Okular, but would still cause problems in other apps that use the part, no? -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 395497] Menubar - No text - Editing the shell toolbar from Configure Toolbars sometimes corrupts shell.rc
https://bugs.kde.org/show_bug.cgi?id=395497 --- Comment #37 from David Hurka --- > Well, in option 1 you mean keeping the part.rc intact and then copying all > the options to shell.rc? No, I don’t mean to copy actions from part.rc to shell.rc. I think we tracked this bug down to shell.rc, so I don’t want to touch part.rc. When Configure Toolbars correctly modifies shell.rc, it includes all the shell actions in there, and no part actions. My suggestion is to include all shell actions by default in shell.rc. Of course we could look at KXMLGui, why it is confused by DefineGroup tags and clumsily deactivates them with noMerge, like already described by nyanpasu64. Since a Gwenview bug has been marked as duplicate of this Okular bug, we should maybe look at KXMLGui. That could also give us some answers about the annotation toolbar in part.rc. Interestingly, Gwenview does not use any . -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 395497] Menubar - No text - Editing the shell toolbar from Configure Toolbars sometimes corrupts shell.rc
https://bugs.kde.org/show_bug.cgi?id=395497 David Hurka changed: What|Removed |Added CC||nanabaahg...@yahoo.com --- Comment #45 from David Hurka --- *** Bug 429570 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 395497] Menubar - No text - Editing the shell toolbar from Configure Toolbars sometimes corrupts shell.rc
https://bugs.kde.org/show_bug.cgi?id=395497 Patrick Silva changed: What|Removed |Added CC||bugsefor...@gmx.com --- Comment #38 from Patrick Silva --- Created attachment 131358 --> https://bugs.kde.org/attachment.cgi?id=131358&action=edit Gwenview on neon unstable A few days ago I added "Sort by" button to toolbar of Gwenview and yesterday I noticed some "No text" entries in the menu bar. Reseting toolbar settings fixed the bug. Operating System: KDE neon Unstable Edition KDE Plasma Version: 5.19.80 KDE Frameworks Version: 5.74.0 Qt Version: 5.14.2 -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 395497] Menubar - No text - Editing the shell toolbar from Configure Toolbars sometimes corrupts shell.rc
https://bugs.kde.org/show_bug.cgi?id=395497 luna sophia changed: What|Removed |Added CC||l...@unixpoet.dev -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 395497] Menubar - No text - Editing the shell toolbar from Configure Toolbars sometimes corrupts shell.rc
https://bugs.kde.org/show_bug.cgi?id=395497 --- Comment #54 from cipricus --- (In reply to medin from comment #50) > I solved my problem by removing "~/.local/share/kxmlgui5/okular/shell.rc" > file then Okular showed the correct menu entries, but that removed file is > never recreated again. In my case the file was recreated. Okular 23.08.1. -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 395497] Menubar - No text - Editing the shell toolbar from Configure Toolbars sometimes corrupts shell.rc
https://bugs.kde.org/show_bug.cgi?id=395497 --- Comment #55 from cipricus --- (In reply to cipricus from comment #54) > (In reply to medin from comment #50) > > I solved my problem by removing "~/.local/share/kxmlgui5/okular/shell.rc" > > file then Okular showed the correct menu entries, but that removed file is > > never recreated again. > > In my case the file was recreated. Okular 23.08.1. Kubuntu 23.10. The problem is also recurrent. I have removed the whole "~/.local/share/kxmlgui5/okular/" folder yesterday to fix the problem and now the problem and the folder is in place with both files part.rc and shell.rc. I think that what causes this is the configuring of the toolbar (adding buttons). I'll test that leaving it default is a "solution". -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 395497] Menubar - No text - Editing the shell toolbar from Configure Toolbars sometimes corrupts shell.rc
https://bugs.kde.org/show_bug.cgi?id=395497 --- Comment #56 from cipricus --- (In reply to Albert Astals Cid from comment #14) > Can you send your .local/share/kxmlgui5/okular/part.rc file over? > > Do you remember doing any customization to your menus/toolbar/shortcuts? > > Can you confirm that removing your .local/share/kxmlgui5/okular/part.rc file > (save it first somewhere else) fixes this? I can confirm that on at least one occasion removing just part.rc file fixed it, and that on at least another one occasion I had to delete the shell.rc too (or maybe only that should have been removed, something confirmed by people on a reddit afaicr). Re-setting to defaults (Settings-Configure toolbars-Default) fixes it too, because that removes both files. -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 395497] Menubar - No text - Editing the shell toolbar from Configure Toolbars sometimes corrupts shell.rc
https://bugs.kde.org/show_bug.cgi?id=395497 --- Comment #57 from cipricus --- > Editing ~/.local/share/kxmlgui5/okular/shell.rc and removing noMerge="1" > fixes this issue. In that file I have 5 occurrences: `` line 4 ` ` line 20 line 25 line 38 line 53 What should I remove to fix it? Is that a permanent fix, so I don't have to reset my toolbar? -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 395497] Menubar - No text - Editing the shell toolbar from Configure Toolbars sometimes corrupts shell.rc
https://bugs.kde.org/show_bug.cgi?id=395497 Yuri Chornoivan changed: What|Removed |Added CC||psamar...@gmail.com --- Comment #47 from Yuri Chornoivan --- *** Bug 436048 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 395497] Menubar - No text - Editing the shell toolbar from Configure Toolbars sometimes corrupts shell.rc
https://bugs.kde.org/show_bug.cgi?id=395497 --- Comment #48 from nyanpasu64 --- Is it a good idea to add extra debugging/logging/assertion code to released versions of KXmlGui, or KDE Neon's dev builds, to help catch and record information about the bug in the wild when it occurs? -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 395497] Menubar - No text - Editing the shell toolbar from Configure Toolbars sometimes corrupts shell.rc
https://bugs.kde.org/show_bug.cgi?id=395497 Yuri Chornoivan changed: What|Removed |Added CC||kitt...@gmail.com --- Comment #46 from Yuri Chornoivan --- *** Bug 431685 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 395497] Menubar - No text - Editing the shell toolbar from Configure Toolbars sometimes corrupts shell.rc
https://bugs.kde.org/show_bug.cgi?id=395497 lucazade changed: What|Removed |Added CC|luca.for...@gmail.com | -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 395497] Menubar - No text - Editing the shell toolbar from Configure Toolbars sometimes corrupts shell.rc
https://bugs.kde.org/show_bug.cgi?id=395497 cipricus changed: What|Removed |Added CC||cipri...@gmail.com --- Comment #53 from cipricus --- (In reply to medin from comment #50) > I solved my problem by removing "~/.local/share/kxmlgui5/okular/shell.rc" > file then Okular showed the correct menu entries, but that removed file is > never recreated again. Seeing this again in 23.08.1. -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 395497] Menubar - No text - Editing the shell toolbar from Configure Toolbars sometimes corrupts shell.rc
https://bugs.kde.org/show_bug.cgi?id=395497 Bug Janitor Service changed: What|Removed |Added Priority|NOR |VHI -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 395497] Menubar - No text - Editing the shell toolbar from Configure Toolbars sometimes corrupts shell.rc
https://bugs.kde.org/show_bug.cgi?id=395497 hujq changed: What|Removed |Added CC||h...@live.com -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 395497] Menubar - No text - Editing the shell toolbar from Configure Toolbars sometimes corrupts shell.rc
https://bugs.kde.org/show_bug.cgi?id=395497 Yuri Chornoivan changed: What|Removed |Added CC||med.medin.2...@gmail.com --- Comment #49 from Yuri Chornoivan --- *** Bug 440785 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 395497] Menubar - No text - Editing the shell toolbar from Configure Toolbars sometimes corrupts shell.rc
https://bugs.kde.org/show_bug.cgi?id=395497 Nate Graham changed: What|Removed |Added CC||n...@kde.org -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 395497] Menubar - No text - Editing the shell toolbar from Configure Toolbars sometimes corrupts shell.rc
https://bugs.kde.org/show_bug.cgi?id=395497 --- Comment #50 from medin --- I solved my problem by removing "~/.local/share/kxmlgui5/okular/shell.rc" file then Okular showed the correct menu entries, but that removed file is never recreated again. -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 395497] Menubar - No text - Editing the shell toolbar from Configure Toolbars sometimes corrupts shell.rc
https://bugs.kde.org/show_bug.cgi?id=395497 David Hurka changed: What|Removed |Added CC||yzsha...@126.com --- Comment #51 from David Hurka --- *** Bug 442777 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 395497] Menubar - No text - Editing the shell toolbar from Configure Toolbars sometimes corrupts shell.rc
https://bugs.kde.org/show_bug.cgi?id=395497 David Hurka changed: What|Removed |Added See Also||https://bugs.kde.org/show_b ||ug.cgi?id=387673 -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 395497] Menubar - No text - Editing the shell toolbar from Configure Toolbars sometimes corrupts shell.rc
https://bugs.kde.org/show_bug.cgi?id=395497 --- Comment #52 from nyanpasu64 --- Is it justified to enable verbose logging in kxmlgui's editing functionality in production, and ask users who hit this bug to upload their log files? A few days ago I took a stab at debugging what happened, but I don't fully understand the code, and since I can't reproduce the bug on demand, I don't know what state and control flow caused the base settings to not be merged into the customizations when computing and/or writing out new customizations. -- You are receiving this mail because: You are watching all bug changes.
[okular] [Bug 395497] Menubar - No text - Editing the shell toolbar from Configure Toolbars sometimes corrupts shell.rc
https://bugs.kde.org/show_bug.cgi?id=395497 Wing Hong Chan changed: What|Removed |Added CC||winghongc...@vivaldi.net -- You are receiving this mail because: You are watching all bug changes.