Bug 452320

Summary: Removing the application menu bar panel doesn't restore menus on apps
Product: [Frameworks and Libraries] frameworks-kxmlgui Reporter: Iyán Méndez Veiga <me>
Component: generalAssignee: kdelibs bugs <kdelibs-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: kde, kde, mvourlakos, nate
Priority: NOR    
Version: 5.92.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: qdbut output
plasma-org.kde.plasma.desktop-appletsrc
qdbus output

Description Iyán Méndez Veiga 2022-04-06 09:55:06 UTC
SUMMARY
I created a new application menu bar panel (by mistake), and menus from apps disappeared. When I deleted the panel, menus were not restored, shortcut Ctrl + M doesn't work and after a while I couldn't find how to restore these menus.

I think menus should be reverted if the panel is removed. But also, an option should be easy to find in the system settings. Also, why does the usual shortcut not work.


STEPS TO REPRODUCE
1. Create application menu bar panel
2. Delete it

OBSERVED RESULT
Apps without menus. Very noticeable in Konsole or Kate, for example.

EXPECTED RESULT
Everything should be same as before creating the panel.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3
Kernel Version: 5.17.1-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 8 × 11th Gen Intel® Core™ i5-1135G7 @ 2.40GHz
Memory: 15.4 GiB of RAM
Graphics Processor: Mesa Intel® Xe Graphics
Comment 1 David Edmundson 2022-04-06 10:39:45 UTC
Please include output of 
"qdbus" (on it's own)

~/.config/plasma-org.kde.plasma.desktop-appletsrc
Comment 2 Iyán Méndez Veiga 2022-04-06 10:50:13 UTC
Created attachment 147996 [details]
qdbut output
Comment 3 Iyán Méndez Veiga 2022-04-06 10:51:00 UTC
Created attachment 147997 [details]
plasma-org.kde.plasma.desktop-appletsrc
Comment 4 Iyán Méndez Veiga 2022-04-06 10:51:33 UTC
Created attachment 147998 [details]
qdbus output
Comment 5 Nate Graham 2022-04-06 18:31:15 UTC
Can reproduce. It's the same thing if you remove a titlebar menu button.

Seems like an issue in KXMLGui not noticing and re-enabling menus. It does notice that the menu should be hidden, but it doesn't notice that it should back.
Comment 6 Nate Graham 2022-04-06 18:31:52 UTC

*** This bug has been marked as a duplicate of bug 439266 ***