Repository navigation
Conversation
[Low impact] The PR appears safe to merge; no actionable issues remain. SummaryKeeps the cursor hidden for 600 ms after loading the normal theme, then restores the user's cursor settings.
No new actionable issues were found. Both earlier, unnumbered findings were withdrawn after
|
|
@greptileai review |
08bf805 to
75a7968
Compare
|
Complementary to #14842 (reload wiping Lua state) and distinct from #15002’s env workaround. The 600ms invisible→restore timer matches Hyprland’s 500ms Please coordinate with #14842 so both the reveal-redraw path and the reload-restore path land; together they cover the #14932 / #14969 / #14836 cluster. |
|
@jandrusk @yamz8 I tested the redraw and reload fixes together and incorporated #14922's commit There was one coordination change: #14842 previously marked its compositor-specific phase done and deleted the saved settings immediately on completion. Those actions now happen inside the 600ms delayed reveal, so both the pending phase and capture survive a Lua reset during that window. Duplicate completions do not reschedule the reveal, and an old callback cannot finish a different recovery. The XWayland reset and final theme fallback are retained. Results on this machine:
Additional real-desktop verification on Mercury-2, a separate host with different hardware from the machine used for the initial nested-compositor tests, accessed over SSH. Its session was freshly loaded (Hyprland 0.56.2-4, Quickshell 0.3.2-4, integration
The nested fixture uses a no-animation launcher and disables XWayland; Mercury supplies the separate XWayland evidence. These are induced recovery and reload tests, not a new physical login/reboot test or proof that every spontaneous cursor report has this cause. #15002 is not included. Fresh Greptile review on The combined branch preserves both fixes and their ancestry. Maintainers can land #14922 first and refresh #14842, or land the combined branch; either way the delayed redraw must retain pending recovery state until the actual reveal. |
|
This pull request was read but not classified or verified this run. Classifying needs two models to agree, and the second opinion (Codex Medium) was reachable but refused because the day's review budget had run out. So nothing was run on a worker, no labels went on, and it will be picked up again. Two things anyone picking this up should know:
Waiting on: the next review pass, and the maintainer's choice between this and #14842. |
Hyprland only redraws the pointer in the restored theme when it is shown again, so revealing without a hide left the blank startup cursor in place. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…first Co-Authored-By: Claude Opus 5.5 <[email protected]>
75a7968 to
9d95033
Compare
|
Rebased onto |
|
Reviewed at It was compared with #14842, the other open pull request for the startup cursor. #14842 already contains this fix: it merged your two earlier commits ( #14842 was opened first and includes this change, so that is the one omabot will verify, and this pull request is not being brought to Waiting on the maintainer to choose between them. As you said, if #14842 lands first this one can be closed. |
|
Reviewed again at The bug did not reproduce on a worker. I logged in cold on a fresh Omarchy VM (Hyprland 0.56.2), once with Why base may already redraw. On One cost of the change. Overlap with other pull requests. #14580 and #14610 both edit the same Waiting on you. It needs a way to see the blank pointer on |
The shell acknowledges the startup reveal only once. A reload inside the 600 ms wait dropped the timer and left the pointer hidden until the 15 s recovery. Record the acknowledgement for the session and resume the reveal straight after such a reload. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Thanks for the thorough review. Pushed d214c1b for the reload window. Reload inside the 600 ms wait. The shell acknowledges the reveal only once, so Reproduction on |
A monitorless reload inside the reveal's wait took the cold branch and put the blank startup theme back into the compositor environment. The resumed reveal never passes through the restore that repairs it, so applications launched afterwards inherited the blank Xcursor theme. Co-Authored-By: Codex Medium <[email protected]> Co-Authored-By: muse-spark-1.3-contributor <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Reviewed again at The reload fix works on a worker. On a fresh Omarchy VM (Hyprland 0.56.2), I logged in cold and ran Fixed on your branch: a monitorless reload inside the wait. In that case Who checked it. I asked Codex Medium and muse-spark-1.3-contributor via pi (thinking high) to check a list of reload cases, a monitorless one among them, without saying what I expected. Each traced the monitorless case to this defect. Their independence from this session is not guaranteed. In a second round on Still open, and the maintainer's call. Neither the worker nor you could make |
omacom#14580 resets the XWayland root cursor in restore(true). Here that call moves into the 600 ms reveal, after the user's cursor settings are back, so the root cursor is reset at the same point in the reveal as on quattro. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Reviewed again at Merged Checked on a fresh Omarchy VM at
Codex Medium and muse-wonder (thinking high) reviewed the merge and found no defect in it. That is agreement with this reading, and its independence is not guaranteed. What is still open is the same as before. The blank pointer this delay guards against has not been reproduced on |
The startup reveal can restore the normal cursor theme without redrawing the pointer, leaving the blank startup image visible. Hyprland 0.56.2 checks cursor visibility on a 500 ms ticker. Keep the cursor hidden for 600 ms after restoring the Xcursor fallback, then restore the user's visibility, Hyprcursor, and GSettings settings. The compositor-environment recovery markers remain until that delayed reveal finishes, and the shell's one acknowledgement is recorded with them, so a reload that discards the timer resumes the reveal straight away instead of waiting for the 15-second recovery.
The existing cold test counts cursor pixels independently of the fading desktop and stops Quickshell before its compositor during cleanup. The Lua test covers the delayed reveal, retained recovery markers, and resuming the reveal after a reload inside the wait.
Relationship to #14842: the current
f11e2f59f2version of that PR only remembers a completed startup across monitorless reloads; it explicitly excludes this redraw fix. These changes are complementary. They currently conflict in the completion callback: when combining them, write #14842's completed marker inside this PR's delayed callback, when the cursor is actually shown. Reload-before-reveal recovery from #14935 is already upstream.Validation on this branch after merging
quattroat967bbdd734:0.56.2-4and Quickshell0.3.2.r7.g2b4501a-1: a fresh graphical login, full reboot, and an automatically triggered reload inside the 600 ms wait all restore the visible pointer and cursor settings. Ordinary reloads afterwards preserve them.The VM used its default cursor configuration; this refresh does not claim physical GPU or laptop reboot coverage. Validation observers lived outside the production module. The VM and isolated desktop were cleaned up without changing the laptop's configuration.
AI-assisted with Claude Code and Codex.