D23060: [Notifications] Hide popups when expanded

2019-08-09 Thread Kai Uwe Broulik
broulik created this revision.
broulik added a reviewer: Plasma.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
broulik requested review of this revision.

REVISION 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

REPOSITORY
  R120 Plasma Workspace

REVISION DETAIL
  https://phabricator.kde.org/D23060

AFFECTED FILES
  applets/notifications/package/contents/ui/global/Globals.qml

To: broulik, #plasma
Cc: plasma-devel, LeGast00n, jraleigh, fbampaloukas, GB_2, ragreen, Pitel, 
ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, 
apol, mart


D23060: [Notifications] Hide popups when expanded

2019-08-09 Thread Nathaniel Graham
ngraham added a comment.


  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.

REPOSITORY
  R120 Plasma Workspace

REVISION DETAIL
  https://phabricator.kde.org/D23060

To: broulik, #plasma
Cc: ngraham, plasma-devel, LeGast00n, jraleigh, fbampaloukas, GB_2, ragreen, 
Pitel, ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, 
sebas, apol, mart