mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
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.
This commit is contained in:
parent
6a1631023e
commit
caef3bc82e
4 changed files with 5 additions and 9 deletions
|
|
@ -4,9 +4,9 @@
|
|||
|
||||
### Desktop demos
|
||||
|
||||

|
||||

|
||||

|
||||
<video src="screenshots/quick_DesktopDemo.webm" controls width="600" alt="Desktop overview"></video>
|
||||
<video src="screenshots/quick_DesktopDemo_docked.webm" controls width="600" alt="Docked mode"></video>
|
||||
<video src="screenshots/quick_DesktopDemo_tiling.webm" controls width="600" alt="Tiling"></video>
|
||||
|
||||
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.
|
||||
|
|
|
|||
|
|
@ -191,6 +191,7 @@ Rectangle {
|
|||
|
||||
Accessible.role: Accessible.Button
|
||||
Accessible.name: tile.catName
|
||||
Accessible.onPressAction: root.categorySelected(tile.catId)
|
||||
|
||||
Rectangle {
|
||||
anchors.fill: parent
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue