Skip to content

Popup element are reversed left and right in Windows 11 #5944

@ChengYen-Tang

Description

@ChengYen-Tang
  • .NET Core Version: .net 5~6(e.g. 3.0 Preview1, or daily build number, use dotnet --info)
  • Windows version: Windows 11
  • Does the bug reproduce also in WPF for .NET Framework 4.8?: Yes/No
  • Is this bug related specifically to tooling in Visual Studio : No
  • Security issues and bugs should be reported privately, learn more via our responsible disclosure guidelines.

Problem description:
I found that using the Popup element and setting the Placement to left will actually appear on the right and the right will appear on the left
This problem happens on windows 11, windows 10 is normal
Note: Visual studio menu also has this problem

Actual behavior:
Windows 11:
image
image

Expected behavior:
Windows 10:
image
image

Minimal repro:

Metadata

Metadata

Labels

InvestigateRequires further investigation by the WPF team.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions