tonioni / WinUAE

WinUAE Amiga emulator
http://www.winuae.net/
552 stars 90 forks source link

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

Open johnnovak opened 11 months ago

johnnovak commented 11 months ago

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 commented 10 months ago

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