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.
[Latest master] Window sizes not remembered
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.
- 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
What are the values of win_x, win_y, win_w, win_h CVARs?
- 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
X: 631
Y: 261
H: 558
W: 658
Y: 261
H: 558
W: 658
Re: [Latest master] Window sizes not remembered
They seem to correspond the screenshot from OP. Do win_w and win_h change if you resize the window?
- Major Cooke
- Posts: 8175
- Joined: Sun Jan 28, 2007 3:55 pm
- Preferred Pronouns: He/Him
- Location: QZDoom Maintenance Team
- 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
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.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49067
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: [Latest master] Window sizes not remembered
Please recheck with the next devbuild.
- 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
Compiled and tested, works for me now.