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
{{ message }}
Repository navigation
Mouse button state is not updated when the effect is active #11
This is actually a known issue for quite some time (it was present in Jiggle as well). When calling Meta.CursorTracker.set_pointer_visible(true), Cogl will just block all mouse button events so it might just be work as intended for the original GNOME experience. Also, the GJS bindings are not available to those C functions. So it is an API limitation and currently there isn't much I could do :(
Currently there is also another limitation with button states, as a GNOME dev stated in here. So implementing drag detection could be some hacky and tedious work.
Theoretically, it's possible to get around the limitations above by changing the pointer texture. However, there is currently a bug with GJS binding to cogl_texture_get_data which happens to be crucial to implement the concept. So just wait for devs to fix that :)
If you think it is rather troublesome for your daily workflow, you can now unhide the original cursor since fcafc6a.
changed the title [-]Dragging a window or icons results in them being stuck when cursor is enlarged[/-][+]Mouse button state is not updated when the effect is active[/+]on Aug 24, 2024
Activity
mechtifs commentedon Aug 24, 2024
This is actually a known issue for quite some time (it was present in Jiggle as well). When calling
Meta.CursorTracker.set_pointer_visible(true), Cogl will just block all mouse button events so it might just be work as intended for the original GNOME experience. Also, the GJS bindings are not available to those C functions. So it is an API limitation and currently there isn't much I could do :(Currently there is also another limitation with button states, as a GNOME dev stated in here. So implementing drag detection could be some hacky and tedious work.
Theoretically, it's possible to get around the limitations above by changing the pointer texture. However, there is currently a bug with GJS binding to
cogl_texture_get_datawhich happens to be crucial to implement the concept. So just wait for devs to fix that :)If you think it is rather troublesome for your daily workflow, you can now unhide the original cursor since fcafc6a.
[-]Dragging a window or icons results in them being stuck when cursor is enlarged[/-][+]Mouse button state is not updated when the effect is active[/+]