[vlc-commits] [Git][videolan/vlc][master] qml: give layer room for clamp to edge to use the background in `MainDisplay`
Felix Paul Kühne (@fkuehne)
gitlab at videolan.org
Fri Mar 27 13:45:47 UTC 2026
Felix Paul Kühne pushed to branch master at VideoLAN / VLC
Commits:
f68aa482 by Fatih Uzunoglu at 2026-03-27T14:14:33+01:00
qml: give layer room for clamp to edge to use the background in `MainDisplay`
I mistakenly assumed that the edge pixel would always be the background in
2630a5cd, but in list view mode the last pixel may be the border of the
delegate, which is visible when the delegate has visual focus, or simply
the hover/selection coloring. This would extend the border or the delegate
coloring to be considered in the rest of the effect used in mini player
background, which is not wanted.
The increase of video memory usage here (1 * height) would be negligible
considering the decrease in 2630a5cd (playlist width * height).
- - - - -
1 changed file:
- modules/gui/qt/maininterface/qml/MainDisplay.qml
Changes:
=====================================
modules/gui/qt/maininterface/qml/MainDisplay.qml
=====================================
@@ -269,7 +269,7 @@ FocusScope {
// need to use background coloring. It is currently a todo to further reduce video memory
// consumption by covering the effect for only the area of interest, currently the blur
// effect does not support having an extension area for postprocessing.
- layer.sourceRect: Qt.rect(0, 0, stackView.width, height + bottomExtension)
+ layer.sourceRect: Qt.rect(0, 0, stackView.width + 1, height + bottomExtension)
Rectangle {
// Extension of parent rectangle for the bottom extension.
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/f68aa4821ca749e30db2d64e53faf9fa4de7428e
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/f68aa4821ca749e30db2d64e53faf9fa4de7428e
You're receiving this email because of your account on code.videolan.org.
More information about the vlc-commits
mailing list