GNOME Bugzilla – Bug 672994
Orca sometimes presents previously-entered text in GNOME Shell Alt+F2 dialog
Last modified: 2012-04-26 18:06:21 UTC
Steps to reproduce: 1. Launch Orca and press Alt+F2 2. In the resulting GNOME Shell type the name of an app and press Return 3. Rinse and repeat At some point, though I have not yet figured out the trigger, Orca will present not just the dialog's label, but also the previously-typed app name. (The fix will likely be made on the gnome-shell side rather than the Orca side. But filing here for now as a known issue.)
Found a reliable way to reproduce this on multiple machines: 1. Log in (or startx) 2. Launch gnome-terminal via Alt+F2 dialog 3. Launch orca from within gnome-terminal 4. Press Alt+F2 and listen Orca will speak the name 'gnome-terminal' when presenting the Alt+F2 dialog. (Yes, it's an edge case, but reliable.)
After some research it seems that the problem is that in some cases the text is not deleted when the dialog opens. But the real problem, IMHO, the problem is that CallyText is exposing ClutterText.text as the accessible-name of the text. That could be true in old times, when ClutterText was used as labels, etc, but not true anymore. ClutterText.text is not a proper accessible-name and already exposed by AtkText implementation. I will create a patch to remove that.
Created attachment 212418 [details] [review] Stop to use text as default accessible-name My first tests shows that this patch solves the problem. And as mentioned on previous comment, it is the right thing to do. I will not commit it right now as I would like to make some extra tests first.
> I will not commit it right now as I would like to make some extra tests first. Extra tests done. Patch committed on master. Closing bug