#283 Mnemonics is not working in Pulldown/Cascade Menu in lesstif

open
nobody
5
2007-07-02
2007-07-02
hiral
No

Mnemonics is not working in Pulldown/Cascade Menu in lesstiff-0.95.0:
------------------------------------------------------------------------
1) In a pulldown menu, if the main-menu widget have the same Mnemonic as it's sub-menu widget, then it is not pulling-down the menu, but instead it evaluates it as the event of sub-menu widget.
For example,
'File' main-menu have following sub-menus
'Open'
'Save'
'Frint'
then if user presses <Alt>F it executes 'Frint' option, but instead it should pulldown the 'File' menu.

This functionality can be rectified using lesstif-0.93.94/lib/Xm-2.1/Manager.c line # 1857 (function _XmAcceleratorHandler)

2) In a pulldown menu, if main-menu has several sub-menu options and some of the sub-menu options have sub-sub-menu then the sub-menu and sub-sub-menu Mnemonics are not working.

For example,
'Edit' menu have following sub-menus
'Find' and it has sub-menus 'Replace' and 'All'
then mnemonics <Alt>E F R does not work.

3) If main-menu have several menu options, and some of the menu have sub-menus and some of the sub-menu have sub-sub-menu. And Mnemonics of one menu's sub-menu is similar to other menu's sub-menu or sub-sub-menu then the Mnemonics is not working.

For example;
'App' menu have following sub-menus
'CG' and it has sub-menus 'Po'
'G' and it has sub-menu 'Print'
then mnemonics <Atl>A C P does not work.

I am working in some critical user interface so please update me ASAP.

Discussion