Bug 365409

Summary: Toolbar + menubar disappeared.
Product: [Applications] digikam Reporter: Bizy <koen.bizy>
Component: Usability-ToolbarsAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: aegoreev, bert.vanvreckem, caulier.gilles, koen.bizy, sommerluk
Priority: NOR    
Version: 5.0.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In: 5.1.0
Sentry Crash Report:

Description Bizy 2016-07-11 19:45:49 UTC
Toolbar and menubar disappeared, no way to call it back.  
(Ctrl + M doesn't work - only affects lowest bar (with magnifying options and so on...)
(Via Lighttable, options are still accessable, but don't see a way to call those bars back...)

Reproducible: Always

Steps to Reproduce:
1. Just 'happened' (menubar)
2. Uncheck 'Show toolbar' by right clicking on bar - no way to call it back...
3.

Actual Results:  
Toolbar + Menubar unvisible

Expected Results:  
Making it visible again (by rightclicking, or using ctrl + M- command, or option in settings, or...)

(32- and) 64-version (5.0.2) on Windows 7
Comment 1 caulier.gilles 2016-07-12 04:07:15 UTC
This happen when you  go to fullscreen mode and you back to normal mode...
Gilles Caulier
Comment 2 Bizy 2016-07-12 07:19:03 UTC
So... How do I get back to normal mode wíth menus?
Comment 3 caulier.gilles 2016-07-12 07:48:15 UTC
Contextual menu must have right action to go out full screen mode

Gilles Caulier
Comment 4 Bizy 2016-07-12 09:27:11 UTC
Yes, that does't seem to work...
Comment 5 Bizy 2016-07-12 22:25:57 UTC
(In reply to Bizy from comment #4)
> Yes, that does't seem to work...

Guess I don't express myself well.  Yes, I can go back to normal mode.  But then the menubar and the toolbar are unvisible.  And I don't see a way to make them visible.  No context menu, no shortcut.  (Ctrl+M only affects the lower screen bar (showing title, 'no active process', 'no active filter', magnification tools...)
Comment 6 Andrius 2016-07-13 19:06:36 UTC
I just exactly the same issue. I have been playing with full screen mode and the main toolbar as well as the toolbar disappeared. I can see them in Light Table mode (Crtl + L) but if I go back to the main menu they are not there. Ctrl +M shows/hides the thumbbar only. Is there a way to open a config file and get them back? Digikam 5.0.0 Windows 32 bit
Comment 7 Bizy 2016-07-13 19:54:28 UTC
More specifically:
- When toggling Fullscreenmode via Toolbar:  no problem;  only when going to Fullscreenmode via contextmenu in Previewmode
- There's a contextmenu for hiding the Main Menubar but no way to make it show up again
- Ctrl+M only toggles the Menubar (at the bottom of the program window), not the Main Toolbar

I get the Main Menubar back in this way:  changing "MenuBar=Disabled" to "MenuBar=Enabled" in 'digikamrc'-file in Appdata/Local
(but I have to change that again and again...)
Comment 8 Andrius 2016-07-13 20:04:08 UTC
(In reply to Bizy from comment #7)
> More specifically:
> - When toggling Fullscreenmode via Toolbar:  no problem;  only when going to
> Fullscreenmode via contextmenu in Previewmode
> - There's a contextmenu for hiding the Main Menubar but no way to make it
> show up again
> - Ctrl+M only toggles the Menubar (at the bottom of the program window), not
> the Main Toolbar
> 
> I get the Main Menubar back in this way:  changing "MenuBar=Disabled" to
> "MenuBar=Enabled" in 'digikamrc'-file in Appdata/Local
> (but I have to change that again and again...)

I got the menubar back using your way but the toolbar is still missing. Toolbar got lost after I locked/unlocked it couple times.
Comment 9 Andrius 2016-07-13 20:05:14 UTC
(In reply to wildcowboy from comment #8)
> (In reply to Bizy from comment #7)
> > More specifically:
> > - When toggling Fullscreenmode via Toolbar:  no problem;  only when going to
> > Fullscreenmode via contextmenu in Previewmode
> > - There's a contextmenu for hiding the Main Menubar but no way to make it
> > show up again
> > - Ctrl+M only toggles the Menubar (at the bottom of the program window), not
> > the Main Toolbar
> > 
> > I get the Main Menubar back in this way:  changing "MenuBar=Disabled" to
> > "MenuBar=Enabled" in 'digikamrc'-file in Appdata/Local
> > (but I have to change that again and again...)
> 
> I got the menubar back using your way but the toolbar is still missing.
> Toolbar got lost after I locked/unlocked it couple times.

Update: I got the toolbar back just using the menubar (Settings - Show Toolbar). It is all good now!
Comment 10 caulier.gilles 2016-07-18 11:25:10 UTC
*** Bug 365809 has been marked as a duplicate of this bug. ***
Comment 11 Maik Qualmann 2016-07-19 19:54:33 UTC
Git commit d19cebc1d33a90722ce11ff9ef2f49c3739225d6 by Maik Qualmann.
Committed on 19/07/2016 at 19:52.
Pushed by mqualmann into branch 'master'.

first step to fix menu bar under Windows or MacOS
Related: bug 364883

M  +4    -4    libs/widgets/mainview/dxmlguiwindow.cpp

http://commits.kde.org/digikam/d19cebc1d33a90722ce11ff9ef2f49c3739225d6
Comment 12 caulier.gilles 2016-07-21 12:24:44 UTC
*** Bug 365942 has been marked as a duplicate of this bug. ***
Comment 13 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 365929
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
Comment 14 Maik Qualmann 2016-07-21 20:47:07 UTC
Git commit 6d3971cd3591c95ba7a3e8d6772169d12c512c29 by Maik Qualmann.
Committed on 21/07/2016 at 20:46.
Pushed by mqualmann into branch 'master'.

fix visibility of menu bar and status bar after fullscreen

M  +8    -0    libs/widgets/mainview/dxmlguiwindow.cpp

http://commits.kde.org/digikam/6d3971cd3591c95ba7a3e8d6772169d12c512c29