Bugzilla – Bug 520153
PropertyGrid: menu items with '-' text on ContexMenu should not have 'focusable' state and 'selectable' state
Last modified: 2009-07-08 11:30:23 UTC
REPRO: 1. run uia2atk/test/samples/propertygrid.py. 2. run the attached scripts RESULTS: step2: Dash_item States: [STATE_ENABLED, STATE_FOCUSABLE, STATE_SELECTABLE, STATE_SENSITIVE, STATE_SHOWING, STATE_VISIBLE] EXPECTED RESULTS: step2: Dash_item States: [STATE_ENABLED,STATE_SENSITIVE, STATE_SHOWING, STATE_VISIBLE] SUMMARY: if we do as following: 1. on GUI, mouse Left click the "Font" tablecell, then mouse Right click. 2. press "Down" or "Up" all the time we can see that when using "Down"/"Up" key to put focus cycles on menu item, the cursor will not stop on the menu items "------" which looks like a separator, it seems that it can't be focused and be selected. Base on its special behavior, I think the kind of menu item should not have the 'focusable' and 'selectable' states.
PS. if we set a button's height to 0, make it like a separator, it also can be selected or focused by mouseclick or key navigation.