From 34fec629e796f91979c9d33ab4fc928a9c452f37 Mon Sep 17 00:00:00 2001 From: Quadbyte Date: Mon, 4 Aug 2025 21:26:51 -0400 Subject: [PATCH 1/2] qt6-5compat is no longer required --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index 15c63e5..8ae0877 100644 --- a/README.md +++ b/README.md @@ -184,7 +184,6 @@ qs ipc call globalIPC toggleIdleInhibitor You will need to install a few things to get everything working: -- `qt6-5compat` for some graphical effects - `cava` so the audio visualizer works - `gpu-screen-recorder` so that the record button works - `xdg-desktop-portal-gnome` or any other xdg-desktop-portal From 9857ef583c3af0a6d6ce0361a618d60e6fa8b224 Mon Sep 17 00:00:00 2001 From: Quadbyte Date: Mon, 4 Aug 2025 21:33:25 -0400 Subject: [PATCH 2/2] Taskbar improvements - Fix broken tooltip and truncate them if too long - Fix SystemInfo width which can lead to blurry image in the taskbar --- Bar/Modules/SystemInfo.qml | 4 ++++ Bar/Modules/Taskbar.qml | 4 +++- Components/StyledTooltip.qml | 5 +++-- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/Bar/Modules/SystemInfo.qml b/Bar/Modules/SystemInfo.qml index 07c7144..7a0dc85 100644 --- a/Bar/Modules/SystemInfo.qml +++ b/Bar/Modules/SystemInfo.qml @@ -8,6 +8,10 @@ Row { spacing: 10 visible: Settings.settings.showSystemInfoInBar + // The width calculation below is required to ensure our row width is an integer. + // If omitted the next component to the right might get blurry (Taskbar icons). + width: Math.floor(cpuUsageLayout.width + cpuTempLayout.width + memoryUsageLayout.width + (2 * 10)) + Row { id: cpuUsageLayout spacing: 6 diff --git a/Bar/Modules/Taskbar.qml b/Bar/Modules/Taskbar.qml index 8f716e6..792babc 100644 --- a/Bar/Modules/Taskbar.qml +++ b/Bar/Modules/Taskbar.qml @@ -15,6 +15,7 @@ Item { // Attach custom tooltip StyledTooltip { id: styledTooltip + positionAbove: false } function getAppIcon(toplevel: Toplevel): string { @@ -94,7 +95,8 @@ Item { cursorShape: Qt.PointingHandCursor onEntered: { - styledTooltip.text = appTitle || appId; + var text = appTitle || appId; + styledTooltip.text = text.length > 60 ? text.substring(0, 60) + "..." : text; styledTooltip.targetItem = appButton; styledTooltip.tooltipVisible = true; } diff --git a/Components/StyledTooltip.qml b/Components/StyledTooltip.qml index 9c30baf..58e56a4 100644 --- a/Components/StyledTooltip.qml +++ b/Components/StyledTooltip.qml @@ -16,8 +16,6 @@ Window { color: "transparent" visible: false - minimumWidth: Math.max(50, tooltipText.implicitWidth + 24) - minimumHeight: Math.max(50, tooltipText.implicitHeight + 16) property var _timerObj: null onTooltipVisibleChanged: { @@ -36,6 +34,9 @@ Window { } function _showNow() { + width = Math.max(50, tooltipText.implicitWidth + 24) + height = Math.max(50, tooltipText.implicitHeight + 16) + if (!targetItem) return; if (positionAbove) {