D11584: Set a transient parent for SNI context menus
Fabian Vogt
noreply at phabricator.kde.org
Thu Mar 22 18:55:46 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
Those had no transient parent set, so they got displayed somewhere, most of the
time on the wrong screen.
Also pass the actual click coordinates instead of (0,0), although those are
ignored anyway.
TEST PLAN
Works fine for spotify and kteatime now, but certain applications
which trigger a LayoutChanged signal on the opened event have a Y offset.
REPOSITORY
R120 Plasma Workspace
BRANCH
snitest
REVISION DETAIL
https://phabricator.kde.org/D11584
AFFECTED FILES
applets/systemtray/package/contents/ui/items/StatusNotifierItem.qml
applets/systemtray/systemtray.cpp
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/20180322/55337902/attachment.html>
More information about the Plasma-devel
mailing list