Shell shortcuts (SUPER+SPACE menu etc.) stop working after monitor disconnect/reconnect via KVM until rescanPlugins
Summary
After the only monitor disconnects and reconnects (switching a KVM to another machine and back), shell-routed shortcuts such as SUPER+SPACE (omarchy:menu.root) and the other omarchy:* global shortcuts sometimes stop doing anything. Running omarchy-shell shell rescanPlugins makes them work again.
Steps to reproduce
- Single-monitor setup connected through a KVM switch.
- Switch the KVM to another machine so Hyprland loses all outputs, then switch back.
- Press SUPER+SPACE. The menu sometimes doesn't open; other shell shortcuts are dead too.
- Run
omarchy-shell shell rescanPlugins. Shortcuts work again.
It's intermittent and doesn't happen on every switch. This machine logged 143 "no outputs" events in 7 days.
Expected
Shell shortcuts keep working after outputs go away and come back.
Logs
Each switch-back logs the following from omarchy-shell, followed by a full panel rebuild:
WARN quickshell.hyprland.ipc: Got removal for monitor "FALLBACK" which was not previously tracked.
INFO qt.qpa.wayland: There are no outputs - creating placeholder screen
WARN scene: QML ShellIpc at file:///usr/share/omarchy/shell/plugins/panels/tailscale/Panel.qml[366:3]: Handler was registered but will not be used because another handler is registered for target omarchy.tailscale
WARN scene: QML ShellIpc at file:///usr/share/omarchy/shell/plugins/panels/bluetooth/Panel.qml[640:3]: Handler was registered but will not be used because another handler is registered for target omarchy.bluetooth
... (same for network, monitor, power, audio, weather, system-update, clock, indicators, elsewhen, agents)
WARN: Layershell screen does not correspond to a real screen. Letting the compositor pick.
The duplicate ShellIpc handler warnings suggest that panels get re-instantiated while the old instances (bound to the removed/placeholder screen) are still alive. hyprctl globalshortcuts still lists omarchy:menu.root and the others. Because rescanPlugins (unloadPanels + rescan) fixes it, my guess is that the omarchy.menu panel loader is left with a stale or "opened" item after the output loss, so shell.toggle() hides an invisible panel or opens it nowhere. I haven't confirmed that in the QML.
Workaround
A socket2 listener that runs omarchy-shell -q shell rescanPlugins about 3s after monitoradded.
System
- Omarchy 4.0.0.r6691.g8b4eae6-1
- Hyprland 0.56.2, quickshell 0.3.1-1
- Kernel 7.2.5-4-omarchy
- CPU: AMD Ryzen AI 9 HX 370, GPU: Radeon 890M (Strix)
- Monitor: Samsung Odyssey G95SC on DP-1, via KVM
This looks like the same root cause as #13882. When the output an overlay was parked on disappears, as with a KVM switch, Hyprland closes that layer surface and Quickshell leaves it unmapped, so the menu, OSD and other overlays stop appearing until the shell rebuilds them (which rescanPlugins does as a side effect). hyprctl layers | grep omarchy-menu coming back empty after the switch would confirm it. Open fixes: #13903, which remaps the surface after the compositor closes it and keeps the parked surface on the focused monitor, and #13792.
Seeing the same thing on a different setup, so this isn't just a KVM thing.
No KVM here. A single Samsung Odyssey G80SD on DP-1 drops off when it goes into DPMS sleep after idle, and comes back on wake. Afterwards SUPER+SPACE does nothing, while Hyprland binds like SUPER+ENTER keep working fine.
Same log signature right at the wake:
WARN: Layershell screen does not correspond to a real screen. Letting the compositor pick.
WARN quickshell.hyprland.ipc: Got removal for monitor "FALLBACK" which was not previously tracked.
followed by the wall of duplicate ShellIpc handler warnings.
From reading the shell source, the menu's OverlayWindow keeps a single parked surface pinned to targetScreen, so this lines up with #13882. I'll check hyprctl layers | grep omarchy-menu the next time it happens and report back. Happy to test #13903 / #13792 too.
System:
- Omarchy 4.0.0.r6694.g821ae58-1 (edge)
- Hyprland 0.56.2, quickshell 0.3.1-1
- Kernel 7.2.5-4-omarchy
- AMD Ryzen 9 7950X, RTX 4090 (nvidia-open 615.71.09)
- Odyssey G80SD 3840x2160@240 on DP-1
Confirming the hyprctl layers check suggested above, on a third setup: a single Samsung Odyssey G95C on HDMI-A-1 whose built-in USB hub/KVM carries the keyboard, on AMD graphics.
Each time the monitor drops and comes back (today at 10:16, 11:09 and 12:14; the kernel log shows the USB hub 1-4 reconnecting and aquamarine logs Connector HDMI-A-1 disconnected and then reconnected), the shell logs the same signature:
WARN: Layershell screen does not correspond to a real screen. Letting the compositor pick.
WARN quickshell.hyprland.ipc: Got removal for monitor "FALLBACK" which was not previously tracked.
WARN: attempted to use dangling screen object
After the reconnect, hyprctl layers shows only omarchy-bar, omarchy-background, omarchy-notifications and ai-usage-notch. omarchy-menu, omarchy-osd, omarchy-clipboard, omarchy-emojis, omarchy-image-selector and omarchy-reminders are all gone. Before the disconnect all of them were present (as 1x1 parked surfaces). omarchy-menu summon root returns ok but nothing appears, and listPlugins reports the menu as enabled. SUPER+SPACE, SUPER+ALT+SPACE and SUPER+K do nothing, while plain Hyprland binds (SUPER+2) keep working. This matches the parked OverlayWindow surface not being remapped, as described above. The per-screen Variants windows (bar, background, notifications) recover; the single parked overlays don't.
omarchy-restart-shell restores every overlay surface (confirmed with hyprctl layers). As a stopgap I'm running a socket2 listener that restarts the shell on monitoradded when the omarchy-menu layer is missing. Happy to test #13903 / #13792.
System:
- Omarchy 4.0.0.r6694.g821ae58-1
- Hyprland 0.56.2, quickshell 0.3.1-1
- Kernel 7.2.5-4-omarchy
- AMD HawkPoint1 iGPU
- Odyssey G95C 5120x1440@60 on HDMI-A-1
Filed by Claude Opus 5.5 via Claude Code.
This is fixed on quattro by 0a55a3c55 (#14458, merged 2026-10-07). It is not in a tagged release yet, and the edge builds reported here (r6691, r6694) predate it.
The cause was the parked overlay surface added in #13419. OverlayWindow kept one 1x1 layer surface per overlay (menu, OSD, clipboard, emojis, image selector, reminders) for the life of the shell. When the only output went away, Hyprland closed those surfaces and nothing mapped them again, so summon kept answering ok with nothing on screen. #13882 describes the same mechanism, triggered by unplugging one of two monitors. #14458 removes the parked surfaces: each overlay now maps a fresh surface on the focused screen when it opens and unmaps when it closes.
Reproduced on a worker VM (Omarchy ISO, Hyprland 0.56.2, one virtual output) by disabling that output, which leaves Hyprland with only FALLBACK and logs the same placeholder-screen and FALLBACK warnings as in the reports, then re-enabling it:
- Before the fix (0a55a3c55^), all of the parked
omarchy-*overlay layers disappear. After the output comes back,summon omarchy.menureturnsokand noomarchy-menulayer appears. - On
quattro(47caa9be4), with the menu closed during the drop, it opens normally afterwards. With the menu open when the output drops, its surface is mapped again on reconnect and draws the menu. Both cases were checked withhyprctl layersand with the menu's text read off a screenshot.
The duplicate ShellIpc "handler was registered but will not be used" warnings come from panels being rebuilt for the new screen. They do not affect the menu shortcuts, which call the shell directly.
Codex Medium gave a second opinion by reading the source. It reached the same mechanism and the same conclusion about #14458 before the worker run, and its independence from my reasoning is not guaranteed. This is left open for the maintainer to close as fixed. If it happens on a build that includes 0a55a3c55, hyprctl layers output from after the reconnect would show whether it is something else.
Still reproducing on 4.5.0-3 (stable), which already includes #14458: the installed Ui/OverlayWindow.qml maps a fresh surface on each open and has no parked surface. So that fix doesn't cover every case.
Setup: one LG WQHD+ monitor on DP-1, AMD CPU + NVIDIA GPU, no KVM. The monitor fully disconnects during DPMS sleep and comes back on wake, like the Odyssey G80SD report above.
What happened:
- Idle lock, then screensaver, then DPMS off, then wake. Unlocking with the password worked, so keyboard input was fine.
- After unlock, SUPER+SPACE and the other shell shortcuts did nothing, and the Omarchy menu and power menu wouldn't open.
- It came back after a few minutes. I can't say what fixed it; replugging the keyboard's USB hub at about the same time may have been coincidence.
Log at wake (journalctl --user):
18:15:49 omarchy idle process-exit: wake exitCode=0
18:15:51 INFO qt.qpa.wayland: There are no outputs - creating placeholder screen (x2)
18:15:52 WARN scene: QML ShellIpc at .../plugins/panels/{agents,audio,bluetooth,clock,elsewhen,indicators,monitor,network,power,system-update,weather,workspaces}: Handler was registered but will not be used because another handler is registered for target omarchy.*
18:15:53 WARN: Layershell screen does not correspond to a real screen. Letting the compositor pick.
18:15:53 WARN: attempted to use dangling screen object (x4)
18:15:53 WARN quickshell.hyprland.ipc: Got removal for monitor "FALLBACK" which was not previously tracked.
18:16:04 omarchy lock unlocked
An hour earlier (17:08) the same output loss made the shell exit instead: Omarchy shell exited with status 255; relaunching. (possibly #18421 / #18494).
I didn't capture hyprctl layers or try omarchy-shell shell rescanPlugins during this incident. I'll do both the next time it happens and report back. #17896 (recovery after full output loss) looks like it would cover this.
Versions: Omarchy 4.5.0-3, Hyprland 0.56.2, quickshell 0.3.2.r7.g2b4501a-1, kernel 7.2.15-1-omarchy.
Filed by Claude Opus 5.5 via Claude Code.
The 4.5.0-3 occurrence remains unresolved. That release includes #14458 and no longer parks overlay surfaces, so the earlier parked-surface fix does not establish that this newer failure is fixed.
On an ISO worker running quattro at 419a5a7095d118a218d5f84548dbd83ce90067e6, I disabled the only output, confirmed FALLBACK, restored it, and invoked the omarchy:menu.root shortcut. The menu opened after all three cycles, with the same shell PID throughout. Shell/menu pings and the clock panel also worked; cropped menu captures before and after were identical. The worker logged placeholder-screen, dangling-screen and FALLBACK warnings too. It used a virtual GPU and Hyprland 0.57.2, so this does not reproduce the reported NVIDIA/Hyprland 0.56.2 lock/wake sequence. No fix is verified by this result.
@ckbrewer33, please capture the following during the next failure, before rescanning plugins or restarting the shell:
date -Is
pgrep -ax quickshell
hyprctl -j monitors
hyprctl -j layers
hyprctl globalshortcuts
timeout 5s omarchy-shell shell ping
timeout 5s omarchy-menu ping
timeout 5s omarchy-menu summon root
hyprctl -j layers
Include whether each call returns, whether direct summon opens the menu, and the shell journal around that timestamp (journalctl --user --since '5 minutes ago' --no-pager). These observations distinguish shortcut delivery, an unresponsive shell, and an overlay that never maps. After saving them, try hyprctl reload followed by omarchy-menu summon root and report whether the menu returns without a shell restart. That checks whether refreshing the compositor configuration repairs the shell's cached monitor state. Also record whether the original rescanPlugins workaround helps; on current quattro, rescanning keeps existing plugins loaded. The exit-255 incident an hour earlier does not establish which happened after this unlock.
#17896 proposes recovery after complete output loss and shell hangs. It remains a candidate mitigation for this report; it has not been verified against this occurrence, so I have not linked it as fixing this issue.
For an optional retest of the exact development tree exercised above:
git clone https://github.com/omacom/omarchy.git ~/omarchy-13956
git -C ~/omarchy-13956 checkout --detach 419a5a7095d118a218d5f84548dbd83ce90067e6
omarchy dev link ~/omarchy-13956
Reboot to activate it. omarchy dev unlink followed by a reboot returns to the packaged tree. This tests that source revision with your installed packages; it is not a claim that a new fix exists there.
GPT-6 High in Codex checked the source and ran the worker diagnostics. Opus 5.5 High and muse-wonder via pi, thinking high, reviewed the source through omabot review; neither established a cause for the newer occurrence. They agreed that #17896 remains unverified for this report; independence of that agreement is not guaranteed.
Leaving this open for evidence from an affected machine.
This reproduces here on a single HDMI monitor by powering it off and on, with no lock or KVM involved. The shell stays alive. Quickshell's Hyprland.monitors ends up empty: a stale j/monitors reply taken while only FALLBACK existed removes the monitor that was just re-added, and later refreshes can't recreate it. Overlays then wait forever for their screen's monitor. hyprctl reload recovers it (configreloaded re-queries with creation allowed). rescanPlugins doesn't.
#19341 detects a screen that's missing from Hyprland.monitors and reloads once. It has the IPC debug log and the full sequence.
Diagnostics requested above, captured right after a power-cycle, before touching any shortcut (Omarchy 4.5, Hyprland 0.56.2, quickshell 0.3.2.r7.g2b4501a, BenQ EX2710Q on HDMI-A-1, AMD iGPU):
$ pgrep -ax quickshell
4119644 quickshell -n -p /usr/share/omarchy/shell (same PID as before the power-cycle)
$ hyprctl -j monitors -> HDMI-A-1 only, focused, 2560x1440 @ 1.25
$ hyprctl -j layers -> ["omarchy-background","omarchy-bar","omarchy-dock","omarchy-notifications"]
$ hyprctl globalshortcuts -> omarchy:menu.root -> Toggle the root menu
$ omarchy-shell shell ping -> ok
$ omarchy-menu ping -> ok
$ omarchy-menu summon root -> ok
$ hyprctl -j layers -> no omarchy-menu
$ hyprctl reload
$ omarchy-menu summon root -> ok
$ hyprctl -j layers -> [..., "omarchy-menu"] (menu is back, no shell restart)
So the shortcuts are delivered, the shell answers, and the menu is summoned but never maps. A reload fixes it without a restart.
Why a VM may not reproduce it: this is a race. It only happens when the j/monitors reply that was requested while only FALLBACK existed arrives after the real output has been re-added. Here, Hyprland is busy modesetting the returning HDMI output, and that reply lands about 900 ms late (request at 23:12:55.569, parsed at 23:12:56.476, after Monitor added ... HDMI-A-1 at 56.464). On a virtual output the reply probably comes back before the output returns, so the stale list never overwrites the new one. I haven't confirmed that on a VM.
Filed by Claude Opus 5.5 via Hermes.
The new diagnostics isolate a failure I can now reproduce. This is separate from the parked-surface problem fixed by #14458.
On an Omarchy ISO worker, I forwarded the compositor's real IPC replies and delayed one j/monitors reply containing only FALLBACK until after the real output had been re-added. The reply's bytes were unchanged. On quattro at e6aec9716dbb8748e0d4e66ff927cb7b04a2e17a, shell/menu pings and summon root returned ok, but no menu layer appeared. rescanPlugins did not recover it; hyprctl reload restored it without changing the shell PID.
Quickshell's refreshMonitors() drops overlapping refresh requests. The older reply can then remove the newly added monitor from its cache, and ordinary refreshes cannot recreate it. OverlayWindow.qml requires that cached monitor before mapping the menu. A config reload requests a refresh with monitor creation allowed. Later focus or workspace-move events can also recreate a missing monitor, so spontaneous recovery does not exclude the race.
With #19341 at 18077bd5a1855dc655f20a2541330459e718ba74, the same delayed reply initially broke the menu, then the new service logged the missing monitor and reloaded Hyprland. The menu and the omarchy:menu.root shortcut worked afterwards, with the same shell PID. Switching back to the base revision reproduced the failure again. The before and reverted captures are identical; the candidate capture shows the menu.
After the source review, I ran its requested timing control: with a two-second output absence, the same proxy recovered when unarmed and failed when the real reply was held across reconnection. Quickshell debug logs confirmed monitor re-addition before the stale parse. A rapid unarmed proxy cycle also failed, while a native rapid cycle passed; these checks establish sensitivity to timing, not how often physical hardware reaches this state.
This worker used a virtual GPU, Hyprland 0.57.2 and Quickshell 0.3.2.r7.g2b4501a-11. This confirms recovery from the imposed reply ordering; it does not establish that every physical KVM or NVIDIA lock/wake occurrence has this cause. The full PR test suite was not run in this issue session, and #19341 still needs its own review.
@dennisroy and @ckbrewer33, an affected-machine retest of that exact head would establish whether it covers your occurrence:
git clone https://github.com/omacom/omarchy.git ~/omarchy-13956-test
git -C ~/omarchy-13956-test fetch origin 18077bd5a1855dc655f20a2541330459e718ba74
git -C ~/omarchy-13956-test checkout --detach 18077bd5a1855dc655f20a2541330459e718ba74
omarchy dev link ~/omarchy-13956-test
Reboot to activate it. omarchy dev unlink followed by a reboot restores the packaged tree. If it still fails, save the pings, direct summon result, monitor/layer listings and journal requested above before recovering it.
I have not added a closing link to #19341: it recovers this cache state, while the historical reports and the NVIDIA lock/wake occurrence have not all been shown to share it. This issue remains open for affected-machine confirmation; the PR proceeds through its own review.
GPT-6 High in Codex ran the worker diagnostics. Opus 5.5 High and muse-wonder via pi, thinking high, reviewed the source, probe and initial worker logs through omabot review. Neither found a defect invalidating the demonstrated recovery. Opus requested the additional control reported above; both cautioned against treating this as a fix for every occurrence in this issue. The independence of their agreement on the mechanism is not guaranteed.
Following up from #16328, as requested there: the shell journal spanning one of the dropouts and the return, plus versions.
System: Omarchy 4.5.0-3, Hyprland 0.56.2-4, Quickshell 0.3.2 (quickshell 0.3.2.r7.g2b4501a-1, revision 2b4501a), Intel Tiger Lake (i915), single monitor on HDMI-A-1. A WayVNC session is bound to HDMI-A-1.
Trigger: switching the monitor to another input and back drops HDMI-A-1 for about 2 seconds. It happened three times in three days: Nov 15 10:53:40, Nov 16 03:03:08 and Nov 17 03:59:53 (JST). Each one logs the same "no outputs" → FALLBACK sequence.
Journal for the Nov 17 dropout (journalctl --user; the per-panel duplicate-handler lines are collapsed, and home paths are shortened to ~):
03:59:53 wayvnc: Warning: main.c: 260: Selected output HDMI-A-1 went away
03:59:53 omarchy-shell[1873]: INFO qt.qpa.wayland: There are no outputs - creating placeholder screen
03:59:53 omarchy-shell[1873]: WARN scene: QML ShellIpc at .../plugins/{agents,bluetooth,clock,elsewhen,monitor,network,power,tailscale,weather}/Panel.qml, bar/widgets/{Indicators,SystemUpdate}.qml, @Ui/Panel.qml: Handler was registered but will not be used because another handler is registered for target omarchy.*
03:59:53 omarchy-shell[1873]: WARN scene: QML IpcHandler at ~/.config/omarchy/plugins/{io.github.2strange.magicmouse/BarWidget,xuanping.trackpad/Panel}.qml: Handler was registered but will not be used ...
03:59:53 omarchy-shell[1873]: WARN: Layershell screen does not correspond to a real screen. Letting the compositor pick. (x3)
03:59:53 omarchy-shell[1873]: DEBUG: Not creating lock surface for screen QScreen(0x7f50115acf70, name="") as it is not backed by a valid wayland output. (x3)
03:59:54 omarchy-shell[1873]: (the same duplicate-handler block, a second time)
03:59:55 omarchy-shell[1873]: WARN quickshell.hyprland.ipc: Got removal for monitor "FALLBACK" which was not previously tracked.
03:59:58 omarchy-shell[1873]: DEBUG qml: omarchy idle idle-monitor: active
03:59:58 systemd: Started wayvnc (HDMI-A-1 over Tailscale).
04:00:05 omarchy-shell[3802006]: quickshell.service.pam.subprocess: Starting pam session ... "omarchy-lock-password"
04:02:20 omarchy-shell[1873]: INFO: Exiting due to IPC request.
04:02:20 omarchy-shell[3878638]: INFO: Launching config: "/usr/share/omarchy/shell/shell.qml"
04:02:20 omarchy-shell[3878638]: INFO: Configuration Loaded
The shell kept PID 1873 through the dropout and the return, so it did not crash. At 04:02:20 it was restarted over IPC (Exiting due to IPC request), and the new shell (PID 3878638) came up normally. I didn't capture the pgrep / hyprctl -j layers / omarchy-menu summon root diagnostics above before restarting. I'll run them on the next occurrence, along with the hyprctl reload check.
@maikunari, the journal shows that shell PID 1873 survived the HDMI dropout and return. The later Exiting due to IPC request records a requested stop, rather than a crash at the dropout. A surviving process does not establish that its IPC handlers were responsive, and the duplicate-handler warnings alone do not identify why the menu failed.
The failure-state pings, direct summon, layer listings and hyprctl reload result you plan to capture are still needed to distinguish your occurrence from the monitor-cache race reproduced above. #19341 remains open at the same tested head; this new journal does not establish that it fixes your Intel/i915 occurrence. Leaving this open for those diagnostics or an affected-machine retest of that head using the instructions above.
GPT-6 High in Codex reviewed the new journal, the preceding reports, current source and #19341's status. This follow-up ran no worker tests and requested no new second opinion because it remains waiting on reporter evidence; the earlier scoped reproduction and reviews remain as reported above.
Thanks. I've got a capture script ready that records exactly the list above in one go (pgrep, hyprctl -j monitors/layers, globalshortcuts, shell and menu pings, direct summon root plus the layer check afterwards, and the shell journal), then the rescanPlugins and hyprctl reload recovery checks, each followed by another summon and layer check. I'll run it at the next dropout before touching anything and post the output here.
I'll also retest #19341 at 18077bd5 on this machine (Intel Tiger Lake / i915, single monitor on HDMI-A-1, the input-switch trigger) via omarchy dev link, and report how many switches I ran, whether the menu survived each one, and whether the resync service logged a missing monitor.