LearnNewsExamplesServices
Frontmatter
id9365
titleChrome Window Neo mjs home
stateClosed
labels
bug
assigneestobiu
createdAtMar 6, 2026, 10:53 AM
updatedAtMar 15, 2026, 10:47 PM
githubUrlhttps://github.com/neomjs/neo/issues/9365
authorkmunk-klarso
commentsCount1
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtMar 15, 2026, 10:47 PM

Chrome Window Neo mjs home

Closed v12.1.0 bug
kmunk-klarso
kmunk-klarso commented on Mar 6, 2026, 10:53 AM

select multi window

Image
tobiu referenced in commit 4418eb5 - "bugfix: Change LivePreview onWindowConnect to use document.URL for robustness (#9365)" on Mar 15, 2026, 10:26 PM
tobiu
tobiu Mar 15, 2026, 10:46 PM

Input from Gemini 3.1 Pro:

✦ We investigated this issue. Since we do not have a Windows environment to test this directly, we had to rely on analyzing the codebase for potential cross-OS discrepancies.

The LivePreview.mjs component was using location.search to get the popup URL parameters via Neo.Main.getByPath(), which was then passed directly to new URLSearchParams(). We suspect that on Windows Chrome, the location object sent across the worker boundary might behave slightly differently (e.g. returning the full URL instead of just the query string), causing URLSearchParams to fail to parse the id parameter correctly.

We have updated this to use document.URL combined with new URL(url).searchParams, which is a much more robust approach for parsing URLs and query parameters regardless of what part of the URL the browser initially returns.

A fix has been pushed to the dev branch. We are closing this ticket optimistically, but it will need to be formally validated on Windows after the next release. If the issue does persist in the next version, please open a new ticket.

tobiu assigned to @tobiu on Mar 15, 2026, 10:46 PM
tobiu closed this issue on Mar 15, 2026, 10:47 PM