keynav issues



Hi,

Some issues that will probably come up trying to get keynav right,
some of these no doubt involve API changes and/or feature creep.

Calum's document: http://developer.gnome.org/projects/gap/keyboardnav.html

 - F10 focuses menubar. Need a way to discover "the menubar"; needs to 
   be a user-configurable binding. Should discover the menubar as with 
   mnemonics, but should be configurable as with binding set or
   accelerators. Also, if two menubars, F10 should cycle between them.

   Suggest binding set on GtkWindow, plus a hack of some kind to 
   register/unregister menubars with GtkWindow.

 - In message boxes, simply the mnemonic letter (without Alt) should 
   work to activate buttons. 

   This would presumably mean that we'd have some call 
   gtk_window_set_mnemonics_unmodified() or the like, to be used
   with windows that you would never type into.

 - Enter and Escape

   Calum suggests that these correspond to OK and Cancel, and that
   they not exist in dialogs that have other buttons.

   The way these work in GTK now is that Enter corresponds to the 
   default button (which is highlighted specially) and Escape 
   corresponds to clicking the window manager close decoration (the X
   in the titlebar). Should this change?

 - Arrow keys off by default, but used for navigation in specific
   contexts such as radio groups. Need mechanism for doing the 
   radio group nav.

 - lock accelerators by default

 - F8 to focus GtkPaned handle - how do we do this F8 binding? 
   should take effect if any child of the GtkPaned has focus.

 - Toolbars have no keynav, need a container_focus implementation 
   for GtkToolbar I'd guess

 - Pop-up tooltip on a widget - requires some concept of "tooltip for 
   this widget." Accessibility API seems to require same.

In general we need to go through Calum's document and do a diff
between current GTK behavior and desired behavior, and file bugzilla
reports for each required modification to current behavior. Any
volunteers?  ;-)

Havoc









[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]