#5549 HIGH Update.: In rotated mode, game keys retain original orientation
Zarro Boogs per Child
bugtracker at laptop.org
Wed May 28 22:01:16 EDT 2008
#5549: In rotated mode, game keys retain original orientation
------------------------------+---------------------------------------------
Reporter: blahedo | Owner: erikg
Type: defect | Status: new
Priority: high | Milestone: Update.2
Component: x window system | Version: Build 650
Resolution: | Keywords:
Verified: 0 | Blocking:
Blockedby: |
------------------------------+---------------------------------------------
Comment(by erikg):
Additionally, I believe I may have fixed a sugar-crashing bug whereby the
subprocess.Popen() call running xrandr threw an OSError in response to
EINTR on an internal call to read(). The bug earlier manifested itself by
crashing sugar after rapidly pressing the screen rotate button. Per
mstone's suggestions I used subprocess.check_call() to order the xrandr
and xmodmap calls, and catch and ignore EINTR to avoid this problem. If
the keys become desyncronized (the call to xrandr fails) the attached code
will resync them on the next press of the rotation key.
--
Ticket URL: <http://dev.laptop.org/ticket/5549#comment:7>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system
More information about the Bugs
mailing list