[vlc-commits] [Git][videolan/vlc][master] qml: animate opacity in playlist delegate artwork image

Felix Paul Kühne (@fkuehne) gitlab at videolan.org
Mon Mar 16 10:53:18 UTC 2026



Felix Paul Kühne pushed to branch master at VideoLAN / VLC


Commits:
b59111b5 by Fatih Uzunoglu at 2026-03-16T11:21:12+01:00
qml: animate opacity in playlist delegate artwork image

This is now more relevant with the external preparser
that it takes a while for the image to appear.

- - - - -


1 changed file:

- modules/gui/qt/playlist/qml/PlaylistDelegate.qml


Changes:

=====================================
modules/gui/qt/playlist/qml/PlaylistDelegate.qml
=====================================
@@ -179,6 +179,14 @@ T.Control {
                 source: defaultSource
                 visible: !statusIcon.visible
                 asynchronous: true
+                opacity: (status === Image.Ready ? 1.0 : 0.0)
+
+                Behavior on opacity {
+                    OpacityAnimator {
+                        duration: VLCStyle.duration_short
+                        easing.type: Easing.InSine
+                    }
+                }
 
                 readonly property url targetSource: (delegate?.artwork.toString()) ? VLCAccessImage.uri(delegate.artwork) : VLCStyle.noArtAlbumCover
                 readonly property url defaultSource: delegate.preparsed ? targetSource : ""



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

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