Workspace scroll-switch reverts when a hover popout closes (Hyprland, connected frame mode)
Compositor
Hyprland
Distribution
CachyOS
Select your Installation Method
Distro Packaging
Was this your original Installation method?
Yes
dms doctor -vC
Click to expand
DMS Doctor Report
System
- [ok] Operating System: CachyOS
- ID: cachyos, Version: rolling, Arch: amd64
- [ok] Architecture: amd64
- [ok] Display Server: Wayland
- WAYLAND_DISPLAY=wayland-1
Versions
- [ok] DMS CLI: dms v1.5.3
- /usr/bin/dms
- [ok] Quickshell: Quickshell 0.3.0 (revision , distributed by Arch Linux)
- /usr/bin/qs
- [ok] DMS Shell: v1.5.3
- /usr/share/quickshell/dms
Installation
- [ok] DMS Configuration: Found
- /usr/share/quickshell/dms
- [ok] shell.qml: Present
- /usr/share/quickshell/dms/shell.qml
- [info] Install Type: System package
- /usr/share/quickshell/dms
Compositor
- [ok] Hyprland: 0.56.1
- /usr/bin/hyprland
- [info] Active: Hyprland
- [ok] Background Blur: Supported
- Compositor supports ext-background-effect-v1
Quickshell Features
- [ok] Polkit: Available
- Authentication prompts
- [ok] IdleMonitor: Available
- Idle detection
- [ok] IdleInhibitor: Available
- Prevent idle/sleep
- [ok] ShortcutInhibitor: Available
- Allow shortcut management (niri)
- [ok] BackgroundBlur: Available
- Background blur API support in Quickshell
Optional Features
- [ok] accountsservice: Available
- User accounts
- [ok] power-profiles-daemon: Available
- Power profile management
- [ok] logind: Available
- Session management
- [ok] cups-pk-helper: Available
- Printer management
- [ok] I2C/DDC: 1 monitor(s) detected
- External monitor brightness control
- [ok] qt6-imageformats: Installed (5 formats)
- Formats: WebP, TIFF, GIF, JP2, ICNS (/usr/lib/qt6/plugins/imageformats:/usr/lib64/qt6/plugins/imageformats)
- [ok] kimageformats: Installed (4 formats)
- Formats: AVIF, HEIF, JXL, EXR (/usr/lib/qt6/plugins/imageformats:/usr/lib64/qt6/plugins/imageformats)
- [ok] Terminal: kitty, alacritty
- [ok] Network: NetworkManager
- NetworkManager present. Using NM API.
- [ok] matugen: Installed
- Dynamic theming
- [ok] dgop: Installed
- System monitoring
- [ok] cava: Installed
- Audio visualizer
- [ok] khal: Installed
- Calendar events
- [info] danksearch: Not installed
- File search
- [info] dankcalendar: Not installed
- Calendar app
- [info] fprintd: Not installed
- Fingerprint auth
Config Files
- [ok] settings.json: Present
- /home/marlon/.config/DankMaterialShell/settings.json
- [ok] clsettings.json: Present
- /home/marlon/.config/DankMaterialShell/clsettings.json
- [ok] plugin_settings.json: Present
- /home/marlon/.config/DankMaterialShell/plugin_settings.json
- [ok] session.json: Present
- /home/marlon/.local/state/DankMaterialShell/session.json
- [ok] dms-colors.json: Present
- /home/marlon/.cache/DankMaterialShell/dms-colors.json
Services
- [ok] dms.service: enabled, active
- [ok] greetd: enabled
Environment
- [info] QT_QPA_PLATFORMTHEME: qt5ct
- [info] QS_ICON_THEME: Not set
- [warn] XDG_MENU_PREFIX: hyprland- (menu file not found)
- Dolphin 'Open with…' dialog may be empty. Ensure /etc/xdg/menus/hyprland-applications.menu exists.
Fonts
- [ok] Normal Font: Inter Variable
- Available
- [warn] Monospace Font: 'Fira Code' not found
- Font is not registered. Try running 'fc-cache -fv' or install the font.
Summary: 0 error(s), 2 warning(s), 36 ok
Description
Scrolling over the workspace switcher while a bar popout is open switches the workspace, but the switch gets reverted the moment the popout closes.
Repro: open any hover-triggered top bar popout (I use the app/task popout), then without closing it, move the mouse down onto the workspace switcher and scroll to change workspace. The switch takes effect immediately — the switcher updates, the active workspace changes. But as soon as the mouse leaves the bar and the popout closes, the workspace jumps back to whatever it was before the scroll. The popout itself closes fine; it's specifically the workspace state that snaps back.
I dug through WorkspaceSwitcher.qml and its onWheel handler calls the compositor directly — there's no local/optimistic workspace state in the switcher that could be reverting on its own. That points at Hyprland re-asserting the pre-popout active window/workspace when the popout's layer surface closes, rather than a DMS-side state bug. Two other issues touch similar territory without matching this exact symptom: #732 (closing a modal can itself trigger a workspace change, tied to WlrKeyboardFocus.Exclusive vs .OnDemand) and the now-closed #2561 (keyboard focus/active window getting re-asserted by Hyprland's closelayer → activewindow sequence on bar-popout close). Neither is a duplicate of this — this is specifically the workspace scroll-switch getting clobbered — but the mechanism looks related, so flagging both as prior art in case they share a fix.
Popout hover-close runs on a ~150ms grace timer, and the revert is consistent every time I've hit it, so this doesn't look like a race that only shows up occasionally.
Expected Behavior
Scrolling the workspace switcher should change the workspace for good, whether or not a popout happens to be open or closing at the same time. Closing a popout shouldn't touch workspace state at all.
Steps to Reproduce
frameMode: connectedin settings.json (popouts render viaDankPopoutConnected) — my setting, not sure if it matters for repro.- Hover a top bar widget that opens a popout on hover (e.g. the app/task popout) and let it open.
- Without closing the popout, move the mouse onto the workspace switcher in the bar.
- Scroll to switch to a different workspace. It switches — the switcher and the active workspace both update.
- Move the mouse away from the bar so the popout closes.
- Watch the workspace: it jumps back to whatever was active before step 4.
Error Messages/Logs
None — no errors in dms.service journal or the terminal when it happens. Purely a visual/state glitch.
Screenshots/Recordings
Didn't grab one — the bug is a state revert, hard to convey in a still. Happy to record a clip if it'd help triage.