Bug 233053

Summary: Application notifications appear in a wrong place when systray integration is disabled
Product: [Unmaintained] kdelibs Reporter: András Manţia <amantia>
Component: knotifyAssignee: Olivier Goffart <ogoffart>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: alex.wauck+kdebugs, andresbajotierra, bharadwaj.raju777, krnekit, leszek.lesner, plasma-bugs-null
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screenshot showing the missbehavior

Description András Manţia 2010-04-02 11:21:14 UTC
Version:            (using Devel)
OS:                Linux
Installed from:    Compiled sources

Disable Application Notification integration into systray, run "kdialog --passivepopup "Foo" 10" in a terminal. The popup appears in the middle of the screen, which is weird. I'd expect somewhere near the systray, if no systray is used, near the panel, if no panel is used, in one corner. 
If this isn't plasma's problem, please reassign the bug to the correct component.
Comment 1 András Manţia 2010-04-02 12:43:15 UTC
This seems to be not always the case, sometimes (eg. notifications from Akregator) appear center on top of the screen.
Comment 2 Dario Andres 2010-04-02 17:17:02 UTC
If Plasma notifications support is disabled it just uses the regular KNotify notifications dialog (centered at the top)
Comment 3 Leszek Lesner 2012-04-14 20:15:47 UTC
Created attachment 70381 [details]
Screenshot showing the missbehavior

It still happens for me. If the Notification element is set to autohide in the tray configuration and is hidden and a popup (just like in my attached screen a file copy notification) comes up it usually comes up in the wrong place or messed up (i.e. wrong size so that progressbar is longer than popup background or close buttons are drawn outside the popup). 
A similiar placement option was fixed for the device notifier some time ago. Maybe code and fixes can be reused here.
Comment 4 Leszek Lesner 2012-04-14 20:17:21 UTC
(In reply to comment #3)
Forgot to say KDE 4.8.2 build from source.
Comment 5 Leszek Lesner 2012-08-17 12:08:18 UTC
Still happens in 4.9.0 .
Common guys lets fix that. 

We only need toa strict procedure for notifications. 
First let the icon appear in the tray and then show notification. That can't be that hard can it ?
Comment 6 Alexander Wauck 2012-09-18 13:55:06 UTC
I've seen similar misbehavior with the panel modification bar...thingy...whatever that thing is that you use to add widgets to the panel.  I suspect the code to position things relative to the panel is generally broken.
Comment 7 Nikita Krupenko 2013-03-10 14:18:17 UTC
Also happens on 4.10.0