psifidotos / applet-window-buttons

Plasma 5 applet in order to show window buttons in your panels
GNU General Public License v2.0
404 stars 55 forks source link

Buttons are shown even if they shouldn't #139

Closed Megver83 closed 3 years ago

Megver83 commented 3 years ago

I've configured the applet to show only with maximized windows and disable borders when maximizing. However, after rebooting, the buttons and window borders are always shown, even though the configuration dialog shows my (opposite) set up. The work around I've used for now is to disable and then re-enable the "Disable borders for maximized windows" and configure the "Always show button" in the "Show" section, then "Active window is maximized" back again.

I'm using the Arch Linux build, fyi

psifidotos commented 3 years ago

I think you are using Plasma panels, there is a chance that I will drop totally the "Disable borders for maximized windows" option when the applet is used in plasma panels. You should be able to enable/disable it through kwin configurations/commands.

Megver83 commented 3 years ago

Yep, in fact I found the answer here. There's a kwin script for this, too, but it has some bugs so I preferred writing to the kwinrc file.

$ kwriteconfig5 --file ~/.config/kwinrc --group Windows --key BorderlessMaximizedWindows true
$ qdbus org.kde.KWin /KWin reconfigure