Bug 210620

Summary: No "Control" toolbar button-menu or other obvious way of re-enabling the menubar once hidden
Product: [Applications] gwenview Reporter: Guido Winkelmann <guido-kdebugs>
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: benni, BryanFRitt, chauhan.anirudh07, nate, olivier, sergio
Priority: NOR Keywords: usability
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In: 21.08
Sentry Crash Report:

Description Guido Winkelmann 2009-10-15 02:52:41 UTC
Version:            (using KDE 4.3.2)
Compiler:          gcc 4.3.2 
OS:                Linux
Installed from:    Gentoo Packages

Once the menubar has been disabled in gwenview, there is no obvious way for the user to enable it again, short of directly editing gwenviewrc.

There is a keyboard shortcut for reenabling the menubar (Ctrl-M), but as long as the menubar is disabled, the user has no simple way of finding this out.
Comment 1 Anirudh 2012-01-05 13:40:24 UTC
Same as Bug 150192 and Bug 148750.
Comment 2 Jekyll Wu 2012-01-05 13:49:07 UTC
According to HIG [1], it is not recommended to make menubar hideable .

[1] - http://techbase.kde.org/Projects/Usability/HIG/Menu_Bar
Comment 3 Nate Graham 2017-09-09 03:49:34 UTC
*** Bug 343998 has been marked as a duplicate of this bug. ***
Comment 4 Nate Graham 2017-09-09 03:49:37 UTC
*** Bug 336120 has been marked as a duplicate of this bug. ***
Comment 5 Nate Graham 2017-11-08 20:49:29 UTC
Dolphin puts a "Control" button-menu in the toolbar when the menubar is hidden, which includes an item to show the menubar again. Gwenview should probably do the same. In fact, probably we should have a standard KDE-wide method of doing this.
Comment 6 Nate Graham 2018-09-26 22:50:55 UTC
Git commit b0220c132e0381e41a2daf7796fa72cf2182e0bb by Nathaniel Graham, on behalf of Luca Sartorelli.
Committed on 26/09/2018 at 22:50.
Pushed by ngraham into branch 'master'.

Remainder dialog for re-enabling the menubar once hidden

Summary: BUG: 210620

Reviewers: #vdg, ngraham, #gwenview

Reviewed By: #vdg, ngraham, #gwenview

Subscribers: muhlenpfordt

Tags: #gwenview

Differential Revision: https://phabricator.kde.org/D15747

M  +6    -0    app/mainwindow.cpp

https://commits.kde.org/gwenview/b0220c132e0381e41a2daf7796fa72cf2182e0bb
Comment 7 BryanFRitt 2021-05-31 18:54:24 UTC
Started to post a new bug, but later found this one. So posting here as a me too, rather than a new bug.

SUMMARY
There's no way to get the menu bar back once gone.

STEPS TO REPRODUCE
I think it went like this
right click somewhere > hide menu 
tried right clicking in several spots, tried `ctrl+m`, etc... nothing got the menu back. :(

OBSERVED RESULT
Menu bar gone, no way to get back. I've even tried `Ctrl+m`, another website suggested(even if this were to work it should be more obvious than this).
Tried
mv ~/.kde/share/apps/gwenview/gwenviewui.rc ~/.kde/share/apps/gwenview/~gwenviewui.rc~
But the menu is still missing... :(

EXPECTED RESULT
There be an obvious way to get the menu bar back. (Next best thing: It would be better NOT to have a way to hide the menu bar, than to be able to be able to hide it with no way of getting it back)

p.s. Now, How to get the menu back?

SOFTWARE/OS VERSIONS
Debian 10.x stable

Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
Found in kate...
KDE Frameworks Version: "5.54.0"
Qt Version: "5.11.3 (built against 5.11.3)"

gwenview --version
gwenview 18.04.0
Comment 8 Sérgio Basto 2021-05-31 19:16:40 UTC
Ctrl+M works for me with with 20.08.1
Comment 9 BryanFRitt 2021-05-31 20:14:37 UTC
Ok editing the first file didn't work for me, but editing ~/.config/gwenviewrc got the menu back!

Exit all gwenview windows. Edit ~/.config/gwenviewrc by changing 'MenuBar' to 'Enabled', aka 'MenuBar=Enabled'. Save and close file. Then restart gwenview, and the menu will be back.

(`ctrl+m` still doesn't work for me)
Comment 10 Nate Graham 2021-06-01 13:50:30 UTC
This has been fixed in a better way with the adoption of KHamburgerMenu in Gwenview 21.08. Now, when the menubar is hidden, a hamburger menu will appear on the right side of the toolbar which peovides all the functionality of the full menu bar, but re-arranged for greater user-friendlines-- Just like Dolphin does it. An action to show the menu bar again is present in Hamburger Menu > For X more actions > Show Menubar.