osu-framework
osu-framework copied to clipboard
Changing cursor confine modes freezes the system-wide cursor for x00ms
Calls to SDL_SetWindowGrab(TRUE) block input system-wide for a short period. Not sure what to do about this, but opening an issue for tracking. Adding to my backlist of things to report to SDL2 when i manage to make a bugzilla account (assigning until reported).
This is an issue osu!-side where we change the confine mode during transition to gameplay (if the user has the "during gameplay" settings) and it adds a period of non-responsiveness that feels pretty bad.
Unassigning this, but this issue does still exist and needs to be reported or fixed upstream.
Apparently this is also noticed in Windows 11 (according to ppy/osu#17798).
Can't repro on windows 10/11/whatever.
Can confirm that cursor confining on windows is COMPLETELY BROKEN. Something has regressed beyond repair.
- Confine doesn't work
- Mouse warps all over the place when enabling it
Tested both raw input on and off, broken in both cases, windowed.
Interesting, I have checked under Parallels with my mouse plugged directly to the VM, and confinement has been working so far with both raw input on/off (Windows 11).
In addition, I can no longer reproduce this under my machine, so I'm unfortunately not able to dig deep and report this to SDL (there's also the chance that it could have been fixed by now?)
I was testing on a non-VM install, for whatever that's worth.
I also can't seem to repro this on macOS anymore. Not sure if it was fixed in SDL or fixed in macOS or neither.