Add opaque background to dock overlay window

The transparent dock overlay at LayerTop let maximized app content
bleed through, visible as a colored band (e.g. VLC's orange toolbar)
behind the favourites bar.

Add a Rectangle with Kirigami.Theme.backgroundColor using the Window
colorset, matching the pattern used by NavigationPanelComponent.
This commit is contained in:
Marco Allegretti 2026-04-11 10:34:23 +02:00
parent 8c56409f1c
commit 41a64bfe8e

View file

@ -176,6 +176,13 @@ ContainmentItem {
LayerShell.Window.exclusionZone: -1 LayerShell.Window.exclusionZone: -1
LayerShell.Window.keyboardInteractivity: LayerShell.Window.KeyboardInteractivityOnDemand LayerShell.Window.keyboardInteractivity: LayerShell.Window.KeyboardInteractivityOnDemand
Rectangle {
anchors.fill: parent
Kirigami.Theme.inherit: false
Kirigami.Theme.colorSet: Kirigami.Theme.Window
color: Kirigami.Theme.backgroundColor
}
FavouritesBar { FavouritesBar {
id: dockOverlayBar id: dockOverlayBar
anchors.fill: parent anchors.fill: parent