From 5b8f083fe55a2fe755f086fbda4b759c0d8608a0 Mon Sep 17 00:00:00 2001 From: Vladimir Date: Wed, 26 Aug 2026 14:01:48 +0200 Subject: [PATCH] fix(tray): prefer tooltip title in menu (#3181) --- quickshell/Modules/DankBar/Widgets/SystemTrayBar.qml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/quickshell/Modules/DankBar/Widgets/SystemTrayBar.qml b/quickshell/Modules/DankBar/Widgets/SystemTrayBar.qml index fb86d8b27..324ec8228 100644 --- a/quickshell/Modules/DankBar/Widgets/SystemTrayBar.qml +++ b/quickshell/Modules/DankBar/Widgets/SystemTrayBar.qml @@ -1890,10 +1890,10 @@ BasePill { anchors.leftMargin: Theme.spacingS anchors.verticalCenter: parent.verticalCenter text: { - const itemId = menuRoot.trayItem?.id || "Unknown"; + const itemTitle = menuRoot.trayItem?.tooltipTitle || menuRoot.trayItem?.id || I18n.tr("Unknown"); if (root.isAutoOverflowTrayItem(menuRoot.trayItem)) - return itemId + " · " + I18n.tr("Keep in Bar"); - return itemId; + return itemTitle + " · " + I18n.tr("Keep in Bar"); + return itemTitle; } font.pixelSize: Theme.fontSizeSmall color: Theme.surfaceTextMedium