After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 626200 - Modules should use script methods for presenting messages
Modules should use script methods for presenting messages
Status: RESOLVED FIXED
Product: orca
Classification: Applications
Component: general
unspecified
Other All
: Normal normal
: 2.32.0
Assigned To: Joanmarie Diggs (IRC: joanie)
Orca Maintainers
Depends on:
Blocks: 543157
 
 
Reported: 2010-08-06 13:58 UTC by Joanmarie Diggs (IRC: joanie)
Modified: 2010-09-20 10:57 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Joanmarie Diggs (IRC: joanie) 2010-08-06 13:58:34 UTC
A while back the default script was given several methods for presenting messages to the user:

* presentMessage()
* speakMessage()
* displayBrailleMessage()

The application and toolkit scripts, for the most part, now rely upon these methods rather than calling methods in braille.py and speech.py directly. The same cannot be said for other modules within Orca.
Comment 1 Joanmarie Diggs (IRC: joanie) 2010-08-06 14:07:05 UTC
Blocking bug 543157 against this one.

While the exact definition/specifications of a "system voice" in Orca have yet to be fully agreed upon, the basic idea is that such a voice is designed to present text (or, if you will, "messages") which are not displayed as literal words on the screen. 

In other words, presentMessage() and speakMessage() are just dying to step up to the plate as a primary means by which to convey system information (aka bug 543157). We just need to ensure that we're calling these methods first.... :-/
Comment 2 Joanmarie Diggs (IRC: joanie) 2010-08-06 18:03:29 UTC
http://git.gnome.org/browse/orca/commit/?id=9eeb1fe30f36538b87d407961744fde06805d387

Fix committed to master, along with some updated regression tests: I found yet more cases where we were only speaking information and not brailling it.