[StrangePan][1.1.100][macOS] stuck inputs when entering one menu

Things that we don't consider worth fixing at this moment.
Faban
Manual Inserter
Manual Inserter
Posts: 2
Joined: Sat Sep 26, 2020 10:28 am
Contact:

[StrangePan][1.1.100][macOS] stuck inputs when entering one menu

Post by Faban »

When entering the menu shown in the attatched picture through moving 3 fingers up on the mouse pad (not tested other methods), any key that was pressed at that moment will continue to be inputed as if held down until manually pressed again while the game is focused.

Expected behaviour: inputs stop when the game is not focused.
Attachments
20231226_185128.jpg
20231226_185128.jpg (2.25 MiB) Viewed 774 times
StrangePan
Factorio Staff
Factorio Staff
Posts: 230
Joined: Fri Dec 07, 2018 3:41 pm
Contact:

Re: [StrangePan][1.1.100][macOS] stuck inputs when entering one menu

Post by StrangePan »

This menu is called "Mission Control". It can be invoked by default on macOS with a 3-finger swipe up on the trackpad or by pressing Control+UP on the keyboard; both methods can reliably reproduce the bug on 1.1.104, 1.1.110, and 2.0.43 on the latest version of macOS Sequoia 15.3.2.
StrangePan
Factorio Staff
Factorio Staff
Posts: 230
Joined: Fri Dec 07, 2018 3:41 pm
Contact:

Re: [StrangePan][1.1.100][macOS] stuck inputs when entering one menu

Post by StrangePan »

After looking into this thoroughly, it seems this macOS' fault. The operating system simply stops sending keyboard and mouse events to the game window while Mission Control is opened, but it also doesn't notify the window through normal channels that it is no longer receiving such events. I was unable to find a solid way of detecting when Mission Control is invoked, so it seems like we are stuck with this until Apple provides a solution and SDL implements it.

For good measure, I tested a couple other games, and it seems that others suffer from the same issue as well. I don't think this is something we can fix on our end.
Post Reply

Return to “Won't fix.”