Keep status bar opaque in convergence mode

In mobile mode the status bar goes transparent when on the
homescreen so the wallpaper shows through. That is correct for
phone UX. In convergence/desktop mode it clashes with the always-
opaque dark dock: the top area looks light while the bottom is
dark. Return transparentBackground=false when convergence mode
is enabled so the panel stays consistently opaque.
This commit is contained in:
Marco Allegretti 2026-04-27 14:28:28 +02:00
parent c520a8e960
commit 1c0efb522f

View file

@ -83,6 +83,12 @@ Item {
return true;
}
// In convergence mode the status bar behaves like a desktop panel:
// always opaque so it matches the dock and doesn't let the wallpaper bleed through.
if (ShellSettings.Settings.convergenceModeEnabled) {
return false;
}
return !containmentItem.showingApp && !containmentItem.fullscreen;
}
forcedComplementary: {