Repository navigation
Conversation
|
Soak on 4.0.4-1: close-then-show with This matches Grok/Cursor (#9817). |
|
Reviewed and verified at bcf7843 against Reproduced on a worker. On a VM built from the Omarchy ISO, running the shell from this branch, I launched a desktop entry whose window maps about 2.4 s after launch from the Omarchy menu, with every Tests. Second opinion. Codex (medium effort) reviewed this change and found no defect. It confirmed the 15 s duration does not outlive a later OSD, such as volume, which brings its own duration, and does not cut a second launch's feedback short. It agreed this is the change to take; its independence from my review is not guaranteed. Other pull requests for the same bug. #13536, #13669 and #13802 make the same change with a different duration expression. #13606 also adds polling and shortens the launch timeout to 8 s, which is more than the bug needs. #9819 removes the race itself by driving the OSD in-process through I linked #8242, #12123, #13535 and #13707, which describe the same lost or reordered close, so they close with this. Nothing is needed from you; this is waiting on the maintainer. |
|
Looked at this again at bcf7843 now that it conflicts with The conflict. It is only in Competing fixes. #9819 (opened before this one) removes the race itself by showing and closing the OSD in-process through What this one adds is real, though. #9819 keeps Second opinion. Codex Medium compared all four diffs against This waits on the maintainer to choose between the approaches; nothing is needed from you. |
|
Closing this - the launch OSD backstop is on main now ( |
Fixes #11559
Problem
AppLibrary.qmlshows launch feedback withduration: 0when an application launch takes longer than 2 seconds. When the toplevel window registers nearly simultaneously with the 2-second delay timer,omarchy-shell osd closeandomarchy-shell osd showcan race over asynchronous IPC. If the close command is handled before the show command, the OSD remains permanently visible withduration: 0and no further timers scheduled to close it.Solution
duration: 15000) backstop on the launch feedback OSD matching the maximumlaunchTimeoutinterval. Even if the explicitosd closeIPC races or drops, the OSD safely auto-dismisses after 15 seconds.test/shell.d/app-search-test.shverifying that launch feedback OSD specifies the duration backstop.Fixes #8242
Fixes #12123
Fixes #13535
Fixes #13707
Fixes #9817
Fixes #11668
Fixes #11928
Fixes #12573
Fixes #13973