Bug 158608 - Notification bubble/square is shown for new messages from contacts with a open chat window
Summary: Notification bubble/square is shown for new messages from contacts with a ope...
Status: RESOLVED FIXED
Alias: None
Product: kopete
Classification: Unmaintained
Component: Notifications (show other bugs)
Version: SVN
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Dennis Nienhüser
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-01 02:43 UTC by Magnus
Modified: 2009-01-30 23:18 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Magnus 2008-03-01 02:43:06 UTC
Version:            (using Devel)
Installed from:    Compiled sources
Compiler:          gcc 4.1 
OS:                Linux

Kopete from KDE SVN trunk shows a notification for new messages from contacts for which I already have a open chat window with, as long as the chat window is minimized or not the active tab in the chat window. "Exclude messages in chats on current desktop" is enabled in "Tray Flash and Bubble" settings.

See http://folk.ntnu.no/romnes/kde4/kopete_notification_bug.png for an example.
Comment 1 Dennis Nienhüser 2008-05-11 23:42:14 UTC
I think the notification settings need a general cleanup, still some leftovers from the old bubble and some things that are now unused or not fully working.
Comment 2 Dennis Nienhüser 2008-05-15 11:09:15 UTC
SVN commit 807953 by nienhueser:

Create a separate notification event for incoming messages in the active chat window. Only plays a sound as default, can be configured to behave differently in the notification settings. Can probably be merged back to the incoming_message event using a different context once events for different contexts can be configured graphically by the user.
CCBUG: 158608, 161800, 159513


 M  +0 -14     kopete/config/behavior/behaviorconfig_events.ui  
 M  +6 -0      kopete/kopete.notifyrc  
 M  +0 -4      libkopete/kopetebehaviorsettings.kcfg  
 M  +2 -3      libkopete/private/kopeteviewmanager.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=807953
Comment 3 Dennis Nienhüser 2008-05-15 14:56:32 UTC
http://websvn.kde.org/?view=rev&revision=808027

Generalize the "Exclude messages in chats on current desktop" to affect also notifications, use the active_window event for it instead of dropping the event and reword tooltips etc to reflect this.
Do not animate for events occuring in the active chat window.
Update UI texts that mention the old bubble. Use "animate" instead of "flash" for the systray icon which seems to be a more common term.
Comment 4 Michal Witkowski 2008-10-08 22:03:14 UTC
I'm using KDE 4.1.2 and I can't get the behaviour I'd like:

I would like messages which start a new chat (no window present) to create knotify window and play a sound (much like it does now for inactive windows). I'd like messages in non-active but already existing chats play a sound and mark the taskbar entry and, moreover, I'd like the active chat messages to only play a sound.

The scheme of "Treat all messages on current desktop as active chats" doesn't really work for me, since my chats are usually scattered around various desktops. Adding another notficitaion event would solve all my glitches like:
- Incomming message for new chat
- Incomming message for existing chat
- Incomming message for Active chat