From eb837255e0ba8da35db0fb87b0776c523d0c7b66 Mon Sep 17 00:00:00 2001 From: Marlon Kranz Date: Thu, 15 Oct 2026 15:14:19 +0200 Subject: [PATCH] fix(keybinds): use an existing font weight for unselected tabs (#3790) Theme has no fontWeightNormal, so every unselected category tab in the keybinds cheat sheet assigned undefined to font.weight. QML rejects that and keeps the last value, so a tab stayed Medium after it was deselected, and unselected tabs ignored the font weight setting. Use Theme.fontWeight, the shell's regular weight. --- quickshell/Modals/KeybindsContent.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/quickshell/Modals/KeybindsContent.qml b/quickshell/Modals/KeybindsContent.qml index 71db4baab..c93bf3417 100644 --- a/quickshell/Modals/KeybindsContent.qml +++ b/quickshell/Modals/KeybindsContent.qml @@ -622,7 +622,7 @@ FocusScope { StyledText { text: I18n.tr("All") color: allTab.contentColor - font.weight: allTab.isSelected ? Theme.fontWeightMedium : Theme.fontWeightNormal + font.weight: allTab.isSelected ? Theme.fontWeightMedium : Theme.fontWeight Layout.fillWidth: true elide: Text.ElideRight } @@ -675,7 +675,7 @@ FocusScope { StyledText { text: I18n.tr(catTab.catName) color: catTab.contentColor - font.weight: catTab.isSelected ? Theme.fontWeightMedium : Theme.fontWeightNormal + font.weight: catTab.isSelected ? Theme.fontWeightMedium : Theme.fontWeight Layout.fillWidth: true elide: Text.ElideRight }