Skip to content

Add window.splash manifest field for a startup splash - #8390

Open
woahwhattheheck wants to merge 1 commit into
nwjs:mainfrom
woahwhattheheck:feat/issuehunt151-window-splash-20261008
Open

woahwhattheheck wants to merge 1 commit into
nwjs:mainfrom
woahwhattheheck:feat/issuehunt151-window-splash-20261008

Conversation

@woahwhattheheck

@woahwhattheheck woahwhattheheck commented Oct 8, 2026 •

Copy link
Copy Markdown

Refs #151

Adds a window.splash manifest field: a page or image shown in a small frameless window while the main window loads. Afterwards the main window is shown and the splash is closed.

"window": { "splash": { "url": "splash.html", "width": 480, "height": 270, "min_duration": 1500 } }
  • The window bootstrap change is in nwjs: show an optional splash window while the main window loads chromium.src#169 (chrome/browser/resources/nwjs/newwin.js and default.js)
  • splash is a new manifest key constant and is not inherited by windows opened from the app
  • Documented in docs/References/Manifest Format.md
  • Sanity tests: test/sanity/manifest-splash (HTML splash, size, min_duration, main window shown afterwards) and test/sanity/manifest-splash-image (image auto-size with "show": false)

IssueHunt: https://oss.issuehunt.io/r/nwjs/nw.js/issues/151. I, @woahwhattheheck, claim the funded $276 IssueHunt bounty for this contribution and request the applicable reward payment. I will register this upstream PR on IssueHunt; no award or payment is asserted as already received.

Scope and validation: This splash starts after the application package has been read and covers main-window loading. It does not yet cover archive extraction, which the reporter also requested in #151. The two bootstrap scripts passed 18 mocked VM checks and syntax checks in the original engineering run. The three-line C++ change was not compiled, and the two sanity tests were not run in an NW.js runtime. No full build or broad suite is claimed.

Companion review routing: nwjs/chromium.src#169 was automatically closed by the repository's GitHub Actions workflow, which directs contributors to the inherited Chromium contribution instructions. The exact NW.js bootstrap source remains available at woahwhattheheck/chromium.src@92c7eae. Please confirm the accepted review channel for these NW.js-specific bootstrap changes so the companion can be reviewed with this PR. My contribution and applicable IssueHunt reward request remain active.

Original-source-commit: 071a78e07cb68a0a4babc8325c014ba72a22507b
Original-author: woahwhattheheck <[email protected]>

Exact retained patch; no tests or build rerun for publication.
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