Bug 316175

Summary: Notifications are emitted for messages sent before the text-ui initialised
Product: [Frameworks and Libraries] telepathy Reporter: Daniele E. Domenichelli <ddomenichelli>
Component: text-ui-message-filtersAssignee: Telepathy Bugs <kde-telepathy-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: kde, mklapetek
Priority: NOR    
Version: git-latest   
Target Milestone: 0.6.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 0.6.0

Description Daniele E. Domenichelli 2013-03-05 14:17:51 UTC
When the text ui is not open, if you receive an highlighted message, the notification is not emitted immediately (even though you get the notification from the approver)
When the text ui is opened, all the queued messages spam a notification at the same time.
Comment 1 Daniele E. Domenichelli 2013-03-10 23:45:40 UTC
Adding another annoying behavior, that is actually the same bug.
When you receive an highlighted message when the chat ui is closed, you receive the normal notification with it's normal sound. When you open the chat ui you receive another notification with the highlighted message sound for the same message.
Comment 2 David Edmundson 2013-03-17 00:38:23 UTC
Updated title.

What's happening here is that we now process notifications when we add a message to the chat window NOT when a new message arrives.

Normally this is the same thing, but it means we now have notifications for the messages which were already shown by the approver when we process the existing messageQueue on startup.
Comment 3 David Edmundson 2013-03-17 13:20:39 UTC
Git commit 8c04eda2c73d3093766283e20f483c15c881968b by David Edmundson, on behalf of Stefan Eggers.
Committed on 17/03/2013 at 14:16.
Pushed by davidedmundson into branch 'master'.

Suppress notifications while writing out messages from backlog
REVIEW: 109535

M  +6    -4    lib/chat-widget.cpp
M  +1    -1    lib/chat-widget.h

http://commits.kde.org/telepathy-text-ui/8c04eda2c73d3093766283e20f483c15c881968b