[vlc-commits] [Git][videolan/vlc][master] qml: fix broken tool tip delay with Qt 6.12-beta4

Steve Lhomme (@robUx4) gitlab at videolan.org
Sat Sep 19 02:27:49 UTC 2026



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
3440aa8b by Fatih Uzunoglu at 2026-09-19T02:14:03+00:00
qml: fix broken tool tip delay with Qt 6.12-beta4

In the newer beta versions of Qt 6.12, they started using
`std::chrono::milliseconds` as property type instead of
`int` that was proposed originally in Qt 6.12, which is not
accessible in QML. After notifying them, they introduced
a new property for it (`toolTipWakeUpDelayAsMSec`) with
type `int`, but this requires a change in our codebase.

See qtbase commits f9e753c, and 331c43d; and the issue
QTBUG-149358.

Amends 7c388797.

- - - - -


1 changed file:

- modules/gui/qt/style/VLCStyle.qml


Changes:

=====================================
modules/gui/qt/style/VLCStyle.qml
=====================================
@@ -303,7 +303,7 @@ QtObject {
     readonly property int duration_humanMoment: 2000
 
     //timing before showing up a tooltip
-    readonly property int delayToolTipAppear: (Application?.styleHints?.toolTipWakeUpDelay ?? 700)
+    readonly property int delayToolTipAppear: (Application?.styleHints?.toolTipWakeUpDelayAsMSec ?? 700)
 
     //timing for the progressbar/scanbar bouncing animation, explicitly very long
     readonly property int durationSliderBouncing: 2000



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/3440aa8b7a11cc8fbedc3727bf4f45ffa79959e8

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/3440aa8b7a11cc8fbedc3727bf4f45ffa79959e8
You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help




More information about the vlc-commits mailing list