[Differential] [Request, 5 lines] D4452: [AppMenu Applet] Map from scene after mapping from global
Kai Uwe Broulik
noreply at phabricator.kde.org
Mon Feb 6 09:40:12 UTC 2017
broulik created this revision.
broulik added a reviewer: Plasma.
broulik set the repository for this revision to R120 Plasma Workspace.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.
REVISION SUMMARY
childAt expects coordinates relative to the item, so we need to mapFromScene before we do that.
BUG: 375535
FIXED-IN: 5.9.1
TEST PLAN
I added a panel spacer left of my global menu applet and now the correct menu opens on hover. Previously, it was offset by the spacer width.
Also verified that it doesn't break if the panel itself is moved to the right.
REPOSITORY
R120 Plasma Workspace
REVISION DETAIL
https://phabricator.kde.org/D4452
AFFECTED FILES
applets/appmenu/lib/appmenuapplet.cpp
EMAIL PREFERENCES
https://phabricator.kde.org/settings/panel/emailpreferences/
To: broulik, #plasma
Cc: plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170206/25dca550/attachment.html>
More information about the Plasma-devel
mailing list