D11600: Pass proper click coordinates to SNI ContextMenu calls
Fabian Vogt
noreply at phabricator.kde.org
Fri Mar 23 08:56:35 UTC 2018
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180323/ea7181af/attachment.html>
More information about the Plasma-devel
mailing list