Bug 441494

Summary: konsole --show-menubar doesn't show a menu bar
Product: [Applications] konsole Reporter: David Levner <davidlevner>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: REPORTED ---    
Severity: normal CC: a.samirh78
Priority: NOR    
Version: 21.08.0   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Screenshot of konsole window after deleting files
Konsole thinks there is a menu, but there isn't

Description David Levner 2021-08-24 18:49:09 UTC
SUMMARY


STEPS TO REPRODUCE
1. Run Konsole and hide menus.
2. Close Konsole.
3. Run 'konsole --show-menubar'

OBSERVED RESULT

Konsole appears without a menu bar.

EXPECTED RESULT

Konsole appears with a menu bar.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: This is the system I am running under (Fedora 34/KDE spin)
(available in About System). konsole --version outputs 'konsole 21.08.0'.
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION

Can't get Konsole menus back no how. See https://forum.kde.org/viewtopic.php?f=227&t=172409&sid=488298f15ac5f1f992028a33abd9fa9b for all my failed attempts. A workaround (any way to get the menu bar back) would be appreciated. Thank you.
Comment 1 Ahmad Samir 2021-08-24 18:59:54 UTC
Looks like a broken config file issue, close all konsole instances, then delete ~/.local/share/kxmlgui5/konsole, and try again.
Comment 2 David Levner 2021-08-24 20:50:06 UTC
Created attachment 141018 [details]
Screenshot of konsole window after deleting files

Screenshot of 'konsole --show-menubar' after deleting the kxmlgui5/konsole directory.
Comment 3 David Levner 2021-08-26 14:44:55 UTC
Created attachment 141067 [details]
Konsole thinks there is a menu, but there isn't

By reading Konsole source code, I discovered that I could bring up menus with Ctrl+Shift+F10. However, when I went to the Settings menu, the "Show Menubar" entry was missing. When I selected "Configure Konsole" from the menu, it shows that the menu bar is turned on. But you can clearly see in the Konsole window that there is no menu bar.