#5549 HIGH Update.: In rotated mode, game keys retain original orientation

Zarro Boogs per Child bugtracker at laptop.org
Wed Jun 4 19:31:18 EDT 2008


#5549: In rotated mode, game keys retain original orientation
------------------------------+---------------------------------------------
  Reporter:  blahedo          |       Owner:  erikg           
      Type:  defect           |      Status:  new             
  Priority:  high             |   Milestone:  Update.2 (8.2.0)
 Component:  x window system  |     Version:  Build 650       
Resolution:                   |    Keywords:                  
  Verified:  0                |    Blocking:                  
 Blockedby:                   |  
------------------------------+---------------------------------------------

Comment(by erikg):

 Replying to [comment:13 erikg]:
 > Replying to [comment:10 tomeu]:
 > > > If the keys become desyncronized (the call to xrandr fails) the
 attached code will resync them on the next press of the rotation key.
 > >
 > > Can't we just rotate if the call to xrandr succeeds?
 >
 > Not a bad idea.  I'll look back at it when I get ready to push.
 >
 > > Tried but didn't managed to crash anymore by rotating, so this looks
 to fix that indeed.
 >
 > Hope so.

 Note that the subprocess.check_call() function will throw a
 CalledProcessError if the called process returns a nonzero exit status.
 We should expect to see that error in the logs if there is ever xrandr or
 xmodmop fails.

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


More information about the Bugs mailing list