Repository navigation
Conversation
beginLaunchFeedback() was calling launchTimeout.restart() on every invocation, so repeated launch triggers kept pushing the 15s safety-net out and the Launching… OSD could stick indefinitely. Start the timeout only when it is not already running; keep restarting launchDelay.
|
Verified: At The extracted production functions and timers produced this comparison in Qt 6.11.2, with modeled window events and immediate, ordered OSD calls:
The cap is shared across an unresolved launch burst, not per application. A different app launched near the original deadline can therefore lose its pending feedback when that deadline expires; the application launch itself is unaffected by this timer change. Scope note (pre-existing): The detached Review informationTest scope: Extracted base/head Qt timer execution with modeled window state and OSD calls; separate private Quickshell IPC ordering probe with a synthetic handler. No full shell, compositor, visible OSD or real application launch was tested. The added source-text assertions were inspected, not executed. Community review: Independent automated community review, unaffiliated with the Omarchy team, intended to help prepare PRs for their review. Automated AI review: Astra Medium initial inspection, independent Opus 5.5 High and GPT 6 Sol Xhigh assessments, then Astra synthesis and verification against source and retained targeted evidence. |
|
Tested in the Omarchy VM running Omarchy 4.0.4-1 with Quickshell 0.3.1:
Clean fix with no issues found. |
|
Reviewed at What the change does, observed: I launched a windowless app from the Apps menu at t=0 and again at about t=12s. On the base branch the "Launching…" OSD closed at about t=27s, 15 seconds after the second launch. On this branch it closed at about t=17s, 15 seconds after the first. So the change does what it says: retriggers now share the first launch's deadline. What it does not show: #12922 reports a toast stuck indefinitely, still on screen after the app's window had opened. That did not reproduce. On base,
Side effect: the timeout passes the current serial to Tests: Second opinion: Codex Medium reviewed the same diff. It reached the same conclusion about the restart (independence not guaranteed) and contributed the B-launch side effect, the out-of-order show/close mechanism and the note that only the Apps menu reaches this code. Nothing pushed. Waiting on the maintainer: whether a shared 15s cap across retriggers is the behaviour wanted, and whether |
|
Merged Conflict: Tests, all run on a fresh Linux box:
Prepared by Claude Opus 5.5 via Hermes Agent; reviewed under kvnloo's account. |
Confidence Score: 5/5
[Medium impact] The PR appears safe to merge; no actionable issues were found. SummaryRepeated launches of the same desktop entry keep their original timeout. A different entry gets a fresh timeout, even when both entries share a display name.
Reviews (5) · Last reviewed commit: "Give a different app its own launch feed..." · Reviewed by Greptile |
A fixture runs the app library's launch feedback with its timers shortened: a second launch while the OSD is up keeps the first deadline, and a launch after the deadline passed gets a fresh one.
Checking the OSD at fixed times let a stalled event loop look at the wrong moment. Record when the OSD opens and closes, and compare the close with when each launch began, with a 2s timeout so the margins are wide.
|
Reviewed the update at The new fixture exercises the real The previous different-app cutoff remains: from the control flow at No worker tests were run in this pass: verification stops after the competing-fix comparison. CI's compositor shard passed, but |
|
your three commits are in #21025. the same launch does not restart the 15s deadline. the show still carries a finite duration and the launch serial, from #18678 and #16883. @dhh @omarchybot if 21025 lands, this can close as superseded. |
|
I checked the December 1 reference to #21025. It closed without merging, and its diff gives differently named apps a fresh deadline like #13095. Codex High and Opus 5.5 High compared the source against current Opus 5.5 High also spotted that the fixture's |
A launch late in the previous app's timeout can lose its toast before the delay elapses. Keep the deadline for repeat launches of the same desktop entry and start a fresh one for a different entry, including entries with the same display name. Exercise a repeat before and after expiry and ensure each toast closes at its own deadline. Run the fixture with the dock's Quickshell tests so the icon scan stays in the non-compositor suite. Co-Authored-By: Saurabh Suri <suritech@gmail.com> Co-Authored-By: Codex High <noreply@openai.com> Co-Authored-By: Claude Opus 5.5 High <noreply@anthropic.com>
|
I folded #13095’s deadline for a different desktop entry into GitHub CI passed. The full worker shell suite had four failures that also occurred with the base launch code. Please update the description to match the deadline change and replace |


What
In
shell/services/AppLibrary.qmlbeginLaunchFeedback(), startlaunchTimeoutonly when it is not already running (if (!launchTimeout.running) launchTimeout.start()), instead of blindly callinglaunchTimeout.restart().launchDelay.restart()is unchanged.Why
Every retriggered launch was resetting the 15s safety-net. Rapid or repeated launch triggers could push the timeout out forever, leaving the "Launching…" OSD stuck on screen even after the app window opened.
Tests
Extended
test/shell.d/app-search-test.shto pin thatbeginLaunchFeedbackstartslaunchTimeoutonly when not running and does not calllaunchTimeout.restart().Fixes #12922.