[Latest master] Window sizes not remembered

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
Major Cooke
Posts: 8175
Joined: Sun Jan 28, 2007 3:55 pm
Preferred Pronouns: He/Him
Location: QZDoom Maintenance Team

[Latest master] Window sizes not remembered

Post by Major Cooke »

I made then deleted this thread because one time it managed to remember the window sizes. But then it started happening again.

https://puu.sh/B0wMf/a13c022503.png

The game keeps shrinking back to it's default size in Windowed mode no matter what I do, and furthermore, vid_defheight/weight are 1600 and 900 respectively, yet it doesn't set the window properly at all.
_mental_
 
 
Posts: 3812
Joined: Sun Aug 07, 2011 4:32 am

Re: [Latest master] Window sizes not remembered

Post by _mental_ »

What are the values of win_x, win_y, win_w, win_h CVARs?
User avatar
Major Cooke
Posts: 8175
Joined: Sun Jan 28, 2007 3:55 pm
Preferred Pronouns: He/Him
Location: QZDoom Maintenance Team

Re: [Latest master] Window sizes not remembered

Post by Major Cooke »

X: 631
Y: 261
H: 558
W: 658
_mental_
 
 
Posts: 3812
Joined: Sun Aug 07, 2011 4:32 am

Re: [Latest master] Window sizes not remembered

Post by _mental_ »

They seem to correspond the screenshot from OP. Do win_w and win_h change if you resize the window?
User avatar
Major Cooke
Posts: 8175
Joined: Sun Jan 28, 2007 3:55 pm
Preferred Pronouns: He/Him
Location: QZDoom Maintenance Team

Re: [Latest master] Window sizes not remembered

Post by Major Cooke »

No.
User avatar
Kinsie
Posts: 7399
Joined: Fri Oct 22, 2004 9:22 am
Graphics Processor: nVidia with Vulkan support
Location: MAP33
Contact:

Re: [Latest master] Window sizes not remembered

Post by Kinsie »

The game doesn't seem to be saving or restoring the windowed resolution at all. Whenever the game starts, it defaults to 496x345 or whatever the startup console window is. vid_defwidth etc. are not read, and r_viewsize simply returns a blank string. This probably isn't intended.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49066
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [Latest master] Window sizes not remembered

Post by Graf Zahl »

Please recheck with the next devbuild.
User avatar
Major Cooke
Posts: 8175
Joined: Sun Jan 28, 2007 3:55 pm
Preferred Pronouns: He/Him
Location: QZDoom Maintenance Team

Re: [Latest master] Window sizes not remembered

Post by Major Cooke »

Compiled and tested, works for me now.
Post Reply

Return to “Closed Bugs [GZDoom]”