D21184: Take the screen geometry into account when positioning popup notifications

Daniel Vrátil noreply at phabricator.kde.org
Mon May 13 12:29:49 BST 2019


dvratil created this revision.
dvratil added a reviewer: broulik.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
dvratil requested review of this revision.

REVISION SUMMARY
  The availableScreenRect is relative to the current screen, so if the notification
  applet is not on the top-left screen, the notification popup will not appear next
  to where the applet is but on the top-left screen instead. Adding the absolute
  screen geometry to the availableScreenRect ensures that the popup is positioned
  on the right screen.

TEST PLAN
  Position two screens above each other, place the panel on the bottom screen, the
  notification now correctly appears on the bottom screen next to the applet.

REPOSITORY
  R120 Plasma Workspace

BRANCH
  master

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

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

To: dvratil, broulik
Cc: plasma-devel, jraleigh, GB_2, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20190513/a8c96c0d/attachment.html>


More information about the Plasma-devel mailing list