Closed zougloub closed 1 week ago
Reduced configuration; updating description.
I can reproduce this with gtk4-demo
, but not gtk3-demo
. It seems to be specific to gtk4 applications.
I have gnome-calculator (gtk4) working without jumping positions on titlebar grab-drag with the following configuration:
[autostart]
autostart_wf_shell = true
calculator = gnome-calculator
[core]
plugins = autostart move grid wobbly
[grid]
type = wobbly
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.
FWIW the patch works for me.
Sounds good, I'll make a PR for it.
Maybe same root cause as #2505 ?
https://github.com/user-attachments/assets/74c8dff7-59ca-47ba-9ab2-f89b7154eec4
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
[core] plugins = autostart move gtk-shell foreign-toplevel wayfire-shell