D11600: Pass proper click coordinates to SNI ContextMenu calls

2018-03-23 Thread Fabian Vogt
This revision was automatically updated to reflect the committed changes.
Closed by commit R120:a4a0d5bfd0da: Pass proper click coordinates to SNI 
ContextMenu calls (authored by fvogt).

REPOSITORY
  R120 Plasma Workspace

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D11600?vs=30282&id=30296

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

AFFECTED FILES
  applets/systemtray/package/contents/ui/items/StatusNotifierItem.qml

To: fvogt, #plasma, davidedmundson
Cc: plasma-devel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, 
sebas, apol, mart


D11600: Pass proper click coordinates to SNI ContextMenu calls

2018-03-23 Thread Fabian Vogt
fvogt created this revision.
fvogt added a reviewer: Plasma.
Restricted Application added a project: Plasma.
fvogt requested review of this revision.

REVISION SUMMARY
  Currently it always passes the top left corner of the SNI icon as coordinates,
  but now it passes the actual click coordinates.
  They can be outside of the icon's bounds (for instance if you click on the
  label in the expanded tray), but they are converted to global coordinates
  anyway.

TEST PLAN
  Now the context menu drawn by the application properly follows the
  cursor.

REPOSITORY
  R120 Plasma Workspace

BRANCH
  contextcoords

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

AFFECTED FILES
  applets/systemtray/package/contents/ui/items/StatusNotifierItem.qml

To: fvogt, #plasma
Cc: plasma-devel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, 
sebas, apol, mart