[vlc-commits] [Git][videolan/vlc][master] qt: disable using top-level window for tool tip on Wayland until Qt 6.9.2
Felix Paul Kühne (@fkuehne)
gitlab at videolan.org
Sat Jun 7 15:08:34 UTC 2025
Felix Paul Kühne pushed to branch master at VideoLAN / VLC
Commits:
940ed9f9 by Fatih Uzunoglu at 2025-06-07T14:53:46+00:00
qt: disable using top-level window for tool tip on Wayland until Qt 6.9.2
The workaround for QTBUG-135158 was expected to land in Qt 6.9.1, but it got
delayed and merged in Qt 6.9.2.
- - - - -
1 changed file:
- modules/gui/qt/maininterface/mainctx.hpp
Changes:
=====================================
modules/gui/qt/maininterface/mainctx.hpp
=====================================
@@ -266,10 +266,10 @@ public:
if constexpr (QT_VERSION < QT_VERSION_CHECK(6, 8, 2))
return false; // This feature was not tested properly upstream, and often causes crashes (QTBUG-131898, #28919).
#endif
- if constexpr (QT_VERSION < QT_VERSION_CHECK(6, 9, 1))
+ if constexpr (QT_VERSION < QT_VERSION_CHECK(6, 9, 2))
{
- if (qGuiApp->platformName().startsWith(QLatin1String("wayland")))
- return false; // QTBUG-135158
+ static const bool isWayland = qGuiApp->platformName().startsWith(QLatin1String("wayland"));
+ return !isWayland; // QTBUG-135158
}
return true;
}
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/940ed9f9e3ea56ebba09c9bfa6cb8a127cc83b65
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/940ed9f9e3ea56ebba09c9bfa6cb8a127cc83b65
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list