[unable to reproduce] Windowed mode glitches

Bugs that have been resolved.

Moderator: Graf Zahl

User avatar
wildweasel
DRD Team Admin (Inactive)
Posts: 2132
Joined: Wed Jun 29, 2005 22:00
Location: the Admincave!

[unable to reproduce] Windowed mode glitches

Post by wildweasel »

When playing GZDoom in windowed mode (and yes, I've confirmed that it only happens in GZDoom), while the mouse is seemingly captured properly, it's possible to "move" the mouse around the desktop and trigger any "hover" events on whatever windows are open around GZDoom. I can hover the mouse over the taskbar buttons without even pausing the game, and Windows will show me the tooltips for them (some of which overlap the window in some cases).

This gets particularly annoying with some other applications (and the taskbar on occasion) - for example, Gaim's tooltips tend to overlap the GZDoom window even if Gaim's window is not active. Other programs, like RKLauncher, actually steal focus from GZDoom when the mouse hovers over them. Naturally, I tend not to have those running with GZDoom, but I thought they would be good examples.
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany

Post by Graf Zahl »

Works for me. But keep one thing in mind: The mouse is a global resource. If there is only one application running that doesn't behave properly all kinds of bad stuff can happen.
User avatar
Epoch
Posts: 69
Joined: Sat Nov 05, 2005 14:38
Location: Somewhere

Post by Epoch »

Windowed mode doesn't work for me at all.
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany

Post by Graf Zahl »

In what way?
User avatar
DoomRater
Posts: 397
Joined: Tue Jul 19, 2005 4:14
Location: Programmer's Room, talking to Will Harvey

Post by DoomRater »

Windowed mode does not work after about a few minutes of playing. But this happens in ALL GL games (ZDoomGL, GunRoar) so I think it is a GL or graphics card related issue.
User avatar
BlackFish
Posts: 108
Joined: Thu Sep 01, 2005 18:33

Post by BlackFish »

Actually weasel ive encountered this in normal zdoom as well.
User avatar
Apothem
Posts: 113
Joined: Fri Jul 08, 2005 14:19

Post by Apothem »

I have a problem with windowed mode as well, whenever I look straight down at the floor, it crashes.
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany

Post by Graf Zahl »

BlackFish wrote:Actually weasel ive encountered this in normal zdoom as well.

Thanks for pointing that out. That means that there's a bug hidden inside ZDoom's input handling code or it is indeed caused by other software.
User avatar
Shinjanji
Posts: 198
Joined: Sun Nov 06, 2005 16:45
Location: Pennsylvania, USA

Post by Shinjanji »

I've seen programs that reset the mouse cursor to a position when it's dragged. Perhaps you could just lock the mouse cursor to the center of the window?
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany

Post by Graf Zahl »

That doesn't help if some other application hijacks the mouse. The code is already doing something like that.
User avatar
Shinjanji
Posts: 198
Joined: Sun Nov 06, 2005 16:45
Location: Pennsylvania, USA

Post by Shinjanji »

Aah, I see. I wonder what's stealing it, then, because my mouse wanders around too :P

Return to “Closed Bugs”