Zren / material-decoration

Material-ish window decoration theme for KWin, with LIM, based on zzag's original design.
GNU General Public License v2.0
197 stars 17 forks source link

Feature request: If not enough space, show normal menu bar #40

Open paulmcauley opened 3 years ago

paulmcauley commented 3 years ago

I do not like the tiny one-button application menu button that appears when there is not enough space - it hides information and is too small. Therefore, could you add an option that for when there is not enough space, to just show the normal full menu bar below the title bar?

I described in more detail how I would like this implemented at: https://bugs.kde.org/show_bug.cgi?id=375951#c46

Zren commented 3 years ago

The benefits are:


Applications usually need to be restarted after adding/removing the ApplicationMenu button in the System Settings.

A number of apps (like Dolphin) require right clicking > Show menubar Ctrl+M as well, after removing the ApplicationMenu button.

This isn't really feasible, sorry.

paulmcauley commented 3 years ago

Do you think it would work if you sent DBUS messages from kdecoration to kstyle telling it when to show or hide the menu? In Breeze I think there is something like this already happening for the shadows, though I don't understand fully yet what those shadow DBUS messages are doing. I might try in my ClassikStyles decoration at some point in the future since I have forked off both kdecoration and kstyle. I would probably implement it independently of the ApplicationMenu button setting.