-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
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
Personalised notification settings in groups are not working properly #10831
Comments
I was able to "kind of" reproduce the issue and I believe it's not a bug in Signal. But I might be looking at something different from what @error401de was seeing/feeling, in which case just ignore. What I did: I turned on the vibration in the group settings > custom notifications, then turned off the phone screen. When I received a message to the group, the phone vibrated in a standard pattern. So far so good. I opened Signal, went to the same group settings > custom notifications and turned off the vibration this time. I turned off the phone screen again. When I received a message to the group again, the phone did vibrate, but in a different, more subtle way. This might be what @error401de is seeing/feeling. If it was not, apologies; ignore my comment here. It turned out that I was able to turn off the subtle vibration by going to the Android settings > Accessibility > Vibration & haptic strength. My phone doesn't vibrate any more when I receive a message to the group after I turned off the vibration there. My Device: Essential PH-1 |
Hi @alan-signal, I have the exact same issue as @error401de. Debuglogs are attached. I tested it with a group around 22:45 - 23:00 o'clock. |
Quick disclaimer: I'm new to this codebase. My, not yet tested, theory is that AbstractNotificationBuilder.setAlarms() is related to this behavior. Line 50 in e95bb9c
setAlarms() is responsible for setting the ringtone and vibration for a specific notification, and, in its current iteration, it does not seem to properly handle the case when vibration is disabled by the user in the group settings page. From what I can tell, setAlarms() will set vibrations to the default when vibrations are:
However, there is no logic for expressly disabling vibrations. If the AbstractNotificationBuilder, or some related class in the notification pipeline, disabled vibrations by default, then the current logic would work fine. I will test this to confirm my theory. @alan-signal what are your thoughts? |
Hi @greyson-signal / @alan-signal, |
Hope to have a fix for this in 5.14, thanks for your patience and sorry for the radio silence from our end. edit: Will be in 5.14.1 beta coming soon. |
Hi @cody-signal, |
@greyson-signal / @alan-signal any update on this? |
We pushed a follow up fix to this a few releases ago, is it still happening? If so, can you provide a fresh debug log? |
@cody-signal I just rechecked and it's not even possible anymore to toggle the switch for vibration off.
I was able to replicate this behaviour from 2 different phones (Galaxy S9 & S6) |
Thanks for the bump, thought this was fixed, but yeah, it's obviously not for the UI. Does the notification still vibrate though? When I turn it on and then off for a group, and leave, I no longer get vibrates on the group. |
Oh, true, it's only the UI! Seems like after the actual fix the default setting was set to vibrate, which is why I still saw the behaviour. If i switch it off it actually doesn't vibrate, no matter what the UI says. |
@cody-signal / @alan-signal / @greyson-signal I just recognized the issue is fully back. "Vibration" toggle is off for some groups, still phone is vibrating on notifications. |
Please provide an updated debuglog. |
Thanks for following up @cody-signal ! Is there any possibility to send you the log without sharing it here publicly? |
You can email me at cody@signal.org |
Done, thank you so much! |
Hi @cody-signal, |
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
Yes, this is still relevant and I did not hear back from Signal. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Still open, still no answer from @cody-signal to my logs. |
There's a beta out now that should be directing Android 11/12 users to the device notification settings for a given conversation rather than using the in-app settings, which should resolve this issue. |
Hi @alex-signal, |
Yes, you can opt-in and then out of the beta, you'll still have the beta apk until a later prod version is pushed. As in, beta is 5.38.2, so you can temporarily switch to that, but you won't be able to then switch right back to current prod, you'll have to wait until some version of 5.38.2+ is promoted to production to be as if you never left the stable channel. |
It's working in the beta, thanks a lot! |
Bug description
I'm using the German UI so I hope I translate the settings correctly.
"Personalised notifications" setting in groups are not working properly. "Vibration" is turned off in UI, still the phone vibrates when messages are coming in. The only alternative is to mute the full group bun in that case you won't receive any notifications.
Steps to reproduce
Actual result: Phones vibrates
Expected result: It shouldn't
Screenshots
Device info
Device: Samsung Galaxy S9
Android version: 10
Signal version: 5.2.3
The text was updated successfully, but these errors were encountered: