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 795786 - Should shutdown speech when switching off from Xorg
Should shutdown speech when switching off from Xorg
Status: RESOLVED OBSOLETE
Product: orca
Classification: Applications
Component: speech
3.28.x
Other Linux
: Normal normal
: ---
Assigned To: Orca Maintainers
Orca Maintainers
Depends on:
Blocks:
 
 
Reported: 2018-05-03 22:48 UTC by Samuel Thibault
Modified: 2020-11-30 15:46 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Samuel Thibault 2018-05-03 22:48:48 UTC
Hello,

With pulseaudio being basically unavoidable these days, we have a problem of concurrent audio card access between the Xorg session's pulseaudio and the Linux console speech synthesis espeakup. Pulseaudio takes the audio card too strongly for espeakup to be able to use it when switching back to the Linux console.

We'd thus need to have orca release the audio device when switching off from Xorg. It happens that Xorg provides the information through the root window XFree86_has_VT property, so Orca could just monitor that property and disable speech when it becomes 0.

I'm however seeing that the main loop of Orca is actually the registry main loop, so it's not that simple. Perhaps we should add to the registry the ability to monitor it, and Orca would register for a notification?

Samuel
Comment 1 Joanmarie Diggs (IRC: joanie) 2018-05-03 22:59:39 UTC
(In reply to Samuel Thibault from comment #0)

> I'm however seeing that the main loop of Orca is actually the registry main
> loop, so it's not that simple. Perhaps we should add to the registry the
> ability to monitor it, and Orca would register for a notification?

That idea sounds sane to me. Have you opened a bug against AT-SPI2?
Comment 2 Samuel Thibault 2018-05-03 23:20:59 UTC
Not yet, I was looking for opinions, and Cced Mike and Alejandro :)
Comment 3 Joanmarie Diggs (IRC: joanie) 2020-11-30 15:46:05 UTC
If this problem still exists and is an Orca issue (rather than an issue in some other application), please file a new issue in gitlab. Thanks!