Bugzilla – Bug 475082
OpenFileDialog: PopupButton has wrong states -- Everything fixed except +/- "focused" state.
Last modified: 2009-07-07 18:25:20 UTC
PROBLEM STATEMENT: PopupButton is missing "showing" state REPRO: 1. run accerciser 2. run uia2atk/test/samples/openfiledialog.py, click "OpenDialog" button to invoke OpenFileDialog, PopupButtonPanel with "Recently used", "Desktop", "Personal" PopupButtons in this example 3. in accercuser, expand dialog, select PopupButton like "Desktop" from left tree, then see states under interface viewer RESULTS: PopupButton has states: [Enabled, Selectable, Sensitive, Visible] EXPECTED RESULTS: PopupButton is missing "showing" state I don't think MenuItem in here is selectable, otherwise we should provide AtkSeletion for its parent Panel so I think the correct states should be [[Enabled, Showing, Sensitive, Visible] COMMENTS:
Add Comments: Press Tab can focus to popupButtonPanel, then press keyDown/Up can move focus between popupButtons, so do you think we need provide "focusable" and "+-focused"?
Good catch, Calen. Taking bug.
Sandy, can you update the estimate for this bug? Thanks.
P1s and P2s automatically go into Release 1.0.
Frustratingly, focus change events do not work for PopupButton at this time. Thanks for catching this; we'll need to patch MWF to make it work correctly. As for removing Selectable/Selected, that seems to contradict the resolution of bug #457990. Seems it was decided that all tool bar items would be marked Selectable, and would be marked Selected when focused. Of course, I could be misunderstanding that part. Will at least fix Focusable, which is not set due to a bug in our stuff. Then all that is left to do is the MWF patch (and after Thursday I will file the MWF blocker bug).
Created attachment 278976 [details] Part of fix, with test This at least makes the PopupButton show up as Focusable, and includes a test for the states. Confused about a bunch of bridge test regressions I'm seeing (that seem unrelated to my patch), so holding off on committing this.
Comment on attachment 278976 [details] Part of fix, with test Patch committed in r129154 of UIAutomationWinforms and UiaAtkBridge.
Retargetting to 1.1 for rest of fixes, unassigning.
This bug as it was originally described in the summary and description are fixed. This bug is now tracking the lack of "focused" state for the PopopButton accessible. I am changing the summary to indicate this, but we should open new bugs for situations like this in the future.