[ZDoom 2.8.1] in_mouse 1 locks cursor

Bugs that have been investigated and resolved somehow.

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.
Post Reply
User avatar
Ru5tK1ng
Posts: 11
Joined: Sat Feb 02, 2013 7:36 pm

[ZDoom 2.8.1] in_mouse 1 locks cursor

Post by Ru5tK1ng »

When a user is playing full screen and attempts to alt-tab to their desktop, their mouse cursor gets anchored to a single position and can't be moved properly. For some people, it gets stuck in the center of the screen, while mine specifically gets stuck in the upper left corner. This seems to consistently happen with in_mouse 1 and it happens in G/ZDoom as well as Zandronum.

Here is a Zandro Ticket with some other details regarding the issue: https://zandronum.com/tracker/view.php?id=1618
Accensus
Posts: 2383
Joined: Thu Feb 11, 2016 9:59 am

Re: [ZDoom 2.8.1] in_mouse 1 locks cursor

Post by Accensus »

I fix it by going into Mouse options and switching "Enable mouse in menus" on and off. Until there's a permanent fix, you can use that one.
User avatar
Ru5tK1ng
Posts: 11
Joined: Sat Feb 02, 2013 7:36 pm

Re: [ZDoom 2.8.1] in_mouse 1 locks cursor

Post by Ru5tK1ng »

Yeah that appears to be a work around. It seems this setting for the mouse uses Win32 API. Is it a shot in the dark this gets fixed?
User avatar
IvanDobrovski
Posts: 83
Joined: Mon Aug 08, 2016 4:05 am

Re: [ZDoom 2.8.1] in_mouse 1 locks cursor

Post by IvanDobrovski »

Confirmed to be happening in Zandronum and G/Zdoom, even in recent versions.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49056
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [ZDoom 2.8.1] in_mouse 1 locks cursor

Post by Graf Zahl »

The real question should be: Do we really NEED this mode anymore? The only system requiring it is Windows NT4 which is totally obsolete and unsupported by now.
This is not the only issue with in_mouse 1 so I am tempted to just remove this mode and pretend it never existed.
User avatar
Rachael
Posts: 13532
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her
Contact:

Re: [ZDoom 2.8.1] in_mouse 1 locks cursor

Post by Rachael »

I think that's the most prudent thing to do. Leave the other modes, obviously, just remove the API version.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49056
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [ZDoom 2.8.1] in_mouse 1 locks cursor

Post by Graf Zahl »

I was asking because some people obviously use it, otherwise these report wouldn't have been made. I need a bit more info before deciding to remove it.
Accensus
Posts: 2383
Joined: Thu Feb 11, 2016 9:59 am

Re: [ZDoom 2.8.1] in_mouse 1 locks cursor

Post by Accensus »

If you're talking about the whole existence of menu cursor, I think the only useful place ever would be with the new ZScript menus where up/down isn't really a viable option anymore. In case of ListMenu, I mean.
User avatar
Rachael
Posts: 13532
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her
Contact:

Re: [ZDoom 2.8.1] in_mouse 1 locks cursor

Post by Rachael »

No, this relates to how ZDoom handles mouse input for freelook/movement/etc.

More info here - in_mouse CVar
Post Reply

Return to “Closed Bugs [GZDoom]”