gb2a17dfdc mouse in menus doesn't work

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: gb2a17dfdc mouse in menus doesn't work

Re: gb2a17dfdc mouse in menus doesn't work

by Gez » Thu Apr 09, 2020 2:44 pm

Nash wrote:Update: when this bug is reproduced, it blocks all mouse clicks completely, even outside of GZDoom. I ran GZDoom in fullscreen mode, triggered the bug (click to open the menu), THEN change to windowed mode (have to use the keyboard from here on, mouse clicks don't work).

Now even if I try to click the start menu, or just about anything outside of the GZDoom window, clicks do not register.
I've had issues like this from time to time (not with GZDoom, though) and the fix I've found was to use alt-ctrl-del to go to the windows troubleshooting/logout screen, as it made the mouse resume working normally in my experience.

Re: gb2a17dfdc mouse in menus doesn't work

by dpJudas » Wed Apr 08, 2020 8:21 am

Okay, reverted the commit.

Re: gb2a17dfdc mouse in menus doesn't work

by Nash » Wed Apr 08, 2020 8:10 am

Update: when this bug is reproduced, it blocks all mouse clicks completely, even outside of GZDoom. I ran GZDoom in fullscreen mode, triggered the bug (click to open the menu), THEN change to windowed mode (have to use the keyboard from here on, mouse clicks don't work).

Now even if I try to click the start menu, or just about anything outside of the GZDoom window, clicks do not register.

And yes, as per drfrag's post, I forgot to add one important detail - to trigger this bug, the game must be started in fullscreen mode. Will edit the OP.

(I edited this post, please re-read)

Re: gb2a17dfdc mouse in menus doesn't work

by drfrag » Thu Apr 02, 2020 1:25 pm

And i've just reproduced it. It happens when running fullscreen, i was using windowed mode.
Edit: and same happens in LZDoom. With touchscreen mode too. Disabling and enabling it or using the keyboard won't help it's dead once it fails. Only works if you open the menu using a key.
I suspect this commit: https://github.com/coelckers/gzdoom/com ... a666861f4e
Edit2: verified. Reverting that commit the problem goes away.

Re: gb2a17dfdc mouse in menus doesn't work

by drfrag » Thu Apr 02, 2020 1:23 pm

I'm testing GZDoom, i merged a recent mouse related commit in LZDoom that could be responsible of the problem but both work well. I can't reproduce it.

Re: gb2a17dfdc mouse in menus doesn't work

by Nash » Thu Apr 02, 2020 1:15 pm

And it's impossible to switch from touchscreen (default) to yes without touching the keyboard AFAIK.
That may be, but that's not what's being talked about here. I already have the mouse setting to Yes the whole time (I don't use touchscreen mode).

Also just to make sure it's clear (I'm pretty sure this is the correct forum) this is an issue with GZDoom, not LZDoom.

I've attached my INI here just in case
Attachments
gzdoom-nashb.ini.txt
(25.05 KiB) Downloaded 21 times

Re: gb2a17dfdc mouse in menus doesn't work

by drfrag » Thu Apr 02, 2020 11:33 am

For me it works (in both modes). And it's impossible to switch from touchscreen (default) to yes without touching the keyboard AFAIK.

Re: gb2a17dfdc mouse in menus doesn't work

by Nash » Thu Apr 02, 2020 11:18 am

Update: bug only happens when you do the following:

1) Start gzdoom.exe
2) You are at the main menu. CLICK the mouse to open the menu. Don't press the keyboard.
3) Mouse doesn't work

The mouse works fine if you open the main menu by pressing a button on the keybord.

Re: gb2a17dfdc mouse in menus doesn't work

by drfrag » Thu Apr 02, 2020 6:13 am

For me it works.

gb2a17dfdc mouse in menus doesn't work

by Nash » Thu Apr 02, 2020 5:45 am

You must start GZDoom in fullscreen mode to reproduce this bug. When "mouse in menus" is set to "Yes", and you CLICK to open the menu (do not press anything on the keyboard - at the main menu, click the left mouse button) - the mouse simply doesn't work - I can see the cursor and move it around, but it doesn't highlight anything, and the clicks don't register.

Additionally, try this - set your GZDoom user INI to "read only", start the game, then quit. The program will complain about not being to write to the INI, this is normal. But I cannot click on the "Retry" or "Cancel" buttons. Only keyboard controls work.

Seems like GZDoom isn't capturing the mouse when in UI mode.

Top