Bug 155185

Summary: Proposal for extra titlebar button to toggle hide/show toolbar and menubar
Product: [Frameworks and Libraries] kdelibs Reporter: Fred van Zwieten <kde-bugs>
Component: kdeuiAssignee: kdelibs bugs <kdelibs-bugs>
Status: RESOLVED INTENTIONAL    
Severity: wishlist CC: finex
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Fred van Zwieten 2008-01-06 13:48:41 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
OS:                Linux

I've seen this functionality in OSX and I like it a lot. It would be a great way to save screen real estate. I would like to propose an extra titlebar button. If one clicks on it using the RMB it would toggle between hide/show of the toolbar. If one clicks on it using the LMB it would toggle between hide/show of the menubar. We should supplement this with 2 extra menu entries in the contextmenu of the titlebar. Problem is there can be more than one toolbar so, which one to hide? All? I would say, is there are more than one, only the main toolbar (top). We could add a little animation to the hiding and showing to spice it up a bit.
Comment 1 Andreas Pakulat 2009-08-09 11:16:02 UTC
This is simply not possible, except with MacOSX maybe. The reason is simply that the window-manager - who is responsible for the titlebar and its buttons - has no idea about what is drawn inside the window and in particular doesn't know anything about toolbars or menubars. X11 doesn't provide any API to do this. Hence this is actually a "can't fix", until X11 gains a way to do this (anything else would only work some apps, which is insufficient)