[vlc-commits] [Git][videolan/vlc][master] qml: fix anchoring of the layer effect in `MainDisplay`
Steve Lhomme (@robUx4)
gitlab at videolan.org
Fri Dec 5 10:22:54 UTC 2025
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
5151a90a by Fatih Uzunoglu at 2025-12-05T09:38:47+00:00
qml: fix anchoring of the layer effect in `MainDisplay`
This bug is currently asymptomatic because `stackViewParent`
and `mainRow` (its parent) have the same size.
We can anchor to the sibling like we do for visual parent,
so this is a trivial fix.
- - - - -
1 changed file:
- modules/gui/qt/maininterface/qml/MainDisplay.qml
Changes:
=====================================
modules/gui/qt/maininterface/qml/MainDisplay.qml
=====================================
@@ -278,7 +278,7 @@ FocusScope {
id: stackViewParentLayerEffect
// Setting `height` does not seem to work here. Anchoring the effect is not very nice, but it works:
- anchors.fill: parent
+ anchors.fill: stackViewParent // WARNING: layered item is not necessarily the visual parent of its layer effect.
anchors.bottomMargin: -stackViewParent.bottomExtension
blending: stackViewParent.color.a < (1.0 - Number.EPSILON)
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/5151a90a98f1b65361f48fdf3ad5f0fe6f5f7436
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/5151a90a98f1b65361f48fdf3ad5f0fe6f5f7436
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