[vlc-commits] [Git][videolan/vlc][master] qml: delay the visibility binding inside layout in `ArtworkInfoWidget`

Steve Lhomme (@robUx4) gitlab at videolan.org
Sat Jun 14 11:15:42 UTC 2025



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
6ef00aa1 by Fatih Uzunoglu at 2025-06-14T11:00:05+00:00
qml: delay the visibility binding inside layout in `ArtworkInfoWidget`

This fixes a potential polish loop. I reproduce this when
I change the user scale of the interface, especially in a
rapid succession.

Having the binding delayed here makes more sense than
not having it, because it depends on something that it
also has an effect. And we already delay the visibility
bindings in layouts in other cases.

- - - - -


1 changed file:

- modules/gui/qt/player/qml/controlbarcontrols/ArtworkInfoWidget.qml


Changes:

=====================================
modules/gui/qt/player/qml/controlbarcontrols/ArtworkInfoWidget.qml
=====================================
@@ -223,6 +223,7 @@ AbstractButton {
                 Layout.fillHeight: true
 
                 Binding on visible {
+                    delayed: true
                     value: (infoColumn.height > infoColumn.implicitHeight) && (artistLabel.text.length > 0)
                 }
 



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

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