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

Transparent window is not working on macOS with 11.0.0-preview5 #10235

Closed
carina-studio opened this issue Feb 6, 2023 · 1 comment
Closed

Comments

@carina-studio
Copy link

Describe the bug
Setting Window.TransparencyLevelHint to Transparent seems not working on macOS with 11.0.0-preview5. The Window background is still there no matter setting Background to null or transparent. Popups with CornerRadius are also affected by this issue, there will be a visible rectangle background under the popup which should not be there. It works fine with 11.0.0-preview4.

To Reproduce

  1. Set Window.TransparencyLevelHint to Transparent.
  2. Set Window.Background to null or transparent.
  3. Check the window.

Expected behavior
No window background when setting TransparencyLevelHint to Transparent and set Background to null or transparent.

Screenshots
截圖 2023-02-06 下午2 18 33

**Desktop

  • OS: macOS 13.2
  • Avalonia Version 11.0.0-preview5
  • .NET Version: 7

Additional context
N/A

@maxkatz6
Copy link
Member

maxkatz6 commented Feb 6, 2023

It was fixed in current master. Broken in preview5.
#10196

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants