Bug 510829 - ContextMenu: keyUp/Down doesn't rise focused and selected states for menu items
Summary: ContextMenu: keyUp/Down doesn't rise focused and selected states for menu items
Status: NEW
Alias: None
Product: UI Automation
Classification: Mono
Component: Winforms - General (show other bugs)
Version: Release 1.0
Hardware: i686 openSUSE 11.1
: P3 - Medium : Normal
Target Milestone: Release 1.1
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-08 08:01 UTC by Feng Xia Mu
Modified: 2009-07-14 19:43 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
at-spi sample (2.09 KB, application/octet-stream)
2009-06-08 08:03 UTC, Feng Xia Mu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Feng Xia Mu 2009-06-08 08:01:12 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]
Comment 1 Feng Xia Mu 2009-06-08 08:03:40 UTC
Created attachment 296681 [details]
at-spi sample
Comment 2 Feng Xia Mu 2009-06-08 08:05:30 UTC
the bug is similar to bug 471405, but that bug has been closed.
Comment 3 Sanford Armstrong 2009-06-09 00:48:16 UTC
Since ContextMenu is obsolete API, this may be difficult or impossible to fix.  Will require investigation, though.  Just commenting because priority is High.
Comment 4 Brad Taylor 2009-07-14 16:08:38 UTC
Move all P1 and P2 bugs into Release 1.1 milestone.
Comment 5 Brad Taylor 2009-07-14 19:43:27 UTC
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.