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 Desktop Packages, 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 Status in Mozilla Firefox: New Status in firefox package in Ubuntu: In Progress Bug description: I just noticed that the narrator feature, which reads articles out load with TTS in Firefox reading view stopped working after upgrading to 22.04. Another user reported the same problem on ask Ubuntu: https://askubuntu.com/questions/1418391/no-tts-voices-on- firefox-v102-0-after-upgrading-to-ubuntu-22-04-lts Also, if you have no clue what this is about: https://askubuntu.com/questions/953509/how-can-i-change-the-voice- used-by-firefox-reader-view-narrator-in-ubuntu --- 1) $ lsb_release -rd Description: Ubuntu 22.04.1 LTS Release: 22.04 2) Firefox is a snap now, but I guess for the feature to work it needs to detect TTS which is packaged as deb. $ snap list firefox Name Version Rev Tracking Publisher Notes firefox 104.0-3 1749 latest/stable mozilla✓ - $ apt-cache policy espeak speech-dispatcher-espeak-ng firefox espeak: Installed: 1.48.15+dfsg-3 Candidate: 1.48.15+dfsg-3 Version table: *** 1.48.15+dfsg-3 500 500 http://de.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages 100 /var/lib/dpkg/status speech-dispatcher-espeak-ng: Installed: 0.11.1-1ubuntu1 Candidate: 0.11.1-1ubuntu1 Version table: *** 0.11.1-1ubuntu1 500 500 http://de.archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages 100 /var/lib/dpkg/status 0.11.1-1 500 500 http://de.archive.ubuntu.com/ubuntu jammy/main amd64 Packages firefox: Installed: (none) Candidate: 1:1snap1-0ubuntu2 Version table: 1:1snap1-0ubuntu2 500 500 http://de.archive.ubuntu.com/ubuntu jammy/main amd64 Packages 100 /var/lib/dpkg/status 3) open a website, enter reader mode, click the icon with sound waves and hear the text being read with TTS 4) the icon is missing --- Edit: I tested Firefox Flatpak and it is also affected, my best guess is that Firefox is not at fault. To manage notifications about this bug go to: https://bugs.launchpad.net/firefox/+bug/1987979/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp