paulmcauley / klassy

Klassy is a highly customizable binary Window Decoration, Application Style and Global Theme plugin for recent versions of the KDE Plasma desktop.
843 stars 24 forks source link

Ability to drag top edge of window becomes dysfunctional in some situations #109

Open daver1691 opened 9 months ago

daver1691 commented 9 months ago

Everything works great for me except for a problem with resizing window edges that are touching screen edges, which is a feature enabled by selecting "Draw border on maximized and tiled windows". This problems only happens at the top edge above the titlebar, but the sides and bottom work as expected.

With Klassy on default settings except for "Draw border on maximized and tiled windows" selected, if a non-maximized window touches the top edge, then the ability to drag that top edge becomes disabled.

If a window is only vertically-maximised by middle-clicking the maximise-button, the ability to drag that top edge becomes disabled.

A fully maximized window does work as expected with it being possible to drag the top edge.

If, however, the titlebar top and bottom margins are reduced from 1.7 down to 0.4, which reduces the titlebar height, then the fully maximized window also loses the ability to drag the top edge.

I find that this issue is not 100% repeatable, with the drag occasionally becoming enabled in the above circumstances, but only occasionally. So it's likely that this will vary from one installation to another.

klassy-issues

(I'd previously been using the Breeze window decorations for a few years and it seems that I frequently had reason to drag the window's top edge, because I now find that I keep bumping up against this dysfunction. But Breeze always had a space-wasting thick titlebar unless you selected tiny tiny window decoration buttons which was far more annoying.)

I'm using Kubuntu 23.10 64-bit with Klassy built from source. By the way, an extra dependency needs to be added to the Ubuntu build instructions: libqt5svg5-dev

O/S: Kubuntu 23.10 64bit
Plasma: 5.27.8
Frameworks: 5.110.0
Qt: 5.15.10
Kernel 6.5.0-17-generic
X.Org: 1.21.1.7
CPU: Intel Core i5-3470T @ 2.90GHz
GPU: Intel HD Graphics 2500 (on CPU)
paulmcauley commented 8 months ago

I haven't really touched the "Draw border on maximized and tiled windows" feature since I forked from Breeze years ago (surprised anyone uses it). It was buggy in Breeze too and I was actually thinking of removing it, but I will look when I get time...