On my mac, when the Signal Window is not focused, it causes a notification to popup. The icon starts jumping to alert the user that they need to click on it because it has a new notification. However, if you don't click on it and instead just focus the window and respond to the notification, the icon continues jumping until it is clicked.
I believe it should stop jumping on window focus regardless of if the icon was clicked.
EDIT: I have only been able to duplicate this four times. It is not a constant issue. Most of the time on focus, it stops the bouncing.
Still happens for me as well (Signal Desktop 0.1.10), even though it was attempted to be fixed already, see issue #440.
Additionally to this bug, would it be possible to create a preference to allow the user to disable the jumping completely?
The only API we have for bouncing the dock icon is dead simple: window.drawAttention() and window.clearAttention() are supposed to turn the bouncing on or off. If you can reproduce this issue and check your debug logs, you should see the obligatory calls to clear attention being triggered on window focus events. Why this sometimes doesn't stop the icon bouncing is a mystery.
why not kill two birds with one stone and setTimeout for window.clearAttention() so that the window bounces only once / short period ? :-)
You get rid of this issue and make the experience nicer for the user. Continuous bouncing on OSX is way too intrusive and naggy. Practically forces you to focus the window.
Short bounce combined with the notification is more than enough IMO.
p.s. another nice ui solution would be badges (the red number on the top corner of the app icon) but they don't seem to be supported in Chrome Apps
p.s.2 sorry if I have offended any bird
@mderazon If clearAttention isn't working from a focus event handler, why would it work from a timeout? Also, the bouncing is the only persistent indicator we have of unread messages. I think missing new messages is worse than having to clear the bouncing.
Anecdotally, on my mac (El Capitan) the dock icon stops bouncing if you merely mouse over it, click/focus change are not required.
If clearAttention isn't working from a focus event handler, why would it work from a timeout?
Good point.
I think missing new messages is worse than having to clear the bouncing.
95% of the times I am not going to miss a bouncing dock icon + notification message, so for 95% of the times I am forced to switch context to Signal app to clear the bounciness. Even worse when you consider that you can just read the message content in the notification box and sometimes reply is not even needed.
Today I saw that there's a _mark as read_ button in the notification box. This is great btw. I haven't got the chance to test its behaviour but if we can clearAttention when "mark as read" is clicked than that would make a great solution as well. Or maybe it's already the case ?
This is still happening and quite frankly it is driving me nuts. I would love a fix on this issue!
Thanks
As a temporary solution, can we have a setting to turn of dock bouncing entirely? What I'd like is to still receive popup notification rectangles in the top right corner of the screen, but not have the dock icon bounce at all. Currently, I can "turn off notifications", but this would lose me both the notifications and the bounce, and I want only the bounce gone.
For interesting context, see https://bugs.chromium.org/p/chromium/issues/detail?id=402722.
Note that turning notifications off in the settings doesn't even get rid of the dock bouncing, so there's no way to turn it off, period.
This is now fixed with Signal Desktop, so the issue may be closed.
Wonderful news! Thanks so much.
Most helpful comment
Additionally to this bug, would it be possible to create a preference to allow the user to disable the jumping completely?