-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Locale doesn't switch back to English-speaking voice with secondLocale=es on safari #134
Comments
Thanks @Nancy-Salpepi! @jessegreenberg and I discovered that this issue was caused by my workaround for having preference for Chrome voices. We fixed that behavior over in phetsims/scenery#1282, and removing the workaround in Number Play seems to have fixed the problem. Ready for confirmation on phettest. |
@Nancy-Salpepi did you notice this error in master or in 1.0.0-dev.45? |
@jessegreenberg I was on Master using a built version so that I could use that query parameter. |
Great, thanks! This assertion is in my court, assigning to me. |
I believe #134 (comment) has been fixed, @Nancy-Salpepi can you please confirm? |
Hey Jesse numberplayfreeze.mov |
I am hitting this again while working on phetsims/utterance-queue#65 |
I think this was fixed in phetsims/utterance-queue@4be055c. I pulled everything and tested in Safari on a Mac with the I AM seeing this on iOS Safari, but I am not convinced that it isn't testing cached code. EDIT: OK I was able to clear the cache and I see this happening on iOS Safari. So there is a form of this issue still around. |
I am failing to get some end events on iOS Safari. Perhapas we need to reopen phetsims/utterance-queue#52 EDIT: Actually, I am failing to get the 'start' event too, we call synth.speak() but nothing happens. |
So far I have tried
It seems to break most consistently on the first usage of SpeechSynthesis with |
OK I finally think I got to the bottom of this in phetsims/utterance-queue#66. I tested on macOS Safari and iOS Safari and saw no crashing in number-play. @Nancy-Salpepi can you please make sure this error is no longer happening? |
@jessegreenberg things look good when I stick to one screen, but if I am in the first screen in Spanish and then switch to the second screen that is in English--the voice is still Spanish. Toggling back and forth fixes the situation. NPlocale2.mov |
Alright! I think that means the crashing bug reported in #134 (comment) is no more but the original problem reported in this issue is not fixed. Will take a look. |
This part of the bug happens on all browsers because there is one It seems like this could be fixed by either updating the @chrisklus do you have a preference? |
Thanks @Nancy-Salpepi and @jessegreenberg! A teacher recently experienced the problem described in #134 (comment), and i've started working on it (my bad for not creating a separate issue yet). My current approach has been the first option that @jessegreenberg described:
And I think that will give the desired behavior. Thanks yall for all the work on this issue - i'll leave assigned to me and close when I make a new issue for the separate voice bug. |
I opened #152 to address #134 (comment), closing. |
Test device
MacBook Air (m1 chip)
Operating System
12.0.1
Browser
Safari
Problem description
For phetsims/qa#771 and related to #31:
When changing the locale back to English, the voice doesn't change back to English. Instead the Spanish-speaking voice says the English words pronounced like Spanish.
This seems to be a Safari issue. It did not occur with Mac + Chrome or Mac + Firefox.
Steps to reproduce
Visuals
secondLocale2.mov
secondLocale3.mov
The text was updated successfully, but these errors were encountered: