Bug 340729

Summary: Two notifications when two default panels on the same screen are present
Product: [Plasma] plasmashell Reporter: Jan Grulich <jgrulich>
Component: NotificationsAssignee: Martin Klapetek <mklapetek>
Status: RESOLVED FIXED    
Severity: normal CC: alvarenga, kde, richard.llom
Priority: NOR    
Version First Reported In: master   
Target Milestone: 1.0   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jan Grulich 2014-11-07 13:15:18 UTC
When I have two default panels on the same desktop, I always get each notification twice. I guess users should be informed just once and the second notification should be ignored/hidden.

Reproducible: Always

Steps to Reproduce:
1. Add a second default panel to the same screen
2. Ping someone on IRC and wait for his response
3. Enjoy double pong!

Actual Results:  
You are ponged twice, even if you pinged a user just once.

Expected Results:  
You are ponged just once.
Comment 1 Martin Klapetek 2014-11-07 13:17:20 UTC
Ahh yes, the popups do not check for presence of other active applets and yes, they should.

Or somehow it needs to make sure there's only one popup.
Comment 2 Kai Uwe Broulik 2014-11-09 00:21:26 UTC
Maybe if we make the dialog positioner a singleton type?
However, figuring out where to place the dialogs would become difficult since depending on the order of the applet initialization a different one might win over the other, and also how would we track the removal of an applet and move the dialogs accordingly?
Comment 3 Richard Llom 2016-02-11 13:45:32 UTC
I cannot reproduce this here.

Also I would like to add, that if someone has a desktop spreading across multiple monitors he might want to have EXACTLY this behavior (a pop-up for each notification widget, probably on each monitor).

Whereas for the other case (multiple notification widgets on the same monitor) it is really easy to hide the notification widget from the systray and hence receiving only one pop-up.
Comment 4 Martin Klapetek 2016-02-11 17:29:52 UTC
> Also I would like to add, that if someone has a desktop spreading across multiple monitors he might want to have EXACTLY this behavior (a pop-up for each notification widget, probably on each monitor).

That is the case with Plasma 5.5.4.
Comment 5 Kai Uwe Broulik 2019-05-23 16:56:10 UTC
Fixed by notification rewrite.