SUMMARY STEPS TO REPRODUCE 1. Run KCalc 2. 3. OBSERVED RESULT KCalc opens in Simple mode with no way to change to Science or other modes. EXPECTED RESULT KCalc should have a menu bar: File, Edit, Constants, Settings, Help. Failing that, the menu invoked via "Ctrl+Shift+," should enable mode changing. SOFTWARE/OS VERSIONS Linux/KDE Plasma: EndeavourOS KDE Plasma Version: 6.2.0 KDE Frameworks Version: 6.6.0 Qt Version: 6.7.3 ADDITIONAL INFORMATION Following the advice of an old reddit thread*, I went into Background Services and disabled Application menus daemon. I logged out and back in and the menu appeared. If I re-enable the daemon and re-log, the menu vanishes again. I have no idea what this daemon does or what other effects disabling it will have, if any. But the Background Services menu says to submit a bug if I'm disabling something to work around an issue, so... * https://www.reddit.com/r/kde/comments/k7s46w/kcalc_question/
The daemon exports apps' menus to a Global Menu widget. Presumably you must have had one such widget at some point in the past, or still do invisibly, due to some bug. What does `grep global ~/.config/plasma-org.kde.plasma.desktop-appletsrc` say?
๐๐งน โ ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME. For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging. Thank you for helping us make KDE software even better for everyone!
(In reply to Nate Graham from comment #1) > The daemon exports apps' menus to a Global Menu widget. Presumably you must > have had one such widget at some point in the past, or still do invisibly, > due to some bug. > > What does `grep global ~/.config/plasma-org.kde.plasma.desktop-appletsrc` > say? global=Alt+F1
moving to the Global Menu widget
So as written, this behavior is intentional because the Global Menu daemon provides global menu exporting functionality. And when that functionality is present, in-window menu bars disappear, intentionally. However the daemon is only supposed to be running when there is a Global Menu widget present somewhere. Are you saying that you don't have any?
(In reply to Nate Graham from comment #5) > So as written, this behavior is intentional because the Global Menu daemon > provides global menu exporting functionality. And when that functionality is > present, in-window menu bars disappear, intentionally. > > However the daemon is only supposed to be running when there is a Global > Menu widget present somewhere. Are you saying that you don't have any? Had to do a web search to find out what a Global Menu widget is. Seems like it could be handy, but no I've never had any AFAIK.
Thanks. Ok, so with Plasma 6.3.3 or later, does the issue still happen if you re-enable the Application Menus daemon? If not, let's close this as fixed. If it does still happen, can you paste the output of `qdbus-qt6 org.kde.kded6 /kded org.kde.kded6.loadedModules | grep appmenu` run in a terminal window? (if it says "command not found", you may need to replace "qdbus-qt6" with "qdbus") And then can you also paste the output of `grep appmenu ~/.config/plasma-org.kde.plasma.desktop-appletsrc` ? Thanks again!
(In reply to Nate Graham from comment #7) > Thanks. > > Ok, so with Plasma 6.3.3 or later, does the issue still happen if you > re-enable the Application Menus daemon? > > If not, let's close this as fixed. If it does still happen, can you paste > the output of `qdbus-qt6 org.kde.kded6 /kded org.kde.kded6.loadedModules | > grep appmenu` run in a terminal window? (if it says "command not found", you > may need to replace "qdbus-qt6" with "qdbus") > > And then can you also paste the output of `grep appmenu > ~/.config/plasma-org.kde.plasma.desktop-appletsrc` ? > > Thanks again! Re-enabling the service was more difficult - Background Services are hidden from System Settings now! I got to them via `kcmshell6 kcm_kded` and turned the service back on. Verified kcalc was in simple mode and restarted. Kcalc now has its menu. So, looks like this is fixed!
Terrific! Thanks for checking.