do not set Qt::ToolTip flag for QShapedPixmapWindow
authorDebian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Sun, 29 Jun 2025 19:50:45 +0000 (22:50 +0300)
committerDmitry Shachnev <mitya57@debian.org>
Sun, 29 Jun 2025 19:50:45 +0000 (22:50 +0300)
commitf0b8107ab4194b7bf00bd96df40859e075c3fe68
tree4319d38f0d40208ad444631550f5b0468f1d3526
parent6aeed07fe0813842eee0eec5ce42643b7e3b6be0
do not set Qt::ToolTip flag for QShapedPixmapWindow

Origin: upstream, https://code.qt.io/cgit/qt/qtbase.git/commit/?id=180b496b537089b8
Bug: https://bugreports.qt.io/browse/QTBUG-98048
Last-Update: 2023-05-20

This hint is not really needed in the first place and only causes
problems in some environments.

For example in KDE, the compositor animates changes in position and size
for all ToolTip windows. However, this is not wanted here because we use
this window as a thumbnail for a drag-and-drop operation.
Before this patch the dragged element would lag significantly behind the
cursor. Now it works as expected, i.e. the dragged element follows the
cursor immediately.

Gbp-Pq: Name qshapedpixmapwindow_no_tooltip.diff
src/gui/kernel/qshapedpixmapdndwindow.cpp