gb2a17dfdc mouse in menus doesn't work
Moderator: GZDoom Developers
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.
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.
gb2a17dfdc mouse in menus doesn't work
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.
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.
Last edited by Nash on Wed Apr 08, 2020 8:13 am, edited 2 times in total.
- drfrag
- Vintage GZDoom Developer
- Posts: 3141
- Joined: Fri Apr 23, 2004 3:51 am
- Location: Spain
- Contact:
Re: gb2a17dfdc mouse in menus doesn't work
For me it works.
Re: gb2a17dfdc mouse in menus doesn't work
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.
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.
- drfrag
- Vintage GZDoom Developer
- Posts: 3141
- Joined: Fri Apr 23, 2004 3:51 am
- Location: Spain
- Contact:
Re: gb2a17dfdc mouse in menus doesn't work
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
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).And it's impossible to switch from touchscreen (default) to yes without touching the keyboard AFAIK.
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 18 times
- drfrag
- Vintage GZDoom Developer
- Posts: 3141
- Joined: Fri Apr 23, 2004 3:51 am
- Location: Spain
- Contact:
Re: gb2a17dfdc mouse in menus doesn't work
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.
- drfrag
- Vintage GZDoom Developer
- Posts: 3141
- Joined: Fri Apr 23, 2004 3:51 am
- Location: Spain
- Contact:
Re: gb2a17dfdc mouse in menus doesn't work
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.
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
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)
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)
Last edited by Nash on Wed Apr 08, 2020 8:30 am, edited 1 time in total.
Re: gb2a17dfdc mouse in menus doesn't work
Okay, reverted the commit.
Re: gb2a17dfdc mouse in menus doesn't work
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.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.