#4144 HIGH First D: game keys events need to be detached from gtk.Focus events

Zarro Boogs per Child bugtracker at laptop.org
Wed Oct 10 13:18:46 EDT 2007


#4144: game keys events need to be detached from gtk.Focus events
------------------------------+---------------------------------------------
  Reporter:  erikb            |       Owner:  bernie                
      Type:  defect           |      Status:  new                   
  Priority:  high             |   Milestone:  First Deployment, V1.0
 Component:  x window system  |     Version:  Git as of bug date    
Resolution:                   |    Keywords:                        
  Verified:  0                |  
------------------------------+---------------------------------------------

Comment(by marco):

 The problem here is that Erik is trying to use these keys for global
 actions (i.e. not affected by the focus, similar to menu key bindings),
 but in gtk they are used for focus navigation in several widgets. I see
 two ways of solving it:

 1 We decide we don't care about these focus navigation bindings (they are
 not required in a strict sense, they are usually shortcuts) and we tell
 activity authors to just override them (and we patch them out of gtk if
 necessary).
 2 We remap the X keys to something unique. I guess what we lose there is
 that the current setup make them just work to some extent (but is it
 really useful or activities will have to override the default behavior
 anyway? And possibly have difficulties to override them.)

-- 
Ticket URL: <https://dev.laptop.org/ticket/4144#comment:1>
One Laptop Per Child <https://dev.laptop.org>
OLPC bug tracking system



More information about the Bugs mailing list