From 5770a4981f57daf858ccc7b0441a6b401d883f25 Mon Sep 17 00:00:00 2001 From: Marco Allegretti Date: Thu, 9 Apr 2026 10:14:55 +0200 Subject: [PATCH] Reduce dock height and hide redundant controls in convergence Halve the favourites bar from gridUnit*6 to gridUnit*3 to avoid oversized dock on desktop screens. Hide the arrow-up icon and disable the page-indicator tap handler since the app drawer is now opened via the dedicated Overview button. --- .../homescreens/folio/qml/FolioHomeScreen.qml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/containments/homescreens/folio/qml/FolioHomeScreen.qml b/containments/homescreens/folio/qml/FolioHomeScreen.qml index 2f09b6f8..b4538ecf 100644 --- a/containments/homescreens/folio/qml/FolioHomeScreen.qml +++ b/containments/homescreens/folio/qml/FolioHomeScreen.qml @@ -12,6 +12,7 @@ import org.kde.kirigami as Kirigami import org.kde.plasma.plasmoid 2.0 import org.kde.plasma.components 3.0 as PC3 import org.kde.plasma.private.mobileshell as MobileShell +import org.kde.plasma.private.mobileshell.shellsettingsplugin as ShellSettings import plasma.applet.org.kde.plasma.mobile.homescreen.folio as Folio import "./delegate" @@ -346,8 +347,8 @@ Item { visible: opacity > 0 // one is ignored as anchors are set - height: Kirigami.Units.gridUnit * 6 - width: Kirigami.Units.gridUnit * 6 + height: ShellSettings.Settings.convergenceModeEnabled ? Kirigami.Units.gridUnit * 3 : Kirigami.Units.gridUnit * 6 + width: ShellSettings.Settings.convergenceModeEnabled ? Kirigami.Units.gridUnit * 3 : Kirigami.Units.gridUnit * 6 anchors.topMargin: root.topMargin anchors.bottomMargin: root.bottomMargin @@ -403,7 +404,7 @@ Item { } PropertyChanges { target: favouritesBar - height: Kirigami.Units.gridUnit * 6 + height: ShellSettings.Settings.convergenceModeEnabled ? Kirigami.Units.gridUnit * 3 : Kirigami.Units.gridUnit * 6 } }, State { name: "left" @@ -467,11 +468,12 @@ Item { count: folio.PageListModel.length TapHandler { + enabled: !ShellSettings.Settings.convergenceModeEnabled onTapped: folio.HomeScreenState.openAppDrawer() } } - // show arrow to open app drawer when there is 1 page + // show arrow to open app drawer when there is 1 page (hidden in convergence mode) Kirigami.Icon { source: 'arrow-up' Kirigami.Theme.inherit: false @@ -480,7 +482,7 @@ Item { implicitHeight: Kirigami.Units.iconSizes.small implicitWidth: Kirigami.Units.iconSizes.small - visible: folio.PageListModel.length <= 1 + visible: folio.PageListModel.length <= 1 && !ShellSettings.Settings.convergenceModeEnabled anchors.horizontalCenter: parent.horizontalCenter anchors.bottom: parent.bottom