UI Bug After Alt-Tabbing

The worst monsters in the Hearthlands warp the fabric of space and time...
User avatar
jacksonblu
Posts: 78
Joined: Sat Sep 05, 2015 12:34 am

UI Bug After Alt-Tabbing

Post by jacksonblu »

If I Alt-Tab to another window while moving the camera around via middle mouse button, all UI becomes impossible to click on. Trying to move items around in the inventory or trying to craft something through the UI will just have my click ignore the UI and move my character instead. This is always reproducible for me in both default and in amber client. I always use ortho camera.

May or may not be related to this issue, as the problems are the same: viewtopic.php?f=47&t=40541
User avatar
Granger
Posts: 9255
Joined: Mon Mar 22, 2010 2:00 pm

Re: UI Bug After Alt-Tabbing

Post by Granger »

This is likely happening from not getting the the mouse-up event (as it's delivered to the then active window) or the game thinking that alt is still pressed (as it misses the key-up even for it, for the same reason)

You should be able to restore normal functionality by returning to the haven window and, in case it's stuck on a missing key-up event, pressing and releasing alt (or in case your OS captures a single alt press for the chrome of the window: do an alt-shift-click inside the window) -or- doing a middle mouse click inside the game window (in case it's stuck on a missing mouse-up event for the MMB).
⁎ Mon Mar 22, 2010 ✝ Thu Jan 23, 2020
User avatar
jacksonblu
Posts: 78
Joined: Sat Sep 05, 2015 12:34 am

Re: UI Bug After Alt-Tabbing

Post by jacksonblu »

Granger wrote:This is likely happening from not getting the the mouse-up event (as it's delivered to the then active window) or the game thinking that alt is still pressed (as it misses the key-up even for it, for the same reason)

You should be able to restore normal functionality by returning to the haven window and, in case it's stuck on a missing key-up event, pressing and releasing alt (or in case your OS captures a single alt press for the chrome of the window: do an alt-shift-click inside the window) -or- doing a middle mouse click inside the game window (in case it's stuck on a missing mouse-up event for the MMB).
One thing I din't mention was that the camera follows your cursor after an alt-tab, but seeing as it was probably caused by the middle-mouse button still being in a key-down state, I could just fix it by middle-mouse clicking. The UI not being interact-able however, is not fixed by pressing alt or doing any alt-shift-clicks.
User avatar
azrid
Posts: 3647
Joined: Mon Oct 17, 2011 11:33 pm

Re: UI Bug After Alt-Tabbing

Post by azrid »

I hate when this happens :x
Image
Image
User avatar
jacksonblu
Posts: 78
Joined: Sat Sep 05, 2015 12:34 am

Re: UI Bug After Alt-Tabbing

Post by jacksonblu »

Bump. Bug still easily reproducible in default client. I guess it's mostly inconsequential and goes away after a client restart, but it's annoying when it happens.
User avatar
loftar
Posts: 9096
Joined: Fri Apr 03, 2009 7:05 am
Location: Your character database

Re: UI Bug After Alt-Tabbing

Post by loftar »

Sounds weird, and I can't obviously explain why that would happen. Since I don't have a Windows development environment, I also don't have any immediate way of debugging it, unfortunately.
"Object-oriented design is the roman numerals of computing." -- Rob Pike

Return to “Bugs”