diff --git a/containments/panel/package/contents/ui/main.qml b/containments/panel/package/contents/ui/main.qml index 90eb42b9..ae45bce5 100644 --- a/containments/panel/package/contents/ui/main.qml +++ b/containments/panel/package/contents/ui/main.qml @@ -25,6 +25,8 @@ ContainmentItem { Plasmoid.backgroundHints: PlasmaCore.Types.NoBackground Plasmoid.status: PlasmaCore.Types.PassiveStatus // ensure that the panel never takes focus away from the running app + onWidthChanged: maximizeTimer.restart() + // filled in by the shell (Panel.qml) with the plasma-workspace PanelView property var panel: null onPanelChanged: { @@ -33,6 +35,14 @@ ContainmentItem { } } + // Ensure that panel is always the full width of the screen + Timer { + id: maximizeTimer + running: false + interval: 100 + onTriggered: root.panel.maximize() + } + // only opaque if there are no maximized windows on this screen readonly property bool showingApp: windowMaximizedTracker.showingWindow readonly property color backgroundColor: topPanel.colorScopeColor