Bug 161800 - System tray notifications do not work at all
Summary: System tray notifications do not work at all
Status: RESOLVED WORKSFORME
Alias: None
Product: kopete
Classification: Applications
Component: Notifications (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-08 18:01 UTC by Manuel Nickschas
Modified: 2008-05-15 15:17 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Manuel Nickschas 2008-05-08 18:01:24 UTC
Version:           0.50.50 (using 4.00.73 (KDE 4.0.73 >= 20080507, Gentoo)
Compiler:          i686-pc-linux-gnu-gcc
OS:                Linux (i686) release 2.6.24-zen4

Since quite a long time, system tray notification for incoming messages does not seem to work. I have enabled both "Flash system tray" and "Show bubble", but nothing happens. I have also tried various combinations in the "Message handling" category, to no avail. I also wiped my config files just in case there are stale configs from KDE3 times left, but that didn't help either...

Running KDE4 and kopete from trunk. I have this problem on all of my machines.
Comment 1 Dennis Nienhüser 2008-05-09 23:28:31 UTC
SVN commit 806046 by nienhueser:

Remove the unused config options for the balloon notification (replaced by knotify popups in kde 4)
CCBUG: 161800


 M  +12 -71    kopete/config/behavior/behaviorconfig_events.ui  
 M  +0 -12     libkopete/kopetebehaviorsettings.kcfg  


WebSVN link: http://websvn.kde.org/?view=rev&revision=806046
Comment 2 Dennis Nienhüser 2008-05-09 23:43:36 UTC
"Flash system tray" is done internally by Kopete (replacing the icon in the systray with an animated one). It works here for both 4.0.x and SVN trunk.

The balloon has been removed for KDE 4, but knotify popups should appear instead now. Can you please check that they are enabled: Settings -> Configure Notifications, "Incoming Message", "Show a message in a popup" should be checked. Is this the case and is knotify4 running (ps -C knotify4)?

What does happen when a message arrives? Is the contact in the chat window marked?

How are you compiling KDE, as described in Techbase or using genkdesvn?
Comment 3 Manuel Nickschas 2008-05-13 17:59:03 UTC
I use the de-paludified KDE overlay. I've been having that problem for quite a while though, even when I still used the monolithic ebuilds.

I do get popups for incoming messages (after enabling that setting and restarting KDE...), but those appear on the wrong location (i.e. on the top middle of the screen) and are quite intrusive. I would like to be able to disable popups for chats that are already open (since in those cases, marking the taskbar entry is sufficient). As it stands now, with popups enabled, I have to close the popups even if I am actively typing in the chatwindow... so at least for the current implementation which shows a popup for _every_ message, enabling popups is a no-go for me.

But if there is no chat open with a given contact, flashing the taskbar entry obviously does not work. In this case, a visible notification is needed. Systray animation (if it worked) is ok for this, though it could be somewhat more visible (it's still easy to miss it, IMHO).

Now, if a message arrives, I do get a popup, and if a chat is open with the person, the taskbar entry is marked as well. With popups disabled, the taskbar entry is marked if a chat is open. In no case does the systray icon get animated, though...
Comment 4 Dennis Nienhüser 2008-05-15 11:11:12 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 5 Dennis Nienhüser 2008-05-15 11:35:52 UTC
That commit should fix the popup issues except their location. Still open is the systray animation. As you're using Gentoo, this can only work if you compile Qt using the mng use flag (the animation is a .mng). Can you check that first, please?
Comment 6 Manuel Nickschas 2008-05-15 14:01:25 UTC
Thanks a lot, that will make popups much more usable for me :)

Missing MNG support in Qt was indeed the reason for the missing animation. I've upgraded QtGui accordingly and now it works, thanks a lot for the hint!
I wonder if Kopete could issue a warning if MNG is missing? It's not very intuitive to find the reason for that :)

Marking this bug as resolved.
Comment 7 Dennis Nienhüser 2008-05-15 15:17:17 UTC
SVN commit 808033 by nienhueser:

Disable the systray animation setting if Qt lacks mng support and tell the user about it in the tooltip
BUG: 161800


 M  +15 -0     behaviorconfig_events.cpp  

WebSVN link: http://websvn.kde.org/?view=rev&revision=808033