Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mac OS X: location of mouse pointer triggers hot corners #472

Closed
pmonks opened this issue Aug 22, 2018 · 4 comments
Closed

Mac OS X: location of mouse pointer triggers hot corners #472

pmonks opened this issue Aug 22, 2018 · 4 comments

Comments

@pmonks
Copy link

pmonks commented Aug 22, 2018

Steps to reproduce:

  1. Open System Preferences > Desktop & Screen Saver > Screen Saver > Hot Corners...
  2. Configure the lower right to Start Screen Saver
  3. Start Attract
  4. Start a game

Expected result:

  • Game starts

Actual result:

  • Screen saver starts
@pmonks
Copy link
Author

pmonks commented Aug 22, 2018

I suspect this is happening because attract programmatically locates the mouse pointer to the lower right corner of the screen prior to starting the emulator (MAME, in my case), which then triggers the screen saver.

What's worse is that if password-on-awake is enabled (System Preferences > Security & Privacy > Require password immediately after sleep or screen saver begins), it becomes impossible to enter the password into the password prompt after interrupting the screen saver - keypresses don't do anything. My assumption is that Attract and/or MAME are grabbing the keyboard in some low-level way that prevents keystrokes from going to the password entry field, making it impossible to log back in (an undesirable hard reset being the only way out of this situation).

@estefan3112
Copy link

I confirm this behavior - and many thanks for this hint, this is actually why Attract Mode was not launching MAME. As a workaround I disabled the Hot Corner and Attract Mode/MAME works now :-).

mickelson added a commit that referenced this issue Sep 1, 2018
- The frontend tries to obscure the mouse pointer when launching an
  emulator by moving it to the bottom right corner on launch
- This can trigger 'hot corners' on Mac OS X and other OSs
- Added the "move_mouse_on_launch" setting to attract.cfg, controlling
  whether the FE tries to move the mouse in this manner (defaults to
  'no' on OS X, 'yes' otherwise)
@mickelson
Copy link
Owner

This has been an issue in the past as well: 302110a#diff-fe220e33dd437766526be4116ebd76b1

I've added a "move_mouse_on_launch" setting to attract.cfg allowing you to control this in the future.

@estefan3112
Copy link

Confirmed! Option is available and mouse no longer moves into the Hot Corner. This is when you continue with your attract.cfg over the time...many thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants