Skip to content

fix: enable system maximization for frameless windows except if transparent - #28635

Merged
jkleinsc merged 1 commit into
11-x-yfrom
trop/11-x-y-bp-fix-enable-system-maximization-for-frameless-windows-except-if-transparent-1618321826504
Apr 13, 2021
Merged

jkleinsc merged 1 commit into
11-x-yfrom
trop/11-x-y-bp-fix-enable-system-maximization-for-frameless-windows-except-if-transparent-1618321826504

Conversation

@trop

@trop trop Bot commented Apr 13, 2021

Copy link
Copy Markdown
Contributor

Backport of #28207

See that PR for details.

Notes: Transparent windows cannot be maximized using the Windows system menu or by double clicking the title bar.

…parent (#28207)

* fix: move widget maximization check

* fix linting error

* change workaround to only effect transparent windows

* disable menu maximize and restore for transparent windows

* disable double clicking title bar max/unmax for transparent windows

* add docs change and address review
@electron-cation electron-cation Bot added the new-pr 🌱 PR opened recently label Apr 13, 2021
@trop
trop Bot requested a review from mlaurencin April 13, 2021 13:50
@trop trop Bot added 11-x-y backport This is a backport PR semver/patch backwards-compatible bug fixes labels Apr 13, 2021
@electron-cation electron-cation Bot removed the new-pr 🌱 PR opened recently label Apr 13, 2021
@jkleinsc

Copy link
Copy Markdown
Member

Merging as CI failure is known flake unrelated to this PR.

@jkleinsc
jkleinsc merged commit 086d556 into 11-x-y Apr 13, 2021
@release-clerk

release-clerk Bot commented Apr 13, 2021

Copy link
Copy Markdown

Release Notes Persisted

Transparent windows cannot be maximized using the Windows system menu or by double clicking the title bar.

@trop
trop Bot deleted the trop/11-x-y-bp-fix-enable-system-maximization-for-frameless-windows-except-if-transparent-1618321826504 branch April 13, 2021 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

11-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.

2 participants