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

Windows Drift Incrementally When Setting Placement with disable-workarounds Set to true #760

Open
marcxjo opened this issue Aug 15, 2023 · 0 comments

Comments

@marcxjo
Copy link

marcxjo commented Aug 15, 2023

Expected behaviour

Using an external tool like xdotool to position a window managed with Marco under X11, should be deterministic and position windows exactly as specified.

Actual behaviour

Instead of being placed as specified, windows drift up 10px and to the left 10px when using xdotool, regardless of the specified position.

Steps to reproduce the behaviour

While running Marco as wm:

  • Set disable-workarounds to true
  • Select a framed terminal window (tested with mate-terminal, xfce4-terminal, and https://github.com/endaaman/tym)
  • Enter the following command:
$ xdotool getactivewindow windowmove 100 100
  • Notice that, instead of moving to position (100px,100px), the window simply moves 10px left and 10px upwards

Note that I have tested this behavior with several non-terminal applications, including caja and Firefox, both of which exhibit the drifting behavior. The terminal was chosen to enable using the getactivewindow keyword in xdotool.

Using the above procedure, dconf-editor does not move at all when attempting to reposition. JetBrains CLion can be positioned as expected using xdotool and appears not to be impacted by this issue.

MATE general version

1.26

Package version

$ marco --version
marco 1.26.2

Linux Distribution

Arch Linux, all packages up to date as of 20230814

Link to bugreport of your Distribution (requirement)

None at this time - believed to be upstream

@marcxjo marcxjo changed the title Windows Drift Incrementally When Setting Placement with disable-workarounds Set to true Windows Drift Incrementally When Setting Placement with disable-workarounds Set to true Aug 15, 2023
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

1 participant