Repository navigation
Drive the launch OSD in-process so a lost close cannot strand it - #9819
Conversation
The launcher opened and closed the Launching… OSD by spawning omarchy-shell, a bash script that forwards to qs ipc with a 2s timeout and no retry. The OSD is shown with duration 0, so if that close process was delayed past the show or timed out while the launched app loaded the CPU, the OSD stayed on screen until the shell restarted. The shell already exposes summon() and hide() for plugins and other plugins use them for the OSD. Hand the shell to AppLibrary and call them directly. The calls are synchronous and ordered, so the close can neither be lost nor overtake the show. Claude-Session: https://claude.ai/code/session_017J3tUnyMTMmWF6MDp96LZC
|
Looks good — this is the right fix for the sticky “Launching…” OSD. Why: AppLibrary currently show/closes the launch OSD via unordered Laptop check: On my laptop (ASUS Vivobook, Intel Arc) I hit the sticky toast once before with Grok Bot; I couldn’t re-stick it today (toast showed and cleared on stock), so this isn’t a live stock-fail → PR-pass soak — just code review + agreement with the race reports on #8242 / #9817 / #12123. Nit (optional): null-guard Happy to re-test if maintainers want a forced IPC race harness; otherwise 👍 from me. |
Resolves the shell.qml conflict by keeping both host injections: the AppLibrary shell binding from this branch and the BrightnessKeys service quattro added beside it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
[Medium impact] The PR appears safe to merge; no new blocking issues were found. SummaryLaunch feedback now calls
Reviews (4) · Last reviewed commit: "Give the launch OSD a finite duration" · Reviewed by Greptile |
hide() closed only a loaded panel and left any payload summon() had queued for its Loader. With the launch OSD now summoned in-process at duration 0, a launch that finished while the OSD was still loading would have that queued show delivered after the hide, and nothing would close it again. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-Authored-By: Codex Medium <noreply@openai.com>
The menu is keepLoaded and its select and input requests carry a doneFile their caller polls for; dropping a queued payload on hide leaves omarchy-menu-select or omarchy-menu-input waiting forever. The OSD case it covered needs the OSD still loading when a launch finishes, which a host-wide change is the wrong price for. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-Authored-By: Codex Medium <noreply@openai.com>
|
Reviewed and verified on a worker built from the Omarchy ISO. The fix works, and its cause is the one the description gives. Reproduced. On Pushed to your branch. The branch conflicted with Tests. Second opinion. Codex Medium reviewed three rounds, and the last one, at 0f2a4a5, found no defect. Independence is not guaranteed. It found one narrow residual, which I confirmed in source. If the OSD plugin is still loading when a launch both summons and closes it (at shell start, or during a full plugin reload), Related. This now says Waiting on the maintainer: which of the competing fixes to take, and the two suite failures already on |
|
Triage summary for the stuck "Launching …" OSD, since the bot's reviews point two ways (#11568 is labelled There are two separate causes:
I test-merged all seven onto Suggestion: take this PR with a finite duration in the summon payload instead of |
With duration 0 only closeLaunchFeedback() takes the toast down, so a summon still queued while the OSD plugin loads (shell start, a plugin reload) opens after hide() has run and never closes. Giving it the rest of launchTimeout (13s) lets that late show dismiss itself. A show that lands on time expires at the same moment launchTimeout would close it, so the ordinary path is unchanged. Co-Authored-By: SIDDHARTH U <228890207+Cid-oe@users.noreply.github.com> Co-Authored-By: Walter Andrade <62224146+walteraandrade@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Folded a finite duration into the launch OSD and re-verified on a worker built from the Omarchy ISO. Nothing is needed from you. What changed. 36dedf2 gives the launch toast Reproduced. I launched a desktop entry from the Omarchy menu whose window maps 2.4s after launch, with the CLI's Tests. I ran Second opinion. Codex Medium and muse-wonder (pi, thinking high) reviewed the new commit and found no defect. Their independence from my review is not guaranteed. Codex noted that a second launch 14s into the first now leaves the first toast to expire about a second before the second's appears. That matches the no-toast lead-in any launch has, so I left it. Related. #12573, #13566 and #13973 report the same stuck toast from a launch that focuses an existing window. On Waiting on the maintainer: the |


The "Launching Slack…" OSD stayed on screen after Slack had opened. Nothing removed it until a shell restart.
The launcher opens this OSD with duration 0. Only an explicit close removes it. It sends both the show and the close by spawning
omarchy-shell, a bash script that forwards toqs ipcwith a 2s timeout and no retry. If the close process times out, or runs before the show process, the OSD stays forever. Both cases are easy to hit while the launched app loads the CPU.The shell already has
summon()andhide(). Other plugins use them for the OSD. This change hands the shell toAppLibraryand calls them directly. The calls are in-process and ordered, so a close cannot be lost or overtake a show.Tested by running the shell from this branch and launching a desktop entry that sleeps 5s, then opens a terminal. The OSD appeared after 2s and closed when the window appeared.
./test/allpasses exceptconfig-test.sh, which needs anomarchy-pkgscheckout.https://claude.ai/code/session_017J3tUnyMTMmWF6MDp96LZC
Fixes #8242
Fixes #12123
Fixes #9817
Fixes #11668
Fixes #11928