FreeOrion

Forums for the FreeOrion project
It is currently Fri Nov 17, 2017 8:53 pm

All times are UTC




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Window resizing.
PostPosted: Thu Mar 16, 2017 5:52 pm 
Offline
Space Floater
User avatar

Joined: Tue Feb 22, 2011 4:54 am
Posts: 33
FO is kept running, open, and on the top of the desktop (focused window). I close the lid of my laptop (win10), and when I reopen it, log back on, all the production, sitrep, building, and any other window i have open resizes and repositions, not to their default either, but offset from it. As in the production queue is overlaying the production points window by about 50%.


Top
 Profile  
 
 Post subject: Re: Window resizing.
PostPosted: Fri Mar 17, 2017 12:58 pm 
Offline
Release Manager, Design
User avatar

Joined: Wed Nov 16, 2011 12:56 pm
Posts: 4241
Location: Sol III
Screenshots?


Top
 Profile  
 
 Post subject: Re: Window resizing.
PostPosted: Fri Mar 17, 2017 4:43 pm 
Offline
Space Floater
User avatar

Joined: Tue Feb 22, 2011 4:54 am
Posts: 33
Playing FO, have my windows arranged where I want:
Attachment:
FO1.jpg
FO1.jpg [ 154.97 KiB | Viewed 186 times ]



Closed the lid, waited for everything to hibernate. Opened the lid, logged on, and the windows have shifted:

Attachment:
fo2.jpg
fo2.jpg [ 151.48 KiB | Viewed 186 times ]


Top
 Profile  
 
 Post subject: Re: Window resizing.
PostPosted: Fri Mar 17, 2017 5:22 pm 
Offline
Programming, Design, Admin
User avatar

Joined: Wed Oct 08, 2003 1:33 am
Posts: 12012
Location: Munich
Have you disabled window repositioning in the UI options?


Attachments:
File comment: option to toggle whether to reposition windows automatically
window_repos_options.png
window_repos_options.png [ 119.44 KiB | Viewed 182 times ]
Top
 Profile  
 
 Post subject: Re: Window resizing.
PostPosted: Fri Mar 17, 2017 10:45 pm 
Offline
Space Floater
User avatar

Joined: Tue Feb 22, 2011 4:54 am
Posts: 33
No, but I shouldn't have to in this case. From my point of view, the window is not changing size. I run it in windowed, maximized mode. But if I do shrink the window some, I'd like them to reposition themselves to the new ratio.

I have disabled that option now, I'll report back as to it's efficacy.


Top
 Profile  
 
 Post subject: Re: Window resizing.
PostPosted: Sun Mar 19, 2017 11:45 am 
Offline
Release Manager, Design
User avatar

Joined: Wed Nov 16, 2011 12:56 pm
Posts: 4241
Location: Sol III
The problem could be that the FO app gets a "app window size changed" notification from the OS when it goes to/wakes up from hibernation. Or the app window actually gets resized and then restored back to the original size during the process. I have a similar issue on OSX, when I play in fullscreen mode: I arrange my windows, play, save, quit and later restart the app to continue my game. Unfortunately, the app is opened in windowed mode before immediately restoring fullscreen on restart. Which is enough to reset all window positions, so that I have to reposition all windows again.

The problem is, the app can't tell if a windows resize gets triggered by the user or by some process like going to hibernation and waking up. Maybe the code handling this could be extended to take such things into account, but I don't know how complicated that might be, or if it can be done at all.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group