Version: unspecified (using KDE 4.7.2) OS: Linux Hi, The current implementation of conference chats (using a XMPP chatroom) notifies the user through KDE's message indicator for every message, which is annoying. I've checked the list of notifications the UI declares but only "Incoming chat message" shows up. I'd suppose a small change and default behavior should fix this. Niels Reproducible: Didn't try Steps to Reproduce: - Add an account that has groupschat, e.g. Jabber. - Join a chatroom and hide the window. - Notice KDE's popups for every message instead of relevant messages. Expected Results: -
I have the same issue..IRC every message is shown
So we should do different notifications for group and single user chats? Initially I hadn't because for a 3-way conversation you'd probably still want all the notifications, but IRC you don't. I'm not sure if there's a good solution to solving every case? For now tasks are: - create a new set in the notifyrc file duplicating what's there for 1-1 chat. Namely - Incoming Message in an active window (In a group chat) - Incoming Message in an inactive window (In a group chat) - Highlighted Message (in a group chat) - Make these top two new entries default to do nothing, the last one the same as 1-1. - Emit the correct notification when we receive a message This should nicely solve the issue, whilst still allowing people to enable it if they chose.
Having worked with several group chat (MUC) clients on XMPP servers and IRC I think it's the very default behavior among all them: only get notified if your name is mentioned. Your steps look sufficient but I'm not into the code enough to be able to comment on it. Thanks!
In fact, with xmpp and multi user chat, you configure the server to send the history of a room when a user join it: http://xmpp.org/extensions/xep-0045.html#enter-history I'm using a server which sends the last week of history, so when I join a chatroom, telepathy spawns thousands of notifications during at least 1 or 2 minutes.
@Hyacinthe Cartiaux: My XMPP server does the same thing, I autojoin 7 channels using PSI and all the chat history is there. However, it does not send a notification for every highlighted message but highlights the window at the first mention. In usage this seems a very gentle approach.
(In reply to comment #4) > In fact, with xmpp and multi user chat, you configure the server to send the > history of a room when a user join it: > http://xmpp.org/extensions/xep-0045.html#enter-history > > I'm using a server which sends the last week of history, so when I join a > chatroom, telepathy spawns thousands of notifications during at least 1 or 2 > minutes. Please stick to one bug per bug report, otherwise everything gets impossible to track. Reopened your comments as https://bugs.kde.org/show_bug.cgi?id=306650
Git commit 07fdf03fbf3576beef54601ecd595493e8215100 by Leon Handreke. Committed on 08/11/2013 at 12:18. Pushed by leonh into branch 'master'. Introduce new notification types for messages received in group chats Removed highlight notification type for 1-to-1 chats. There are now the following 6 notification types for received messages: * 1-to-1 chat message received (active/inactive window) * Group chat highlight received (active/inactive window) * Group chat message received (active/inactive window) REVIEW: 113134 M +11 -5 lib/notify-filter.cpp http://commits.kde.org/telepathy-text-ui/07fdf03fbf3576beef54601ecd595493e8215100
Git commit 9ce376bdd74b415cdd427ee5d28855850c996d7a by Leon Handreke. Committed on 06/10/2013 at 14:57. Pushed by leonh into branch 'master'. Add default settings for new group chat notification types In a group chat, only highlights should trigger a notification by default. Remove notification type for highlights in 1-to-1 chats. REVIEW: 113133 M +39 -86 data/ktelepathy.notifyrc http://commits.kde.org/telepathy-common-internals/9ce376bdd74b415cdd427ee5d28855850c996d7a