[Bugs] #475 NORM: Activities need a way to disable Esc to exit fullscreen.

SugarLabs Bugs bugtracker-noreply at sugarlabs.org
Thu Mar 5 09:34:34 EST 2009


#475: Activities need a way to disable Esc to exit fullscreen.
-----------------------+----------------------------------------------------
    Reporter:  wadeb   |          Owner:  tomeu            
        Type:  defect  |         Status:  assigned         
    Priority:  Normal  |      Milestone:                   
   Component:  design  |        Version:  Git as of bugdate
    Severity:  Minor   |     Resolution:                   
    Keywords:          |   Distribution:  Unspecified      
Status_field:  New     |  
-----------------------+----------------------------------------------------
Changes (by eben):

  * owner:  eben => tomeu
  * status:  new => assigned


Comment:

 I don't think alt-enter is a good argument for not binding esc, myself.
 It's rather obscure, and the esc key maps semantically to the desired
 action while alt-enter clearly does not.

 That said, I understand the complications with activities like Terminal
 (it may, in truth, be the only one; are there other examples?)  The
 Cocoa/OSX way to handle this type of thing would be to have a
 esc_key_exits_fullscreen method defined in the activity class, which would
 return true by default.  Activities could override this method and return
 false (always, or contextually), and Sugar would check with the activity
 by calling this method when intercepting the esc key event to ensure
 proper behavior.

-- 
Ticket URL: <http://dev.sugarlabs.org/ticket/475#comment:2>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list