-
Notifications
You must be signed in to change notification settings - Fork 177
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
Window move of gnome nautilus using mouse drag on title causes jump of window #2507
Comments
Reduced configuration; updating description. |
I can reproduce this with |
I have gnome-calculator (gtk4) working without jumping positions on titlebar grab-drag with the following configuration:
With [grid] type = anything-other-than-wobbly, the bug happens. The bug also happens if either wobbly or grid are disabled in the config. The problem reportedly does not happen with mod+drag to initiate move. This can be reproduced in a nested wayland backend session. |
Preliminary patch to fix this issue. It seems that in the gtk4 case, a request_fullscreen request is sent by the client and wayfire tries to set a geometry, even if the state is already the requested state. This causes the problem when dragging by titlebar. The patch returns early if the fullscreen state is already the requested state. |
FWIW the patch works for me. |
Sounds good, I'll make a PR for it. |
This fixes dragging gtk4 apps with grid and/or wobbly disabled. The gtk4 toolkit sends a request for unfullscreen even though it is windowed, and this caused wayfire to set the geometry when dragging by titlebar, which made the window jump to an offset when grabbing the titlebar to move it. Fixes #2507.
Maybe same root cause as #2505 ?
test-2507.mp4
As part of troubleshooting an issue, we found out that when I try to drag a gnome window (eg. nautilus, gnome-calculator) from its titlebar using the mouse:
** Repro steps **
Wayfire version: wayfire master branch ; X11 disabled
The text was updated successfully, but these errors were encountered: