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

Two "Automatically capture mouse when window is activated" problems #267

Open
johnnovak opened this issue Dec 29, 2023 · 1 comment
Open

Comments

@johnnovak
Copy link

johnnovak commented Dec 29, 2023

Problem 1

  1. Start with everything at defaults with a stock portable install, don't even load any config.
  2. Click start so the emulation window appears.
  3. F12, then tick the "Automatically capture mouse when window is activated" option in Miscellaneous, then press OK
  4. Note Alt-Tabbing to the window does not capture the mouse pointer.
  5. F12, then save the current config as "test".
  6. Restart WinUAE, load the "test" config. Double-check the option is enabled in the UI. Click Start.
  7. Note Alt-Tabbing now does capture the mouse pointer.

TL;DR this option only works if it's set in an existing config that you then load. It appears you cannot set it at runtime, which is very misleading. It took me about an hour of experimentation the other day to figure out why it works only sometimes (it only worked with one of my configs which had this option set).

Problem 2

  1. Restart WinUAE, load the "test" config that has the option set.
  2. Alt-Tab to another window to uncapture the mouse pointer.
  3. Now left click on the title bar of the emulation window as an attempt to move it while the mouse is still uncaptured. Keep pressing the button, but don't move the mouse.
  4. Result: the emulation window will rapidly move downwards on the screen on its own. If you keep pressing the button long enough, it will completely disappear and you can't get it back.
@johnnovak johnnovak changed the title Two "Automatically capture mouse when window is actived" problems Two "Automatically capture mouse when window is activated" problems Dec 29, 2023
@johnnovak
Copy link
Author

@tonioni First issue is fixed in 5.2.0 b2, thanks. The second issue is still present.

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

1 participant