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 kinfocenter with --platform wayland and xcb REPOSITORY rKINFOCENTER KInfoCenter BRANCH wayland-fix-tooltips REVISION DETAIL https://phabricator.kde.org/D3113 AFFECTED FILES ToolTips/ktooltip.cpp ToolTips/ktooltip.h ToolTips/tooltipmanager.cpp EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: graesslin, #plasma Cc: plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas