Page 1 of 1

[0.11.1] [Linux?] Clicking on large HUD with cursor mode off? [RESOLVED 0.11.2]

Posted: Sat Mar 06, 2021 1:04 pm
by pango
I'm experiencing some issue with the large HUD, I'm wondering if I'm the only one experiencing it...
Or maybe it hasn't been reported yet because too few people use the large HUD? Anyway:

I have the "Activate Object" action mapped to left click, but with the large HUD enabled, sometimes clicking triggers one of the large HUD buttons. It's actually easy to reproduce by first looking down, so my guess is that the "mouse cursor" can get over the large HUD and allow to click on buttons even with cursor mode off.

Maybe large HUD callbacks should check that ActiveMouseOverLargeHUD is enabled or something...

Re: Clicking on large HUD with cursor mode off?

Posted: Sat Mar 06, 2021 10:48 pm
by Interkarma
I haven't been able to produce this one on my end. When not "activated" the cursor should be hidden and locked to centre of viewport. Perhaps runtime on Linux isn't locking cursor in same way as Windows, leaving an invisible cursor roaming around the screen.

In any case, it should be an easy fix. The large HUD is assuming the cursor is active, adding a check for that in addition to checking if cursor is over HUD should be enough.

Re: [0.11.1] [Linux?] Clicking on large HUD with cursor mode off?

Posted: Sun Mar 07, 2021 7:28 pm
by pango
I submitted a PR

Re: [0.11.1] [Linux?] Clicking on large HUD with cursor mode off?

Posted: Sun Mar 07, 2021 10:01 pm
by Interkarma
Thank you so much Pango! :)

Re: [0.11.1] [Linux?] Clicking on large HUD with cursor mode off?

Posted: Tue Mar 23, 2021 1:11 am
by pango
This one should be fixed in 0.11.2