Version: CVS HEAD from 29.10.2003 (using KDE Devel) Installed from: Compiled sources Compiler: gcc 3.2 OS: Linux Hi, when useing kmail from kontact I dont get notification sounds and popups when new mail arrives. Thomas
Any idea why this doesn't work?
Maybe I have a hint for You. When KMail is active, there is a menu entry under settings to define the notifications like it is in standalone kmail. When You open this there are no possible notifications and the dialog states "notifications sesstings kontact". Thomas
Can confirm it appears to work fine in KDE 3.2 beta 2
Subject: Re: knotify event for new mail not triggerd On Tuesday 09 December 2003 01:42, Sean Clarke wrote: > ------- You are receiving this mail because: ------- > You reported the bug, or are watching the reporter. > > http://bugs.kde.org/show_bug.cgi?id=67017 > > > > > ------- Additional Comments From sean.e.clarke@ntlworld.com > 2003-12-09 01:42 ------- Can confirm it appears to work fine in KDE > 3.2 beta 2 Not for me. We are talking about new mail notifications from within Kontact, right? Thomas
yes, I get the "beep" notification and my tray icon displays the number of new messages.
When You use the KDE Control Center under Sound & Multimedia/System Messages to configure a dialog and a differnt sound for KMail, do You still get this notifications? I dont't think that Your beep and for sure the message count in the systray is related to a KNotify event in any way. Thomas
Hi, this is a very simple Problem to solve. The reason is that kontact doesn't have a eventrc file. I copied over the one from KMail, made some smaller changes (e.g. renaming to kontact and change icon) and voila I can configure the notifications and get them now. Can somebody do this in CVS? I dont have access to it. Thomas
Subject: kdepim/kmail CVS commit by vkrause: Mostly fix #67017 (new mail notification in kontact) by helping kmail to find its .eventsrc file when running in kontact. Remaining issues: Passive popups show up in the left upper corner and taskbar flashing doesn't work. Reviewed by Ingo Kl
Volker's patch fixes this bug.
*** Bug 70228 has been marked as a duplicate of this bug. ***
CVS commit by vkrause: Fix the remaining issues with kontact's new mail notification, i.e. passive popups are now placed correctly and taskbar flashing works. Reviewed by Ingo Kloecker CCMAIL: 67017@bugs.kde.org M +4 -2 kmmainwidget.cpp 1.144 --- kdepim/kmail/kmmainwidget.cpp #1.143:1.144 @@ -763,8 +763,10 @@ void KMMainWidget::slotMailChecked(bool if(kmkernel->xmlGuiInstance()) { KNotifyClient::Instance instance(kmkernel->xmlGuiInstance()); - KNotifyClient::event(0, "new-mail-arrived", i18n("New mail arrived")); + KNotifyClient::event(topLevelWidget()->winId(), "new-mail-arrived", + i18n("New mail arrived")); } else - KNotifyClient::event(0, "new-mail-arrived", i18n("New mail arrived")); + KNotifyClient::event(topLevelWidget()->winId(), "new-mail-arrived", + i18n("New mail arrived")); if (mBeepOnNew) { KNotifyClient::beep();