Syllable Forum Index Syllable
Syllable Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Bug 103 System Information disappears when switching resolut

 
Post new topic   Reply to topic    Syllable Forum Index -> Bugs - Fixed
View previous topic :: View next topic  
Author Message
nos



Joined: 17 Sep 2007
Posts: 95

PostPosted: Sat Nov 17, 2007 5:18 am    Post subject: Bug 103 System Information disappears when switching resolut Reply with quote

Bug Id ?
103 / [Show Bug History]
Reporter ?
Kaj
Product/Version ?
Syllable / 0.6.3
Status ?
Confirmed
Severity ?
Moderate
Duplicate Of ?
- none -
Summary ?
System Information disappears when switching resolution
Report Time ?
February 20, 2007 11:45:44 PM
Assignment ?
- none -
Resolution ?
Open
Priority ?
Normal
Dependencies ?
- none -


Attachments
appserver Patched appserver binary for testing
appserver-patch.txt Patch for appserver - desktop.cpp
Screen Patched screen prefs app binary
screenprefs-patch.txt Screen prefs patch
Votes
For: 0 (0%)
Against: 0 (0%)
Total: 0

February 20, 2007 11:45:44 PM Kaj
If you change screen resolution while System Information is open (to a smaller resolution), it disappears off the screen. Unfortunately, it doesn't come back when clicking its dock icon, not even after switching back the screen resolution.

April 13, 2007 01:08:29 AM Morph
Hi,
There was a bug in the appserver's calculation of the new position for the window (it wasn't specific to System Information - could happen to any window that would be offscreen in the new resolution).
I'll attach a patch and a compiled patched appserver & screen prefs with the bugfix.

Considering the comments in bug 158, I've changed the behaviour with windows when changing to lower resolution. Previously, the behaviour was:
* ensure that the entire window is visible - if the right edge was offscreen under the new resolution, move the window to the left edge of screen and resize it if necessary to ensure that the right edge is onscreen. Similarly for bottom edge.

New behaviour:
* if the left edge of the window is within 32 pixels of the right edge of screen (under the new resolution) or beyond, move the window to the left edge of screen. Don't resize at all. Similarly for bottom edge.
(actually, if there are multiple windows that need moving, they are staggered a little so that they don't all end up in the same position)
The 32 pixel margin is to ensure that enough of the window is visible for the user to be able to easily see that it is there, and to be able to move or resize it if they want.

Does this sound sensible? or at least, better than before? comments please!!

Kaj - would you mind testing with this appserver and seeing if it fixes the problem, as you were experiencing it? thanks!


April 13, 2007 01:08:30 AM Morph
Hi,
There was a bug in the appserver's calculation of the new position for the window (it wasn't specific to System Information - could happen to any window that would be offscreen in the new resolution).
I'll attach a patch and a compiled patched appserver & screen prefs with the bugfix.

Considering the comments in bug 158, I've changed the behaviour with windows when changing to lower resolution. Previously, the behaviour was:
* ensure that the entire window is visible - if the right edge was offscreen under the new resolution, move the window to the left edge of screen and resize it if necessary to ensure that the right edge is onscreen. Similarly for bottom edge.

New behaviour:
* if the left edge of the window is within 32 pixels of the right edge of screen (under the new resolution) or beyond, move the window to the left edge of screen. Don't resize at all. Similarly for bottom edge.
(actually, if there are multiple windows that need moving, they are staggered a little so that they don't all end up in the same position)
The 32 pixel margin is to ensure that enough of the window is visible for the user to be able to easily see that it is there, and to be able to move or resize it if they want.

Does this sound sensible? or at least, better than before? comments please!!

Kaj - would you mind testing with this appserver and seeing if it fixes the problem, as you were experiencing it? thanks!


April 13, 2007 01:20:11 AM Morph
Sorry for the double post :S (grrr... Abrowse)
The screen prefs patch just ensures that the 'Revert to old resolution' alert window is centred in the screen.

Powered by Bugdar 1.1.4
Copyright ę2002 - 2007, Blue Static
Back to top
View user's profile Send private message
Morph
The Knights of Syllable


Joined: 18 Oct 2007
Posts: 316
Location: Australia

PostPosted: Mon Nov 19, 2007 10:14 am    Post subject: Reply with quote

I believe this bug was fixed & closed. It should be working fine in recent builds.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Syllable Forum Index -> Bugs - Fixed All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group