Bug 365929

Summary: Ctrl+M doesn't show/hide menu bar, only status bar
Product: [Applications] digikam Reporter: bert.vanvreckem
Component: Usability-MenusAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 5.0.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In: 5.1.0

Description bert.vanvreckem 2016-07-21 09:32:34 UTC
The keyboard shortcut "Ctrl+M" and menu item "Settings > Show menu bar" only toggle visibility of the status bar, but not of the menu bar. When the menu bar is hidden, the only way to get it back seems to be editing digikamrc, setting the option "MenuBar=Enabled" and restart Digikam.

Reproducible: Always

Steps to Reproduce:
1. Start Digikam
2. Press Ctrm+M or select menu item Settings > Show menu bar

Actual Results:  
Only the status bar is hidden/shown

Expected Results:  
The menu bar should also be hidden/shown
Comment 1 Maik Qualmann 2016-07-21 20:04:17 UTC
Git commit b7099526b8240c232e4903562c9f0f8b08419e21 by Maik Qualmann.
Committed on 21/07/2016 at 19:56.
Pushed by mqualmann into branch 'master'.

workaround for the strange behavior or bug of KXmlGuiWindow under Windows
- options_show_menubar triggerd the action options_show_statusbar
- options_show_statusbar not visible in the Gui
Related: bug 365409
FIXED-IN: 5.1.0

M  +3    -1    NEWS
M  +4    -5    app/main/digikamapp.cpp
M  +36   -20   libs/widgets/mainview/dxmlguiwindow.cpp
M  +3    -1    libs/widgets/mainview/dxmlguiwindow.h
M  +4    -7    utilities/imageeditor/editor/editorwindow.cpp
M  +6    -10   utilities/importui/main/importui.cpp
M  +7    -10   utilities/lighttable/lighttablewindow.cpp
M  +5    -9    utilities/queuemanager/main/queuemgrwindow.cpp

http://commits.kde.org/digikam/b7099526b8240c232e4903562c9f0f8b08419e21