Bug 67514

Summary: New mail task bar notification shows far above the task bar
Product: [Applications] kmail Reporter: Pat Double <kde.org>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 1.5.93   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:

Description Pat Double 2003-11-07 17:34:35 UTC
Version:           1.5.93 (using KDE KDE 3.1.93)
Installed from:    Gentoo Packages
Compiler:          gcc 3.3.2 
OS:          Linux

The non-intrusive new mail notification that is supposed to appear just above the task bar actually shows vertically about 1/3 from the top of the display. The horiztonal location seems to be correct however. This was working fine with the Kmail shipped with KDE 3.1.4.
Comment 1 Ingo Klöcker 2003-11-07 19:03:15 UTC
Here it actually is always shown right of the main window (I use a vertical taskbar) and therefore invisible because my main window is on the right side of the desktop.
Comment 2 Pat Double 2003-11-07 19:44:35 UTC
Oops, I forgot some important information. I'm using a horizontal panel at the bottom of the screen that contains the task bar. I also have a child panel at the top center which has output from ksysguard.
Comment 3 Ingo Klöcker 2003-11-16 12:12:02 UTC
Subject: kdepim/kmail

CVS commit by kloecker: 

Fix placement of passive popup for 'New mail arrived' event. It was placed next to KMail's main window (on the right and off the screen because my main window is on the right border of the desktop). Using 0 puts it again next to the KMail entry in the taskbar.
CCMAIL: 67514-fixed@bugs.kde.org


  M +1 -1      kmmainwidget.cpp   1.114


--- kdepim/kmail/kmmainwidget.cpp  #1.113:1.114
@@ -747,5 +747,5 @@ void KMMainWidget::slotMailChecked(bool 
     return;
 
-  KNotifyClient::event(winId(), "new-mail-arrived", i18n("New mail arrived"));
+  KNotifyClient::event(0, "new-mail-arrived", i18n("New mail arrived"));
   if (mBeepOnNew) {
     KNotifyClient::beep();