#2424 default menu keyboard binding Aqua inconsistencies

closed-works-for-me
7
2011-01-17
2008-03-13
Jim DeVona
No

The default bindings for Tk menus include the use of arrow keys to navigate menus and return or the space bar to invoke the selected item 9http://www.tcl.tk/man/tcl8.5/TkCmd/menu.htm#M77). These bindings do not seem to work with Tk Aqua on Mac OS X 10.5 (I cannot confirm whether this applies to Mac OS X 10.4 as well).

Attached is a simple script which creates a pair of menus containing dummy items and a submenu. In X11 and Windows, I can change the selected menu item with the up and down arrows and change menus with the left and right arrows. (If the submenu item is selected, the right arrow shows the cascade menu.) Pressing the space bar or return selects the items and unposts the menu.

These commands do not seem to do anything with Tk Aqua. This is noticeable because most Mac OS X applications do permit keyboard navigation with the arrows.

The specific versions I've tested are listed here. Keyboard navigation does not work as expected in the Aqua combinations but does in the other two.

8.5.0 Aqua Mac OS X 10.5.2
8.4.17 Aqua Mac OS X 10.5.2
8.5.1 X11 Mac OS X 10.5.2
8.5.1 Windows Server 2003

Discussion

  • Jim DeVona

    Jim DeVona - 2008-03-13

    script to create example menus - keyboard navigable in non-Aqua Tk

     
  • Adrian Robert

    Adrian Robert - 2008-10-21

    This worked under 8.4.7 Aqua (the Tcl/Tk) distribution included with OS X 10.5.
    So this is a regression occurring during 8.4.7 -> 8.4.17.

     
  • Donal K. Fellows

    confirmed that it's an issue with 8.5.2 (ActiveState build) and OSX 10.5.4

     
  • Donal K. Fellows

    • priority: 5 --> 7
     
  • Kevin Walzer

    Kevin Walzer - 2011-01-17

    Not present in CVS HEAD build (8.6.) on1/17/2011. Works fo rme.

     
  • Kevin Walzer

    Kevin Walzer - 2011-01-17
    • status: open --> closed-works-for-me
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks