Skip to content

fix: remove 1px line from the top of frameless windows on Linux (#51458) - #52005

Merged
VerteDinde merged 1 commit into
electron:42-x-yfrom
mitchchn:manual-bp/mitchchn/pr/51458/branch/42-x-y
Jun 16, 2026
Merged

VerteDinde merged 1 commit into
electron:42-x-yfrom
mitchchn:manual-bp/mitchchn/pr/51458/branch/42-x-y

Conversation

@mitchchn

Copy link
Copy Markdown
Member

Manual backport of #51458.

See that PR for details.

Notes: Fixed a bug on Linux where a 1px line appeared at the top of frameless windows if the window and web contents had different background colors.

@electron-cation electron-cation Bot added the new-pr 🌱 PR opened recently label Jun 15, 2026
@trop trop Bot added 42-x-y backport This is a backport PR semver/patch backwards-compatible bug fixes labels Jun 15, 2026
@electron-cation electron-cation Bot removed the new-pr 🌱 PR opened recently label Jun 15, 2026
…tron#51458)

fix: remove white line from the top of frameless windows on Linux if backgroundColor is not set

cache background color since it is no longer set on root view
@mitchchn
mitchchn force-pushed the manual-bp/mitchchn/pr/51458/branch/42-x-y branch from e8f9821 to 1fc4fab Compare June 15, 2026 19:56
@VerteDinde
VerteDinde merged commit 76b7ac4 into electron:42-x-y Jun 16, 2026
108 of 111 checks passed
@release-clerk

release-clerk Bot commented Jun 16, 2026

Copy link
Copy Markdown

Release Notes Persisted

Fixed a bug on Linux where a 1px line appeared at the top of frameless windows if the window and web contents had different background colors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

42-x-y backport This is a backport PR semver/patch backwards-compatible bug fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants