[Trac #1049] Holding the rotate button

Zarro Boogs per Child bugtracker at laptop.org
Wed May 9 21:08:49 EDT 2007


#1049: Holding the rotate button
---------------------+------------------------------------------------------
  Reporter:  pengo   |       Owner:  jg     
      Type:  defect  |      Status:  new    
  Priority:  normal  |   Milestone:  BTest-4
 Component:  sugar   |     Version:         
Resolution:          |    Keywords:         
---------------------+------------------------------------------------------
Changes (by jg):

 * cc: Eben (added)
  * keywords:  rotate, rotation =>
  * owner:  dcbw => jg
  * priority:  high => normal

Old description:

> Holding down the rotate button can take a long time to recover from
> (presumably due to a large buffer of "rotate events" being generated),
> and when done in the PDF reader (looking at the biomes pdf) it may cause
> Sugar (or something) to crash, and you find yourself at a command prompt.
> I can't reproduce the crash, but I can cause the machine to effectively
> lock-up for 2 or 3 minutes by holding the "rotate button" for a few
> seconds, as it rotates the screen many many times.
>
> Work around: Don't hold down the rotate button.
>
> Better solution: Buffered rotation events should be collapsed, so, for
> example, two events received should cause a 180 degrees rotate without
> the intermediate 90 degree rotation. "Shift-Rotate" should go clockwise
> rather than the usual CCW.
>
> Background: Running a B2 with 303 (upgrade worked fine). Was trying to
> see if there was a way to rotate the screen clockwise rather than CCW
> ("if pressing the button once goes one way", I thought, "maybe holding it
> for a moment will cause it to go the other way.... [crash].. maybe not."
>
> Other notes: Would be good to have a crash screen that's more informative
> than "localhost login: ".

New description:

 Background: Running a B2 with 303 (upgrade worked fine). Was trying to see
 if there was a way to rotate the screen clockwise rather than CCW ("if
 pressing the button once goes one way", I thought, "maybe holding it for a
 moment will cause it to go the other way.... [crash].. maybe not."

Comment:

 OK, I made sure by 385 that this button would not autorepeat, and
 inventoried the keys and turned off autorepeat on many/most keys.

 X shouldn't crash on rotation, but then again, the code's all been
 reworked since this report.

 So I'm eliminating all of the bug report except noting to Eben we might
 want to consider having a longer button press rotate back, rather than
 rotating in a complete circle.

 Eben, is a long press a good idea to use for rotate back?

-- 
Ticket URL: <http://dev.laptop.org/ticket/1049#comment:3>
One Laptop Per Child <http://laptop.org/>



More information about the Bugs mailing list