Opened 5 months ago

Last modified 3 months ago

#14433 new defect

macOS mouse cursor appearing / failing to capture when in fullscreen mode

Reported by: almeath Owned by:
Priority: normal Component: Port: Mac OS X
Version: Keywords:
Cc: Game:

Description

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:

https://forums.scummvm.org/viewtopic.php?p=98272#p98272

This video demonstrates the behavior of the cursor when moved to the edge of the screen, when in fullscreen mode:

https://www.dropbox.com/s/jt7f24mnaa0pyqo/Ventura%20mouse.mp4?dl=0

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.

Attachments (1)

IMG_7922.jpg (521.3 KB ) - added by almeath 5 months ago.

Download all attachments as: .zip

Change History (3)

by almeath, 5 months ago

Attachment: IMG_7922.jpg added

comment:1 by almeath, 5 months ago

Component: --Unset--Port: Mac OS X

comment:2 by ahrib, 3 months ago

I also experience this in fullscreen mode. This could possibly have something to do with the "notch" on the macbook screen.

Surprisingly this issue is not present if you start in windowed mode and use the window control to enter full screen.

The easiest way I have found to repeat the issue is:

  1. Start ScummVM in fullscreen mode
  2. Move the mouse cursor UP all the way to the top of the screen (aim for a little further than the top of the screen)

Workaround:

  1. Start ScummVM in windowed mode (fullscreen mode not enabled)
  2. Enter full screen by clicking the green window control button on the top left of the window

ScummVM 2.7.0
macOS 13.4.1
MacBook Pro (14-inch, 2021) https://support.apple.com/kb/SP854

Note: See TracTickets for help on using tickets.