You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sending xdg_popup.grab followed by wl_data_device.start_drag (done by pressing the left mouse button on the toplevel surface) breaks the popup logic in the following way:
The popup can't be dismissed anymore;
As a result, keyboard events aren't sent to other clients as the keyboard grab can't be stopped;
If another client tries to open a grabbing popup, it's killed with wl_surface@25: error 2: xdg_popup was not created on the topmost popup.
Side note: the error is sent to the incorrect resource, not_the_topmost_popup is an xdg_wm_base error.
Sending wl_data_device.start_drag followed by xdg_popup.grab (done by pressing the middle mouse button on the toplevel surface) makes the drag icon follow the cursor even after all buttons are released.
The text was updated successfully, but these errors were encountered:
Tested in Anvil with 4f9480e
Client: https://gitlab.freedesktop.org/vyivel/randfall/-/blob/main/cases/xdg_popup_interactive_grab_with_dnd.c
Sending
xdg_popup.grab
followed bywl_data_device.start_drag
(done by pressing the left mouse button on the toplevel surface) breaks the popup logic in the following way:wl_surface@25: error 2: xdg_popup was not created on the topmost popup
.not_the_topmost_popup
is anxdg_wm_base
error.Sending
wl_data_device.start_drag
followed byxdg_popup.grab
(done by pressing the middle mouse button on the toplevel surface) makes the drag icon follow the cursor even after all buttons are released.The text was updated successfully, but these errors were encountered: