[vlc-commits] [Git][videolan/vlc][master] qml: fix binding loop in `PointingTooltip.qml`

Steve Lhomme (@robUx4) gitlab at videolan.org
Thu Oct 16 16:23:27 UTC 2025



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
bc4926e9 by Fatih Uzunoglu at 2025-10-16T15:47:46+00:00
qml: fix binding loop in `PointingTooltip.qml`

This binding loop is asymptomatic, because the
default implicit height would derive from the
content height by default and not the implicit
background height (and bottom inset).

- - - - -


1 changed file:

- modules/gui/qt/widgets/qml/PointingTooltip.qml


Changes:

=====================================
modules/gui/qt/widgets/qml/PointingTooltip.qml
=====================================
@@ -29,6 +29,8 @@ ToolTipExt {
     height: implicitHeight + background.arrowHeight
     bottomInset: height - implicitHeight
 
+    implicitHeight: (implicitContentHeight + topPadding + bottomPadding)
+
     x: _x
     y: pos.y - (implicitHeight + arrowArea.implicitHeight + VLCStyle.dp(7.5))
 



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

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/bc4926e9b9101374fd02fb2a00bfd5e384e63ba5
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