Bug 401353 - window decoration menu button: Option to have mouse hover replace the button with the actual menu bar itself, right there in the titlebar
Summary: window decoration menu button: Option to have mouse hover replace the button ...
Status: CONFIRMED
Alias: None
Product: Breeze
Classification: Plasma
Component: window decoration (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-23 21:40 UTC by leftcrane
Modified: 2018-11-29 00:11 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description leftcrane 2018-11-23 21:40:01 UTC
Another suggestion to improve accessibility. It would make the app menu better approximate real menubars (where you don't have to click to reveal the top-level items).

Wouldn be very useful in conjunction with a bigger menu-button.
Comment 1 Nate Graham 2018-11-26 22:18:51 UTC
Yeah, a lot of people would like this, I think. Ubuntu's Unity did this and it was very popular. We get a lot of requests to enable the same thing in Plasma.

I think this would require support from KWin though.
Comment 2 Martin Flöser 2018-11-27 05:05:27 UTC
It would need to be implemented in kdecoration and the decoration plugins. The wish is certainly wrong in KWin product.
Comment 3 Nate Graham 2018-11-27 05:27:42 UTC
So no KWin at all work would be required here?
Comment 4 Martin Flöser 2018-11-27 17:48:33 UTC
The ground work certainly not in KWin. It might be that we need to hook up the menu through KWin.
Comment 5 Nate Graham 2018-11-27 17:49:58 UTC
OK, moving back to Breeze for now then. Thanks!
Comment 6 leftcrane 2018-11-28 15:56:32 UTC
I worded this feature request badly. please read this clarification.

I was thinking of doing more of a popup so that no modifications to the server-side decorations would be required. If one were to modify server-side decorations, then it makes sense to do a more general solution where actual headerbar (DWD-style, but just relying on global menu for now) can be constructed from the menu items and even custom commands. It would also include search. In principle such a headerbar could be customized by the user, but developers and packagers could ship the headerbar layouts via config files. 

See the (rough) idea here: https://medium.com/@leftcrane/unity-headers-concept-using-server-side-hearderbars-to-create-a-consistent-customizable-and-fbdb0d9696c

(NOTE: the HUD popup whould should probably start at the titlebar for visual and space reasons, not be displayed in the center).
==========

TL;DR: Anyway the idea is this:

Introduce the functionality first as a Alt/hover activated popup. The popup window just happens to __cover__ the titlebar. It's an overlay of sorts. At the most basic level, the popup just contains a menubar widget. That's it. 

But it can later be upgraded to a customizable HUD that not only contains flexible and easily clickable menus, but also a menu-search, buttons, single-key accelerators, the tracking of most heavily used menu items and even custom user macros (think Emacs-Helm).

After most of this functionality is there, maybe some of the functionality of this popup could be integrated into the actual KWin titlebars (headerbar style), at which point.

========

I don't know though, maybe it makes sense to start with kdecoration with HUD delivered later. The ultimate goal is DWD-lite plus HUD without first needing to finalize the DWD protocol or wait until app and DE developers start implementing it. It could actually serve to popularize the DWD idea and jumpstart work on true DWD.

I've been thinking a lot about this as you can tell, since the fragmentation caused by CSD and the demise of Unity HUD has been driving me crazy, and I am just sharing some ideas on how to begin to reverse some of the damage.
Comment 7 Nate Graham 2018-11-28 20:58:33 UTC
An interesting set of ideas!
Comment 8 leftcrane 2018-11-29 00:11:56 UTC
also, just a note, with HUD the menubar could be converted to a full height sidebar to deliver touch functionality. On a bunch of apps you can easily hide the entire UI and pull it up only when you actually need it.

The possibilities are basically limitless.