GtkScale inside GtkPopover gets stuck when dragged to another surface
The GtkScale
inside a GtkPopover
does not remove its "clicked" state when mouse button is released on another surface and keeps looking as someone is still dragging it. Also sometimes the GtkPopover
with that "stucked" scale does not want to close even when clicking outside of it.
This can be easily reproduced using the volume slider in GtkVideo
. Just drag the slider and release the mouse button outside of popover (anywhere on the video). From this point onward, on every scale drag, the "pressed" state is not removed (even when released inside the popover) and sometimes the popover does not get closed on any click outside it.
Linux, GTK4 latest git at the time of writing (db456a70), gnome-shell, Wayland session.