macOS mouse cursor appearing / failing to capture when in fullscreen mode
|Reported by:||almeath||Owned by:|
|Priority:||normal||Component:||Port: Mac OS X|
In ScummVM 2.7.0 (or later daily builds), in macOS Ventura (13.3.1) when in fullscreen mode and using either SDL or OpenGL rendering, in any game, the macOS mouse cursor will appear at random, super-imposing itself over the top of the relevant game cursor. The issue is discussed and illustrated in this thread on the ScummVM forum:
This video demonstrates the behavior of the cursor when moved to the edge of the screen, when in fullscreen mode:
Sometimes, however, the cursor will appear at random, following clicks of the mouse, when still within the perimeter of the game window.
While there are suggestions this is related to SDL2, I have not been able to re-produce this exact behavior in other SDL2-reliant apps. Also, the behavior is manifesting itself when setting ScummVM to use either OpenGL or SDL rendering.
I tested further in macOS Mojave, and the issue does not occur with the same builds of 2.7.0 (either self-compiled, or downloaded from the ScummVM website) so the issue appears to be specifically in relation to how current builds of ScummVM are interacting with macOS Ventura.