From caef3bc82e1a77ef61b7b16360210758f612e403 Mon Sep 17 00:00:00 2001 From: Marco Allegretti Date: Sun, 19 Apr 2026 07:01:55 +0200 Subject: [PATCH] Fix minor UI bugs and clean up dead code Clamp FavouritesBar window indicator dots to at least 1 so a running task with an empty WinIdList still shows a dot. Add Accessible.onPressAction to CategoryPanel tiles. Remove dead convergence-mode property bindings from NavigationPanelComponent since it is hidden in that mode. Use HTML video tags for .webm files in README so they render as playable video. --- README.md | 6 +++--- containments/homescreens/folio/qml/CategoryPanel.qml | 1 + containments/homescreens/folio/qml/FavouritesBar.qml | 2 +- containments/taskpanel/qml/NavigationPanelComponent.qml | 5 ----- 4 files changed, 5 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 903c2186..bb5c378e 100644 --- a/README.md +++ b/README.md @@ -4,9 +4,9 @@ ### Desktop demos -![Desktop overview](screenshots/quick_DesktopDemo.webm) -![Docked mode](screenshots/quick_DesktopDemo_docked.webm) -![Tiling](screenshots/quick_DesktopDemo_tiling.webm) + + + Shift is a fork of [plasma-mobile](https://invent.kde.org/plasma/plasma-mobile). The upstream phone UI is untouched; convergence adds a layer on top. diff --git a/containments/homescreens/folio/qml/CategoryPanel.qml b/containments/homescreens/folio/qml/CategoryPanel.qml index c90f517f..29d05097 100644 --- a/containments/homescreens/folio/qml/CategoryPanel.qml +++ b/containments/homescreens/folio/qml/CategoryPanel.qml @@ -191,6 +191,7 @@ Rectangle { Accessible.role: Accessible.Button Accessible.name: tile.catName + Accessible.onPressAction: root.categorySelected(tile.catId) Rectangle { anchors.fill: parent diff --git a/containments/homescreens/folio/qml/FavouritesBar.qml b/containments/homescreens/folio/qml/FavouritesBar.qml index 652d43de..08294918 100644 --- a/containments/homescreens/folio/qml/FavouritesBar.qml +++ b/containments/homescreens/folio/qml/FavouritesBar.qml @@ -916,7 +916,7 @@ MouseArea { Repeater { model: { var ids = taskDelegate.model.WinIdList - return ids ? ids.length : 1 + return Math.max(1, ids ? ids.length : 0) } Rectangle { diff --git a/containments/taskpanel/qml/NavigationPanelComponent.qml b/containments/taskpanel/qml/NavigationPanelComponent.qml index 250ff76c..f9898bfe 100644 --- a/containments/taskpanel/qml/NavigationPanelComponent.qml +++ b/containments/taskpanel/qml/NavigationPanelComponent.qml @@ -37,11 +37,6 @@ MobileShell.NavigationPanel { foregroundColorGroup: forcedComplementary ? Kirigami.Theme.Complementary : Kirigami.Theme.Window shadow: forcedComplementary - // Convergence mode: expose running-app task strip - convergenceMode: ShellSettings.Settings.convergenceModeEnabled - taskModel: tasksModel - virtualDesktopInfo: virtualDesktopInfo - MobileShellState.PanelSettingsDBusClient { id: panelSettings screenName: Screen.name