[Bug 1987979] Re: [snap] Firefox Narrator stopped working after upgrade from 20.04 to 22.04
Bug Watch Updater
1987979 at bugs.launchpad.net
Thu Sep 1 18:19:08 UTC 2022
Launchpad has imported 10 comments from the remote bug at
https://bugzilla.mozilla.org/show_bug.cgi?id=1729750.
If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.
------------------------------------------------------------------------
On 2021-09-08T17:48:00+00:00 Olivier Tilloy wrote:
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:92.0) Gecko/20100101
Firefox/92.0
Steps to reproduce:
Using the firefox snap, open the devtools console, and enter:
speechSynthesis.speak(new SpeechSynthesisUtterance("Testing 1 2
3"));
Actual results:
Nothing (no text is being spoken).
Expected results:
speech-dispatcher should be speaking "Testing 1 2 3".
This is a snap-specific issue, speech synthesis works well with an
unconfined build of firefox. More details at
https://forum.snapcraft.io/t/firefox-snap-speech-dispatcher/6165.
Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1987979/comments/0
------------------------------------------------------------------------
On 2021-09-08T18:17:30+00:00 Release-mgmt-account-bot wrote:
The [Bugbug](https://github.com/mozilla/bugbug/) bot thinks this bug
should belong to the 'Core::Web Speech' component, and is moving the bug
to that component. Please revert this change in case you think the bot
is wrong.
Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1987979/comments/1
------------------------------------------------------------------------
On 2022-06-23T18:04:33+00:00 Lonnen wrote:
original poster notes that this is a snap-specific issue not a speech
issue
Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1987979/comments/2
------------------------------------------------------------------------
On 2022-07-08T12:07:56+00:00 Release-mgmt-account-bot wrote:
The severity field is not set for this bug.
:gerard-majax, could you have a look please?
For more information, please visit [auto_nag
documentation](https://wiki.mozilla.org/Release_Management/autonag#workflow.2Fno_severity.py).
Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1987979/comments/3
------------------------------------------------------------------------
On 2022-07-22T17:22:47+00:00 Lissyx+mozillians wrote:
I was not even able to get speech synthesis to work in non snap firefox
either :)
Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1987979/comments/4
------------------------------------------------------------------------
On 2022-08-25T08:34:18+00:00 Olivier Tilloy wrote:
I can confirm it doesn't work for me, neither in the snap nor in the
upstream tarball.
Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1987979/comments/5
------------------------------------------------------------------------
On 2022-08-25T08:35:12+00:00 Olivier Tilloy wrote:
For the snap, [this thread](https://forum.snapcraft.io/t/text-to-speech-
support-in-snapd/17099) is relevant.
Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1987979/comments/6
------------------------------------------------------------------------
On 2022-08-25T08:36:34+00:00 Olivier Tilloy wrote:
And [a similar
issue](https://bugs.launchpad.net/ubuntu/+source/chromium-
browser/+bug/1792300) affecting the chromium snap.
Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1987979/comments/7
------------------------------------------------------------------------
On 2022-08-25T15:35:18+00:00 Lissyx+mozillians wrote:
After bug 1666703 is fixed, there are still a few roadblocks:
- we need to add `libspeechd2` as a `stage-packages` component in the firefox snap
- we need to `prime` `usr/lib/*/libspeechd.so.*`
That is still not enough. By default, communication is done over a
socket `$XDG_RUNTIME_DIR/speech-dispatcher/speechd.sock`, granting this
would need some snapd interface change.
Experimenting further by forcing `SPEECHD_ADDRESS=inet_socket` (as well
as in the configuration file `/etc/speech-dispatcher/speechd.conf`, one
still cannot get `speechSynthesis.getVoices()` to return more than an
empty array. It looks like `libspeechd2` somehow handles some auto
spawning of the daemon, and I assume this is getting blocked by the
Snap-level sandboxing.
This can be bypassed by issuing `spd-say -L` aside of a running Firefox,
and once you have a process spawn quickly isssuing a
`speechSynthesis.getVoices()` to connect to it. Once that is done,
Speech Synthesis can work.
Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1987979/comments/8
------------------------------------------------------------------------
On 2022-08-26T09:05:09+00:00 Lissyx+mozillians wrote:
Auto spawning seems to simply require the executable to be within the
Snap. Ubuntu people suggested we rather rely on socket activation as
reported on https://github.com/brailcom/speechd/issues/448. That, in
combination with bug 1787245 should be enough.
Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1987979/comments/9
** Changed in: firefox
Status: Unknown => New
** Bug watch added: github.com/brailcom/speechd/issues #448
https://github.com/brailcom/speechd/issues/448
--
You received this bug notification because you are a member of Mozilla
Bugs, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/1987979
Title:
[snap] Firefox Narrator stopped working after upgrade from 20.04 to
22.04
To manage notifications about this bug go to:
https://bugs.launchpad.net/firefox/+bug/1987979/+subscriptions
More information about the Ubuntu-mozillateam-bugs
mailing list