FedoraQt / QGnomePlatform

QPlatformTheme for a better Qt application inclusion in GNOME
GNU Lesser General Public License v2.1
263 stars 38 forks source link

Fix tiling border gap, don't account border in margins #142

Closed bertini97 closed 1 year ago

bertini97 commented 1 year ago

When tiled left or right with another window, Qt windows that use this plugin will leave a small transparent gap at the center (immediately noticeable if you have a third window behind). This is due the background being transpared, and the margins accounting for it.

Gtk applications seem to not take border into account when calculating margins, as when they are tiled, the border "overflows": tile two gtk windows and switch focus. It will be immediately noticeable.

This is aimed to fix the transparent gap and make apps behave more like gtk. I have not been able to test top and bottom tiling, as they are not present in gnome default.

grulja commented 1 year ago

Same as in https://github.com/FedoraQt/QGnomePlatform/pull/143#issuecomment-1674621785.

grulja commented 1 year ago

QGnomePlatform is now unmaintained and not actively developed. For decoration improvements please submit your change to https://github.com/FedoraQt/QAdwaitaDecoration instead.