Skip to content
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

Vibrations under 1001 ms not playing on Pixel 4a after latest Android 13 update #23

Open
Tracked by #842
brettfiedler opened this issue Sep 15, 2022 · 11 comments
Open
Tracked by #842
Assignees
Labels
type:bug Something isn't working

Comments

@brettfiedler
Copy link
Member

Written in Slack:

Just sort of opened the haptics playground (1.0.0) on a whim and noticed the single and double clicks did not work. Some digging revealed any pattern that plays for 1000ms or less isn't triggering. I know I'm now on a newer android now, but wasn't sure if this had come up or if a newer release is likely to fix it...

Android Version:
image

The 1001 ms window includes spaces or click delay as part of the pattern to trigger. So, a 475 ms double click with 50 ms inter-click time does not trigger (= 1000ms total), but 75 ms does. 450 ms duration + 100 ms inter click does not trigger, 125ms inter click does.

@brettfiedler brettfiedler added the type:bug Something isn't working label Sep 15, 2022
@brettfiedler
Copy link
Member Author

Follow up note - the sound does play even if the vibration does not.

New Android update (still 13) did not fix the above behavior.

@jbphet
Copy link
Contributor

jbphet commented Sep 20, 2022

@jessegreenberg - Can you try running the app on your phone and report whether it exhibits this problem? If you need the link for the latest internal test version, hit me up on Slack and I'll send it to you.

@jessegreenberg
Copy link

I have a Galaxy S8, Android version 9. I just tried Haptics Playground 1.0.0 and clicks and double clicks work well on the "Clicks" screen. Vibrations and buzzes for less than 1000ms all worked on the other screens. Let me know if you need more device info!

@jessegreenberg jessegreenberg removed their assignment Sep 20, 2022
@brettfiedler
Copy link
Member Author

There seems to be something more nuanced about the Multi button. It plays a double, triple, or higher no matter how short it is. Attached example, the Multi button works, but the Double does not.

Screenshot_20220920-154705

Does this work for you @jessegreenberg ? https://googlechrome.github.io/samples/vibration/. Or I think John had an example site to use before. The prior link does not work for me (Pixel4a) or my partners (Pixel5a), both on Android 13

@jessegreenberg jessegreenberg self-assigned this Sep 20, 2022
@jessegreenberg
Copy link

jessegreenberg commented Sep 20, 2022

On my device, I cannot use the "Multi" number input, no matter what value I enter the resultant value is 9. But the "Double" button works well. And the "Multi" button works well for 3 (default value) and 9 (the only value I can seem to set).

All of the buttons at https://googlechrome.github.io/samples/vibration/ worked well for me.

@jessegreenberg jessegreenberg removed their assignment Sep 20, 2022
@jessegreenberg
Copy link

Regarding usage of the "Multi" number input, over slack @BLFiedler said

Had that struggle too. Hold and select all then type the number you want.

I did this and got "Mutli" to 2. In that case, both "Double" and "Multi" work and feel the same on my device.

@jbphet
Copy link
Contributor

jbphet commented Oct 10, 2022

I'm going to assign this to @KatieWoe to have the QA team update this with their findings as they work on phetsims/qa#842.

@KatieWoe
Copy link

I think I'm even seeing this on the tablet in the office, even though it only uses sound and doesn't support haptics. When click duration is short such as 25 or 50 ms, the single click doesn't play. Double will only make a sound 1 in 5 times or so, and only makes one click.

@KatieWoe
Copy link

Short vibrations on the Patterns screen are also prone to disappear for me.

@stemilymill
Copy link

I'm not seeing any of this behavior on my phone (samsung galaxy s21 ultra, android 12 which is the newest available to me). single and double clicks always play no matter how short duration, and with sound added or just vibrations.

@KatieWoe
Copy link

KatieWoe commented Nov 4, 2022

Noting for phetsims/qa#849, with click duration at its shortest (25 ms) it doesn't play or may play incorrectly (such as one buzz instead of 2, etc.).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants