graesslin created this revision. graesslin added a reviewer: Plasma. Restricted Application added a project: Plasma. Restricted Application added a subscriber: plasma-devel.
REVISION SUMMARY This fixes tooltips on Wayland. We need the relationship to the transient parent window - tooltips are positioned relative to their parent window. Also on X11 this is an important information which was completely lacking. Before the change the tooltips got randomly positioned by the Wayland compositor as it thought that it is a new toplevel window. With the change the tooltip gets shown where it is supposed to be shown. TEST PLAN Run systemsettings with --platform wayland and xcb REPOSITORY rSYSTEMSETTINGS System Settings BRANCH wayland-fix-tooltips REVISION DETAIL https://phabricator.kde.org/D3112 AFFECTED FILES app/ToolTips/ktooltip.cpp app/ToolTips/ktooltip.h app/ToolTips/tooltipmanager.cpp EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: graesslin, #plasma Cc: plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas