GNOME Bugzilla – Bug 591871
Orca says "off" for all push buttons on the OOo toolbars and doesn't say "on" when it should
Last modified: 2013-01-07 14:44:01 UTC
This is a spin-off bug from bug 590680. 1. We say "off" for all push buttons on the OOo toolbars; not just the formatting buttons. If a user is exploring the toolbar, all of those "offs" will rapidly become... well... off-putting. :-) 2. If a user happens to be on the toolbar and presses an object of ROLE_PUSH_BUTTON and that object emits an object:state-changed:checked event, we present nothing.
Created attachment 140824 [details] [review] proposed fix This gets rid of the off-putting offs and causes us to announce when the user is on a push button and that push button emits an object:state-changed:checked event. In the latter case, if detail1 == 1, we say 'on' at the end (Bold on). If detail1 == 0, we do not say 'off' (Bold). Note that we *do* continue to say 'on' as well as 'off' if the user is not on the button, for instance when pressing Ctrl+B while editing a document. This patch only impacts what happens when the user is physically on the toolbar button which we are presenting. Will please review. Thanks!
Comment on attachment 140824 [details] [review] proposed fix When navigating the toolbar, it wasn't obvious to me that I would only hear "on" if the feature was set. :-( As a result, I thought Orca was misspeaking when it said "Bold" when I landed on the bold button -- to me, it sounded like Orca was telling be "Bold" had been set. So, I'm not sure I really agree that eliminating 'off' is the right thing to do. If anything, perhaps it should be turned off only if the verbosity level is set to brief. Since this also represents kind of significant change in how we present the toolbar, I'd also say we push this out to 2.29.
Okie dokie. If we're going to push it off, then really what we should do is not do this patch, but file a bug against OpenOffice so that push buttons are push buttons and toggle buttons are toggle buttons. I'll do that. And as soon as I can work out where the status for my patch can be changed, I'll reject it. :-)
http://www.openoffice.org/issues/show_bug.cgi?id=104293 has been opened so that we will get the proper role. Then we can say "off" for toggle buttons which are not checked and not say "off" for push buttons. Blocking this bug and retargeting for FUTURE as we have little control over the bugs that block us.
*** Bug 590680 has been marked as a duplicate of this bug. ***
The blocking bug is fixed. We just need to make the corresponding change on our end. Note to self while I'm thinking about it: This change, once made, should NOT be put back in 2.32.1 because users will likely not have the OOo fix in question.
http://git.gnome.org/browse/orca/commit/?id=25bba860926eca453a0bf347e4b90d1d419cd88f