Bug 340729 - Two notifications when two default panels on the same screen are present
Summary: Two notifications when two default panels on the same screen are present
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Notifications (other bugs)
Version First Reported In: master
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: 1.0
Assignee: Martin Klapetek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-07 13:15 UTC by Jan Grulich
Modified: 2019-05-23 16:56 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.