Skip to content

fix: transparent windows can be resized on Linux - #52740

Merged
MarshallOfSound merged 1 commit into
electron:mainfrom
mitchchn:linux-frameless-resize-band
Aug 17, 2026
Merged

MarshallOfSound merged 1 commit into
electron:mainfrom
mitchchn:linux-frameless-resize-band

Conversation

@mitchchn

@mitchchn mitchchn commented Aug 9, 2026

Copy link
Copy Markdown
Member

Description of Change

Fixes #52452.

Similar to the approach taken by @codebytere in #51992, but only affects frames which don't have external insets, matching the behaviour on Windows.

Backports to 43.x.

Checklist

Release Notes

Notes: Fixed a regression preventing from transparent frameless windows from being resized on Linux.

@electron-cation electron-cation Bot added the new-pr 🌱 PR opened recently label Aug 9, 2026
@deepak1556 deepak1556 added semver/patch backwards-compatible bug fixes target/44-x-y PR should also be added to the "44-x-y" branch. labels Aug 11, 2026
@electron-cation electron-cation Bot removed the new-pr 🌱 PR opened recently label Aug 11, 2026
@deepak1556 deepak1556 added the target/43-x-y PR should also be added to the "43-x-y" branch. label Aug 11, 2026
@zbigniewsokolowski926-cloud

Copy link
Copy Markdown

Opis zmiany

Naprawiono #52452 .

Podobnie do podejścia przyjętego przez@codebyterew #51992 , ale dotyczy tylko ramek, które nie mają zewnętrznych wstawek, co jest zgodne z zachowaniem w systemie Windows.

Backporty do wersji 43.x.

Lista kontrolna

Informacje o wydaniu

Uwagi: Naprawiono regresję uniemożliwiającą zmianę rozmiaru przezroczystych, bezramkowych okien w systemie Linux.

@MarshallOfSound

Copy link
Copy Markdown
Member

Heads up: Windows CI builds moved to new runners on Monday and the old ones have now been removed. This branch predates that, so its Windows build jobs still point at the old runners and will sit queued forever if CI runs again. Rebasing on main (or "Update branch") picks up the change, nothing else needed.

@otanim

otanim commented Aug 16, 2026

Copy link
Copy Markdown

I found a separate visual regression while validating this resize-band fix on Linux/X11. PR #52740 restores native resize hit testing correctly, but opaque frameless windows still visually jump during fast resizing because they have been forced onto an ARGB/translucent native surface since 43.0.0-alpha.4.

I bisected and isolated that compositor issue, added a standalone reproduction, and opened #52866 with the full matrix. The stacked fix is available at #52867. It depends on this PR's internal resize band: keeping opaque X11 windows on the system visual without #52740 would otherwise remove the available frameless resize handles.

@MarshallOfSound
MarshallOfSound merged commit 235da61 into electron:main Aug 17, 2026
72 checks passed
@release-clerk

release-clerk Bot commented Aug 17, 2026

Copy link
Copy Markdown

Release Notes Persisted

Fixed a regression preventing from transparent frameless windows from being resized on Linux.

@trop

trop Bot commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

I was unable to backport this PR to "43-x-y" cleanly;
you will need to perform this backport manually.

@trop trop Bot added needs-manual-bp/43-x-y and removed target/43-x-y PR should also be added to the "43-x-y" branch. labels Aug 17, 2026
@trop

trop Bot commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

I have automatically backported this PR to "44-x-y", please check out #52891

@trop trop Bot added in-flight/44-x-y merged/44-x-y PR was merged to the "44-x-y" branch. and removed target/44-x-y PR should also be added to the "44-x-y" branch. in-flight/44-x-y labels Aug 17, 2026
@trop

trop Bot commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

@VerteDinde has manually backported this PR to "43-x-y", please check out #52947

MarshallOfSound pushed a commit that referenced this pull request Aug 18, 2026
fix: transparent windows can be resized on Linux (#52740)

Notes: Fixed a regression preventing from transparent frameless windows from being resized on Linux.
(cherry picked from commit 235da61)

Co-authored-by: Mitchell Cohen <[email protected]>
@trop trop Bot added merged/43-x-y PR was merged to the "43-x-y" branch. and removed in-flight/43-x-y labels Aug 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

45-x-y merged/43-x-y PR was merged to the "43-x-y" branch. merged/44-x-y PR was merged to the "44-x-y" branch. semver/patch backwards-compatible bug fixes

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

regression: linux frameless windows can't be resized

5 participants