#6605 LOW 8.2.0 (: Screen rotates clockwise, while rotation button shows counter clockwise arrows

Zarro Boogs per Child bugtracker at laptop.org
Wed Aug 20 08:41:08 EDT 2008


#6605: Screen rotates clockwise, while rotation button shows counter clockwise
arrows
----------------------+-----------------------------------------------------
   Reporter:  benzea  |       Owner:  erikg                   
       Type:  defect  |      Status:  assigned                
   Priority:  low     |   Milestone:  8.2.0 (was Update.2)    
  Component:  sugar   |     Version:                          
 Resolution:          |    Keywords:  needs-testing 8.2.0:+ r?
Next_action:  review  |    Verified:  0                       
  Blockedby:  7651    |    Blocking:                          
----------------------+-----------------------------------------------------
Changes (by erikos):

  * keywords:  needs-testing 8.2.0:+ => needs-testing 8.2.0:+ r?
  * next_action:  test in build => review


Comment:

 Not in a build yet - this would do it:

 {{{
 diff --git a/src/view/keyhandler.py b/src/view/keyhandler.py
 index ffed97c..993d09d 100644
 --- a/src/view/keyhandler.py
 +++ b/src/view/keyhandler.py
 @@ -209,7 +209,7 @@ class KeyHandler(object):
          keycodes = (80, 85, 88, 83, 80, 85, 88, 83)
          keysyms = ("KP_Up", "KP_Right", "KP_Down", "KP_Left")

 -        self._screen_rotation += 1
 +        self._screen_rotation -= 1
          self._screen_rotation %= 4

          actual_keycodes =
 keycodes[self._screen_rotation:self._screen_rotation

 }}}

-- 
Ticket URL: <http://dev.laptop.org/ticket/6605#comment:5>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list