[Fixed] [Latest master] Window sizes not remembered

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

[Latest master] Window sizes not remembered

Postby Major Cooke » Sat Jul 21, 2018 7:46 am

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.
User avatar
Major Cooke
Do unto others as you would have unto you. Judge yourself first.
 
Joined: 28 Jan 2007

Re: [Latest master] Window sizes not remembered

Postby _mental_ » Sat Jul 21, 2018 7:55 am

What are the values of win_x, win_y, win_w, win_h CVARs?
_mental_
 
 
 
Joined: 07 Aug 2011

Re: [Latest master] Window sizes not remembered

Postby Major Cooke » Sat Jul 21, 2018 8:30 am

X: 631
Y: 261
H: 558
W: 658
User avatar
Major Cooke
Do unto others as you would have unto you. Judge yourself first.
 
Joined: 28 Jan 2007

Re: [Latest master] Window sizes not remembered

Postby _mental_ » Sat Jul 21, 2018 8:47 am

They seem to correspond the screenshot from OP. Do win_w and win_h change if you resize the window?
_mental_
 
 
 
Joined: 07 Aug 2011

Re: [Latest master] Window sizes not remembered

Postby Major Cooke » Sat Jul 21, 2018 11:16 am

No.
User avatar
Major Cooke
Do unto others as you would have unto you. Judge yourself first.
 
Joined: 28 Jan 2007

Re: [Latest master] Window sizes not remembered

Postby Kinsie » Sat Jul 21, 2018 11:31 am

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
Kinsie
A Concept Utterly Obsolete
 
Joined: 22 Oct 2004
Location: MAP33
Discord: Find Me...
Twitch ID: thekinsie

Re: [Latest master] Window sizes not remembered

Postby Graf Zahl » Sat Jul 21, 2018 2:32 pm

Please recheck with the next devbuild.
User avatar
Graf Zahl
Lead GZDoom Developer
Lead GZDoom Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: [Latest master] Window sizes not remembered

Postby Major Cooke » Sat Jul 21, 2018 8:24 pm

Compiled and tested, works for me now.
User avatar
Major Cooke
Do unto others as you would have unto you. Judge yourself first.
 
Joined: 28 Jan 2007


Return to Closed Bugs

Who is online

Users browsing this forum: No registered users and 1 guest