Re: [orca-list] (RFC) speaking position in XUL menus



Hy,

Trevor, you wrote:
" Ok, so you'd rather have a gues where you are in the full menu than
 firm knowledge where you are ina group of items in the menu."
Yes, I suggest original git master used values. Your patch announced now used menu grouping is not always good, but this is not your mistake. If possible need restoring oldest menu position index calculation with following objects: pyatspi.ROLE_CHECK_MENU_ITEM, pyatspi.ROLE_MENU_ITEM, pyatspi.ROLE_RADIO_MENU_ITEM, pyatspi.ROLE_TEAROFF_MENU_ITEM, and pyatspi.ROLE_MENU. So, if the future awailable bug 634642 patch resulting right original git master produced position index values with Thunderbird file menu with you see prewious, this is will be good because Orca newer recalculating position index values if have disabled menu items, but this is not only XUL menu specific problem and little offtopic. Note: technical this is not possible in future (decreasing disabled menuitems with positional index values)? For example if you opening Gedit and looking the edit menu, I think five menu items are disabled by default. In future because Orca doesn't presenting disabled menu items when the user navigating the arrow keys, not possible recalculate position index value with beginning 1 and increasing only the enabled menu item numbers?
An example with easy help demonstrate what the problem now:
For example, have an application, with have ten menu items the file menu.
The 2., 3., and 4. menu items is disabled by default, because not happened a case with need enabling the 2., 3., and 4. menu items. Now, Orca when the user landing the file menu and jump the first menu item spokening 1 of 10 position index value. For example, the user press down arrow key. Because the 2., 3. and 4. menu items is disabled, the next spokened position index value is 5 of 10, not 2 of 10. Because in this example application real possible choosing 7 menu items (some menues is now disabled and not announced when the user navigate the arrow keys), the real position index values is following:
If the user landing the file menu, the first position index value is 1 of 7.
When the user pressing Down arrow, the next position value is 2 of 7, etc.

Attila



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