linuxmint / cinnamon-spices-extensions

Extensions for the Cinnamon desktop
http://cinnamon-spices.linuxmint.com
GNU General Public License v2.0
116 stars 102 forks source link

gTile@shuairan: Windows using CSD/GTK HeaderBar are positioned with an offset #299

Open sphh opened 3 years ago

sphh commented 3 years ago
 * Extension version/Build date: Version 1.0.0 (2020-10-12 13:35:19)
 * Cinnamon version: Cinnamon 4.8.5
 * Distribution: Mint 20.1

Notify author of extension @veryangryman ? @jaszhix ?

Issue If the window to be positioned used the CSD/GTK HeaderBar, it is offset to the right and bottom. Here are some screenshots with Gnome Terminal and Tilix (but exactly the same behaviour can be seen with other programs using CSD/GTK HeaderBar). All terminal windows are moved to the top right corner with the help of gTile:

Gnome Terminal Screenshot from 2021-01-10 13-58-54

Tilix with CSD enabled (under the Tilix Window, the previously positioned Gnome Terminal can be spotted) Screenshot from 2021-01-10 14-00-27

Tilix with CSD disabled (it fully covers the Gnome Terminal) Screenshot from 2021-01-10 13-59-31

Steps to reproduce

  1. Start Gnome Terminal and move it to a fixed position with the help of gTile.
  2. Start Tilix and move it to the same position with the help of gTile.
  3. Change the preferences of Tilix to not use CSD, restart Tilix and move it to the same position with the help of gTile.

You could also use another program using CSD/GTK HeaderBar.

Expected behaviour All three terminal windows should end at exactly the same position.

Other information This might easily be a bug in the realm of CSD/GTK HeaderBar …

d-sko commented 3 years ago

Similar bug with Chrome, but it is shifted a little to low and to far right: image