GNOME Bugzilla – Bug 350212
Spin Buttons only announce one change.
Last modified: 2006-08-08 19:35:18 UTC
Look at gnome-terminal prefs spin buttons - up and down arrow to change the value. Note that it brailles all changes, but doesn't speak them. [Tested by Will with the CVS equivalent of Orca 0.2.8 on Ubuntu Dapper Drake v6.06].
This is definitely a bug.
The initial: SPEECH OUTPUT: '1000 spin button' is the result of a "focus:" event. After that, there is an "object:text-caret-moved" event, which causes: SPEECH OUTPUT: '1001' to be spoken. From then on, we get pairs of "object:text-changed:delete" and "object:text-changed:insert" events. What it looks like we can do is add some code to onTextInserted() in default.py to check to see if the role of the event.source object is a "spin button". If it is, then always speak the text.
Created attachment 70498 [details] [review] Patch to hopefully fix the problem. This patch seems to nicely speak the text in a spin button as you Up/Down arrow to change it's value. It has the side-effect of speaking the first change twice: once for the "object:text-caret-moved" event and then again for the "object:text-changed:insert" event. Could somebody try this out and see if it's what we want? Thanks.
Talked this over with Will Patch looks okay. Checked into CVS HEAD. Closing as FIXED.