[Notifications] Hide popups when expanded
AbandonedPublic

Authored by broulik on Aug 9 2019, 8:14 PM.

Details

Reviewers
None
Group Reviewers
Plasma
Summary

Unfortunately there is no real way for us to tell when the System Tray popup is open but we can at least hide the popups when the plasmoid itself is expanded.
This avoids the popups getting in the way of the notification history controls in the popup.

Test Plan

I'd say 5.16 branch
notify-send foo bar -t 0
Opened notification plasmoid in systray, popup hid, closed it, popup appeared again
Timeout for notification popup stops when it hides and restarts when it shows up again

Diff Detail

Repository
R120 Plasma Workspace
Lint
Lint Skipped
Unit
Unit Tests Skipped
broulik created this revision.Aug 9 2019, 8:14 PM
Restricted Application added a project: Plasma. · View Herald TranscriptAug 9 2019, 8:14 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
broulik requested review of this revision.Aug 9 2019, 8:14 PM

This isn't necessary when you have the pop-ups' position customized so they wouldn't actually overlap with the system tray. I wouldn't fade them out in that case.

For the default case, this works, but it would definitely be nice if the pop-ups could hide (or better yet, scoot away) when the system tray popup is open with any other applets too.

broulik abandoned this revision.Mon, Sep 16, 10:26 AM