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