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 

strange gui bug caused by window-edge

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





PostPosted: Mon Oct 27, 2008 5:12 am    Post subject: strange gui bug caused by window-edge Reply with quote

I use the 3. aug. dev build:

How to reproduce the bug:

1) Open for example Preferences - > Appearance
2) Open an arbitrary window, for example file-browser

3) Put the file-browser window on the left side of the "appearance window" so that they don't overlap.

4) Now move the file-browser window to the left, so that the left edge of the file-browser window is overlaping for example the drop-down-menu of the appearance window.

5) move the left edge of the filer-window to left and to right over such elements like drop-down-menus, and the content of the drop-down menu changes. For example it is deleted.

6) Now position the top edge of the file-browser window to be higher than the drop-down-menu. And the width should be greater than the width of the drop-down-menu.

7) Now move the file-browser-window from top to bottom. And you should see that the right content of the drop-down-menu is displayed again.

This is also possible with the right-edge of a window.
And I think the drop-down-menu is not the only one that is affected.
I'm quite sure that spinners are the same, and also stringviews.

Perhaps if you move just the top-left corner a window, to the right and to the left over a drop-down-menu you can see the bug even better.
Back to top
Morph
The Knights of Syllable


Joined: 18 Oct 2007
Posts: 316
Location: Australia

PostPosted: Mon Oct 27, 2008 7:53 am    Post subject: Reply with quote

Looks to me like the bug must be in [url=http://syllable.cvs.sourceforge.net/viewvc/syllable/syllable/system/sys/appserver/libsyllable/gui/textview.cpp?revision=1.19&view=markup&sortby=date]libsyllable/gui/textview.cpp[/url], lines 2438-2466. Seems that it isn't calculating the correct horizontal offset when the update rect is smaller than the whole view.
Back to top
View user's profile Send private message Visit poster's website
Morph
The Knights of Syllable


Joined: 18 Oct 2007
Posts: 316
Location: Australia

PostPosted: Sun Nov 30, 2008 5:34 am    Post subject: Reply with quote

This should be fixed in cvs - though if anyone notices any other rendering quirks with TextViews, please post here.
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