fix(macos): prevent title bar flash on fullscreen exit - #22101
Merged
MrJul merged 1 commit intoSep 1, 2026
Conversation
|
You can test this PR using the following package version. |
- Restore title bar transparency before AppKit begins the exit animation for windows with an extended client area.
Illustar0
force-pushed
the
fix/macos-fullscreen-titlebar-flash
branch
from
September 1, 2026 08:47
bed7827 to
28286db
Compare
MrJul
approved these changes
Sep 1, 2026
MrJul
left a comment
Member
There was a problem hiding this comment.
This matches the logic we already have elsewhere for extended mode.
Tested, it works as expected.
LGTM!
MrJul
enabled auto-merge
September 1, 2026 15:25
|
You can test this PR using the following package version. |
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Sep 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does the pull request do?
Prevents the native macOS title bar from briefly appearing when an extended-client-area window exits fullscreen.
I noticed this behavior while investigating #21119.
What is the current behavior?
On macOS, a window using
ExtendClientAreaToDecorationsHint="True"withWindowDecorations="Full"can briefly display the opaque native title bar when exiting fullscreen.This is especially noticeable when the extended client area is used to render a custom title bar. The flash disappears once Avalonia restores the transparent title bar after the transition.
12.1.1.mp4
What is the updated/expected behavior with this PR?
999.mp4
How was the solution implemented (if it's not obvious)?
None.
Checklist
Breaking changes
None.
Obsoletions / Deprecations
None.
Fixed issues
None.