Bugzilla – Bug 510829
ContextMenu: keyUp/Down doesn't rise focused and selected states for menu items
Last modified: 2009-07-14 19:43:27 UTC
PROBLEM STATEMENT when pree "down" to a menu item, the menu item should be selected and focused REPRO: 1. Run uia2atk/test/samples/contextmenu_menuitem.py 2. Run the attached script(make sure the focus is on the ContextMenu app) 3. look at the output on console RESULTS: Action: Press <Down>. Item 1 States: [STATE_ENABLED, STATE_FOCUSABLE, STATE_SELECTABLE, STATE_SENSITIVE, STATE_SHOWING, STATE_VISIBLE] Item 2 States: [STATE_CHECKED, STATE_ENABLED, STATE_FOCUSABLE, STATE_SELECTABLE, STATE_SENSITIVE, STATE_SHOWING, STATE_VISIBLE] Item 3 States: [STATE_CHECKED, STATE_ENABLED, STATE_FOCUSABLE, STATE_SELECTABLE, STATE_SENSITIVE, STATE_SHOWING, STATE_VISIBLE] Action: Press <Down>. Item 1 States: [STATE_ENABLED, STATE_FOCUSABLE, STATE_SELECTABLE, STATE_SENSITIVE, STATE_SHOWING, STATE_VISIBLE] Item 2 States: [STATE_CHECKED, STATE_ENABLED, STATE_FOCUSABLE, STATE_SELECTABLE, STATE_SENSITIVE, STATE_SHOWING, STATE_VISIBLE] Item 3 States: [STATE_CHECKED, STATE_ENABLED, STATE_FOCUSABLE, STATE_SELECTABLE, STATE_SENSITIVE, STATE_SHOWING, STATE_VISIBLE] Action: Press <Down>. Item 1 States: [STATE_ENABLED, STATE_FOCUSABLE, STATE_SELECTABLE, STATE_SENSITIVE, STATE_SHOWING, STATE_VISIBLE] Item 2 States: [STATE_CHECKED, STATE_ENABLED, STATE_FOCUSABLE, STATE_SELECTABLE, STATE_SENSITIVE, STATE_SHOWING, STATE_VISIBLE] Item 3 States: [STATE_CHECKED, STATE_ENABLED, STATE_FOCUSABLE, STATE_SELECTABLE, STATE_SENSITIVE, STATE_SHOWING, STATE_VISIBLE] EXPECTED RESULTS: Action: Press <Down>. Item 1 States: [STATE_ENABLED,STATE_FOCUSABLE,STATE_FOCUSED,STATE_SELECTABLE, STATE_SELECTED,STATE_SENSITIVE, STATE_SHOWING, STATE_VISIBLE] ....... Action: Press <Down>. ....... Item 2 States: [STATE_ENABLED,STATE_FOCUSABLE,STATE_FOCUSED,STATE_SELECTABLE, STATE_SELECTED,STATE_SENSITIVE, STATE_SHOWING, STATE_VISIBLE] ....... Action: Press <Down>. ....... Item 3 States: [STATE_ENABLED,STATE_FOCUSABLE,STATE_FOCUSED,STATE_SELECTABLE, STATE_SELECTED,STATE_SENSITIVE, STATE_SHOWING, STATE_VISIBLE]
Created attachment 296681 [details] at-spi sample
the bug is similar to bug 471405, but that bug has been closed.
Since ContextMenu is obsolete API, this may be difficult or impossible to fix. Will require investigation, though. Just commenting because priority is High.
Move all P1 and P2 bugs into Release 1.1 milestone.
Let's spend no more than 8 hours on this. If we can fix it in that period of time, go for it, otherwise, since this is obsolete API anyway, please remove the Release 1.1 milestone.