Skip to content

In macOS, setting TransparencyLevelHint to AcrylicBlur results in an abnormal display. #18453

Description

@Linlccc

Describe the bug

When in focus

Image

When losing focus

Image

As shown in the figure above, the background turns white when the window loses focus.

To Reproduce

Window w1 = new();
w1.TransparencyLevelHint = [WindowTransparencyLevel.AcrylicBlur];
w1.Background = Brushes.Transparent;
w1.Show();

Expected behavior

When the focus is lost, the background should not turn completely white.

Avalonia version

11.2.3

OS

No response

Additional context

No response

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions