Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sphh opened this issue Jan 10, 2021 · 1 comment

Comments

@sphh
Copy link
Contributor

sphh commented Jan 10, 2021

 * 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
Copy link

d-sko commented Oct 20, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants