Bug 438379

Summary: [Feature Request] Support for custom titlebar buttons and where they are placed
Product: [Plasma] Breeze Reporter: Toadfield <toadfield>
Component: gtk themeAssignee: Janet Blackquill <uhhadd>
Status: RESOLVED NOT A BUG    
Severity: wishlist CC: nate, plasma-bugs-null
Priority: NOR    
Version First Reported In: 5.22.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Toadfield 2021-06-10 01:50:38 UTC
I mean custom buttons like those: https://i.nuuls.com/WUiXU.png
They work with the qt window borders,but not with any application that uses gtk borders.
I need those buttons,they are so useful.
Another problem is that when I set that the titlebar buttons are at the left instead of the right,then that doesn't work for some gtk programs.
Comment 1 Nate Graham 2021-06-10 16:52:50 UTC
These buttons are created by KWin and put in the titlebar. They will be there as long as KWin draws a titlebar. However many GTK applications explicitly tell KWin, "I don't want you to draw a titlebar". KWin complies and so there is no option for these buttons. If you want those KWin-provided buttons for all your apps, you have a few options:

1. Don't use apps that implement client-side decorations instead of asking the window manager for a traditional titlebar
2. Force CSD-using apps to draw a second ugly redundant titlebar using KWin window rules
3. Rage futilely at the GNOME people for pushing this CSD headerbar UI on the Linux world

That's the state of things, sorry.