[vlc-commits] [Git][videolan/vlc][master] Revert "qml: adjust the parent of fade rectangles in `Player.qml`"
Steve Lhomme (@robUx4)
gitlab at videolan.org
Fri Apr 3 12:06:51 UTC 2026
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
1ded7b23 by Fatih Uzunoglu at 2026-04-03T11:52:23+00:00
Revert "qml: adjust the parent of fade rectangles in `Player.qml`"
Unfortunately `z` is relative to parent and there is no other
way to adjust `z` globally without manipulating the scene graph.
Fade rectangles should be behind everything, without this change
they are in front of play queue and since we disable blending it
would make play queue fragments to not be rendered.
This reverts commit 7c08db598ba72ab404d409b908e598b9e7719d7b.
- - - - -
1 changed file:
- modules/gui/qt/player/qml/Player.qml
Changes:
=====================================
modules/gui/qt/player/qml/Player.qml
=====================================
@@ -233,7 +233,6 @@ FocusScope {
}
component FadeRectangle : Rectangle {
- z: -99
implicitHeight: VLCStyle.dp(206, VLCStyle.scale)
SGManipulator {
@@ -246,14 +245,13 @@ FocusScope {
}
FadeRectangle {
- parent: topBar
-
anchors.top: parent.top
anchors.left: parent.left
anchors.right: parent.right
implicitHeight: VLCStyle.dp(206, VLCStyle.scale)
+ opacity: topBar.opacity
visible: !topBarAcrylicBg.visible
gradient: Gradient {
@@ -263,14 +261,14 @@ FocusScope {
}
FadeRectangle {
- parent: controlBar
-
anchors.bottom: parent.bottom
anchors.left: parent.left
anchors.right: parent.right
implicitHeight: VLCStyle.dp(206, VLCStyle.scale)
+ opacity: controlBar.opacity
+
gradient: Gradient {
GradientStop { position: 0; color: "transparent" }
GradientStop { position: .64; color: Qt.rgba(0, 0, 0, .8) }
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/1ded7b2327bc4f56b73bbdcda11a7f33dfe3cbfe
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/1ded7b2327bc4f56b73bbdcda11a7f33dfe3cbfe
You're receiving this email because of your account on code.videolan.org.
More information about the vlc-commits
mailing list