Signal-Android icon indicating copy to clipboard operation
Signal-Android copied to clipboard

Enable vibration for In-thread notifications

Open generalmanager opened this issue 12 years ago • 7 comments

A friend of mine found a bug in MessageNotifier.java:

If the options "In-thread notifications" and "Vibrate" are activated the phone vibrates and rings just fine unless you are in the thread that has a new message. In that case only the ringtone is played, but the phone doesn't vibrate.

generalmanager avatar Apr 15 '14 17:04 generalmanager

I noticed this, too. But I actually like this "feature" :D When the screen is on and I am in a thread I do not really want the phone to vibrate (it has got my attention already). Just the ringtone is fine.

SlappyHours avatar Apr 21 '14 08:04 SlappyHours

If you don't want to be notified at all, you can disable the in-thread notifications completely in the settings. Unfortunately the current behaviour poses a problem for everybody in an environment where one has to have the phone muted, but wants to be notified. We should either automatically use both notification methods or make it configurable.

generalmanager avatar Apr 21 '14 09:04 generalmanager

This is like, a feature. A bunch of people requested that the device not vibrate when the screen is on and a thread is open, so we made that the default behavior. We'd have to add a new preference if we wanted to change that, which of course I am loath to do.

moxie0 avatar May 16 '14 15:05 moxie0

I see. I'm not a fan of it, because it's not the expected behaviour judging from the settings description, but I can see where the idea came from.

I agree that we should not create a third notification setting which would further clutter the UI.
One possibility would be to use the Android settings:

  • Not muted -> ring, no vibration
  • Muted, vibration on -> don't ring, vibrate
  • Muted, vibration off -> only visual indicators

Is that possible without new permissions? If so I'd like to see it implemented that way, otherwise I'd prefer to leave this ticket open and wait until the next update with permission changes comes up. Other ideas are also appreciated.

generalmanager avatar May 16 '14 15:05 generalmanager

Is this really the same as https://github.com/WhisperSystems/TextSecure/issues/1965? I totally understand that there is no vibration if you're already in the thread that gets the message, but in my case, the phone was locked, the screen was off and there was no notification at all. No Sound and no Vibration.

Wopfi avatar Feb 16 '15 07:02 Wopfi

Closed too quickly, you're right. Reopening and thanks for checking @TWfromSWD!

mcginty avatar Feb 16 '15 07:02 mcginty

GitHub Issue Cleanup: See #7598 for more information.

automated-signal avatar Apr 02 '18 21:04 automated-signal