Review Request 121010: Keep track of notifications that were covered by a fullscreen window

Martin Gräßlin mgraesslin at kde.org
Mon Jan 4 14:18:19 UTC 2016



> On Dec. 25, 2015, 12:18 p.m., Kai Uwe Broulik wrote:
> > Ping.
> > 
> > (Is a roundtrip to the X Server that bad for the comparatively rare event of getting a notification?)

yes, but not only because of the roundtrip, but because it's X11 specific. I don't know how that would work on Wayland - probably not at all.

Furthermore this does not consider the case that we have multiple screens and the notification would be shown on the other screen which is not covered by a fullscreen window.

So at the moment, I don't have an idea, but I think we need a solution which will work on Wayland and considers multiple screens.


- Martin


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/121010/#review90090
-----------------------------------------------------------


On Nov. 6, 2014, 12:47 p.m., Kai Uwe Broulik wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/121010/
> -----------------------------------------------------------
> 
> (Updated Nov. 6, 2014, 12:47 p.m.)
> 
> 
> Review request for Plasma, KDE Usability and Martin Gräßlin.
> 
> 
> Repository: plasma-workspace
> 
> 
> Description
> -------
> 
> This patch improves fullscreen handling in notifications.
> 
> The type of the NotificationPopup is changed to Dialog.Notification because that's what it's for, I think there's been a bit of a miscommunication about that (I think there needs to be another layer for the OSD because that one should be above all..).
> The Notification type keeps the window above (sorta fixing Bug 338946 because the close button now works as expected now) everything but not a fullscreen window if it's active. This patch checks when a notification arrives whether the active window is fullscreen (concealing the notification) and adds it to the history. To indicate that you missed notifications while you were fullscreen, the icon glows blue (until you interact with a notification or open the plasmoid).
> 
> 
> Diffs
> -----
> 
>   applets/notifications/package/contents/ui/NotificationIcon.qml 1449c19 
>   applets/notifications/package/contents/ui/NotificationPopup.qml 212f1e6 
>   applets/notifications/package/contents/ui/Notifications.qml acdccdd 
>   applets/notifications/package/contents/ui/main.qml 3c2fa13 
>   applets/notifications/plugin/notificationshelper.h af8f6fa 
>   applets/notifications/plugin/notificationshelper.cpp 425f0d6 
> 
> Diff: https://git.reviewboard.kde.org/r/121010/diff/
> 
> 
> Testing
> -------
> 
> Fullscreened my IDE, "sleep 2; knotificationdbustest", waited, unfullscreened, icon was blue and the history a few notifications in it.
> 
> 
> File Attachments
> ----------------
> 
> Pending notification in tray
>   https://git.reviewboard.kde.org/media/uploaded/files/2014/11/06/3f2141b2-1452-4e5c-8b00-782c571ad34b__notificationpendingthing.png
> 
> 
> Thanks,
> 
> Kai Uwe Broulik
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20160104/50c53cda/attachment-0001.html>


More information about the Plasma-devel mailing list