Skip to content

fix: remove 1px frame background color from the top of frameless windows on Linux - #52978

Merged
MarshallOfSound merged 1 commit into
42-x-yfrom
manual-bp/42-x-y/52062
Aug 19, 2026
Merged

MarshallOfSound merged 1 commit into
42-x-yfrom
manual-bp/42-x-y/52062

Conversation

@VerteDinde

Copy link
Copy Markdown
Member

Backport of #52062

See that PR for details.

Manual backport notes: 42-x-y predates ElectronFrameViewLinux (#51161); here every frameless Linux window uses OpaqueFrameView, whose OnPaint() set the frame background's top-area height to NonClientTopHeight(). The fix is ported to that paint path (set_top_area_height(0) with the same comment). The reported regression range (41.0.4+) predates the refactor, so the bug should exist here too — would appreciate @mitchchn confirming this is the right spot.

Notes: Fixed an issue on Linux where the system theme color appeared at the top edge of frameless windows.

…ows on Linux (#52062)

fix: remove 1px titlebar background from the top of frameless windows on Linux
(cherry picked from commit 29379d3)
@MarshallOfSound
MarshallOfSound merged commit f8db81b into 42-x-y Aug 19, 2026
137 of 139 checks passed
@MarshallOfSound
MarshallOfSound deleted the manual-bp/42-x-y/52062 branch August 19, 2026 07:16
@release-clerk

release-clerk Bot commented Aug 19, 2026

Copy link
Copy Markdown

Release Notes Persisted

Fixed an issue on Linux where the system theme color appeared at the top edge of frameless windows.

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