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