Skip to content

fix(ui): continue startup when paint timing stalls - #468

Merged
smith-and-web merged 2 commits into
mainfrom
fix/startup-paint-timeout
Nov 20, 2026
Merged

smith-and-web merged 2 commits into
mainfrom
fix/startup-paint-timeout

Conversation

@smith-and-web

@smith-and-web smith-and-web commented Nov 20, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Wait up to 500 ms for first contentful paint before loading the app. Start sooner when the event arrives, and disconnect the observer either way.
  • Cover a webview that reports first paint but never reports first contentful paint.

Related Issues

Relates to #405. The code can stall this way, and we still need to confirm whether this explains the report on macOS Sequoia.

Type of Change

  • Bug fix

Testing

  • The new regression test fails on main and passes with this change.
  • All pre-push checks passed, including 1,206 Vitest tests.
  • The production frontend built successfully. In Chromium, the built app opened with Paint Timing advertised and no entries delivered. The observer disconnected after 501 ms.
  • The local Chromium smoke harness passed paint ordering and document-open keyboard focus. Failed-bundle recovery timed out at the same step on this branch and main.

@smith-and-web

Copy link
Copy Markdown
Owner Author

Hi @redkev07, thanks for reporting the stuck startup screen on #405. This draft addresses one way Kindling can get stuck there. Could you share a few details to help us check whether it matches what you’re seeing?

  • Was 1.4.0 a fresh install or an upgrade? If it was an upgrade, which version did you upgrade from, and did that version open on this Mac?
  • Which Safari version is installed?
  • With Kindling fully quit, could you run the command below from Terminal and paste any output from the first 30 seconds? If the screen stays stuck and Terminal shows nothing, that’s useful to know too.
/Applications/Kindling.app/Contents/MacOS/kindling

@smith-and-web
smith-and-web marked this pull request as ready for review November 20, 2026 16:19
@smith-and-web
smith-and-web merged commit 69d6e01 into main Nov 20, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant