[Bugs] #3827 sugar UNSP: Home View: owner icon/activity icon not drawn correctly when rotating the screen

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Mon Aug 27 07:09:40 EDT 2012


#3827: Home View: owner icon/activity icon not drawn correctly when rotating the
screen
------------------------------------------+---------------------------------
    Reporter:  erikos                     |          Owner:  erikos     
        Type:  defect                     |         Status:  new        
    Priority:  Unspecified by Maintainer  |      Milestone:  0.98       
   Component:  sugar                      |        Version:  0.97.x     
    Severity:  Critical                   |       Keywords:  nohippo    
Distribution:  OLPC                       |   Status_field:  Unconfirmed
------------------------------------------+---------------------------------

Comment(by erikos):

 Actually, this is not a direct issue with the nohippo code. We had the
 same issue already before.

 When the screen is rotated the new orientation is not taken into account
 when calculating the positions of the icons. The positioning of the icons
 in the layout is based on the screen dimensions. When the screen is
 rotated we do not re-calculate the positions. An easy way to see this in
 an old build is:

 - start Sugar

 - rotate screen one time (in portrait mode)

 - switch to Neighborhood View

 ---> look at the icons

 - rotate screen one time (landscape mode)

 ---> look at the icons

 If you have enough icons in the Neighborhood View, you will see that there
 are more icons in the landscape mode than in the portrait mode, the
 positions have just been calculated once with the width/height of the
 landscape mode.

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/3827#comment:1>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list