Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TitleBar.Height setter crashes integrational tests app #16735

Merged
merged 2 commits into from
Aug 20, 2024

Conversation

maxkatz6
Copy link
Member

What does the pull request do?

Integrational tests regression after #15753
Margins can be negative, but Height cannot be anymore - this PR fixes TitleBar Height setter call.
It didn't crash before because TitleBar was changing this value once more later before layout pass.

@maxkatz6 maxkatz6 added os-macos regression customer-priority Issue reported by a customer with a support agreement. labels Aug 20, 2024
@maxkatz6 maxkatz6 changed the title window.WindowDecorationMargin.Top can be negative, but Height cannot TitleBar.Height setter crashes integrational tests app Aug 20, 2024
@avaloniaui-bot
Copy link

You can test this PR using the following package version. 11.2.999-cibuild0051396-alpha. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]

@maxkatz6 maxkatz6 merged commit dd17e85 into master Aug 20, 2024
11 checks passed
@maxkatz6 maxkatz6 deleted the fix-titlebar-setting-negative-height branch August 20, 2024 03:01
@maxkatz6 maxkatz6 added the bug label Sep 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug customer-priority Issue reported by a customer with a support agreement. os-macos regression
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants