Bugzilla – Bug 474647
OpenFileDialog: PopupButtonPanel and PopupButton have wrong role name
Last modified: 2009-10-28 20:09:46 UTC
PROBLEM STATEMENT: PopupButtonPanel has been bridged to "tool bar", PopupButton has been bridged to "menu item" under panel role 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 to see PopupButtonPanel and PopupButton's role name RESULTS: PopupButtonPanel has bridged to "tool bar", PopupButton has been bridged to "menu item" under panel role EXPECTED RESULTS: I think it would be better if role name of PopupButtonPanel is "panel", and PopupButtons are "push button" as children under PopupButtonPanel COMMENTS:
This is based on how it appears on Vista. I think your suggestion would be fine, but I don't see any problem with ToolBar and MenuItem. I am closing, but if this is causing behavior problems for you, please feel free to re-open. As far as I can tell, appearling as ToolBar/MenuItem is not hurting anything.
Hi Sandy, I opened this bug just because MenuItem can't rise "focused" state information for Orca to speak out when doing KeyUp/Down action, even though MenuItem has "focusable" state. I am not sure why it appears ToolBar/MenuItem on Vista and HasKeyboardFocus always shows "False" when focus on one MenuItem. Do you have any idea? thanks!
I think Comment#2 is relate to BUG475082, the goal is let orca can read the PopUpButtons, so please close this bug as soon as you fix bug475082, thanks :)
The real bug here is that those buttons should be a ToggleButton, not a MenuItem. Working on it...
(In reply to comment #4) > The real bug here is that those buttons should be a ToggleButton, not a > MenuItem. > > Working on it... As stated before, we do it as a MenuItem because that's how it appears in Vista. I think Calen's problem would be fixed if bug #475082 were fixed. I don't know if it's worth the effort to reimplement them as ToggleButtons, though that may be more correct, since in Vista they don't really have a button-like appearance. Your call. :-)