[vlc-commits] [Git][videolan/vlc][master] 3 commits: qml: add property `implicitClipping` in `FadingEdge`

Jean-Baptiste Kempf (@jbk) gitlab at videolan.org
Wed May 13 16:58:00 UTC 2026



Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC


Commits:
ec0f075f by Fatih Uzunoglu at 2026-05-13T18:45:58+02:00
qml: add property `implicitClipping` in `FadingEdge`

This property implies whether clipping is done
implicitly due to layering, so that additional
clipping may be avoided as an optimization.

- - - - -
1e3ce703 by Fatih Uzunoglu at 2026-05-13T18:45:58+02:00
qml: avoid additional clipping if possible in `PlaylistPane`

- - - - -
7afba3a2 by Fatih Uzunoglu at 2026-05-13T18:45:58+02:00
qml: avoid additional clipping if possible in `TracksListPage`

- - - - -


3 changed files:

- modules/gui/qt/player/qml/TracksListPage.qml
- modules/gui/qt/playlist/qml/PlaylistPane.qml
- modules/gui/qt/widgets/qml/FadingEdge.qml


Changes:

=====================================
modules/gui/qt/player/qml/TracksListPage.qml
=====================================
@@ -205,7 +205,7 @@ RowLayout {
                 height: tracksListContainer.height - titleHeader.height
                 leftMargin: separator.width
                 focus: true
-                clip: true
+                clip: !fadingEdge.implicitClipping
 
                 fadingEdge.backgroundColor: theme.bg.primary
 


=====================================
modules/gui/qt/playlist/qml/PlaylistPane.qml
=====================================
@@ -212,7 +212,7 @@ T.Pane {
 
             focus: true
 
-            clip: true // else out of view items will overlap with surronding items
+            clip: !fadingEdge.implicitClipping
 
             model: root.model
 


=====================================
modules/gui/qt/widgets/qml/FadingEdge.qml
=====================================
@@ -60,6 +60,8 @@ Item {
 
     readonly property bool effectCompatible: (GraphicsInfo.shaderType === GraphicsInfo.RhiShader)
 
+    readonly property bool implicitClipping: shaderEffectSource.visible
+
     Rectangle {
         id: backgroundRect
 



View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/135ecf7f13ef642b5b920599fedc15d4ec23e956...7afba3a26550c54a4c706a68d9a247ba39e8e04d

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/135ecf7f13ef642b5b920599fedc15d4ec23e956...7afba3a26550c54a4c706a68d9a247ba39e8e04d
You're receiving this email because of your account on code.videolan.org.




More information about the vlc-commits mailing list