From 656a1fa4ed991589cf19a663e15f8bb460520185 Mon Sep 17 00:00:00 2001 From: rope Date: Tue, 26 May 2026 21:13:28 +0100 Subject: [PATCH] quickshell: fix tray hover gaps closing dropdown Enlarge tray icon hit areas and add HoverHandler on tray row to keep dropdown alive while moving between icons. Co-Authored-By: Claude Opus 4.6 --- settings/hyprland.nix | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/settings/hyprland.nix b/settings/hyprland.nix index 8dfc0cf..a2e8a80 100644 --- a/settings/hyprland.nix +++ b/settings/hyprland.nix @@ -963,19 +963,28 @@ in Row { id: trayArea spacing: 8 + height: 30 anchors.verticalCenter: parent.verticalCenter + HoverHandler { + onHoveredChanged: { + if (hovered && bar.activeDropdown) bar.activeDropdown.resetAutoClose(); + } + } + Repeater { model: SystemTray.items Item { required property var modelData - width: 16 - height: 16 + width: 24 + height: 30 Image { id: trayIcon - anchors.fill: parent + anchors.centerIn: parent + width: 16 + height: 16 source: modelData.icon sourceSize.width: 16 sourceSize.height: 16