Skip to content

[11.3.0]The scaling of pop-up windows is not working properly on Windows 10 1909 #18903

Closed
@wky214269273

Description

@wky214269273

Describe the bug

When working in multi-monitor mode—for example, when a laptop is connected to an external display—if a software window is opened on the laptop screen and then dragged to the external monitor, all pop-up windows of that program exhibit inconsistent scaling. However, dragging the pop-up window back to the laptop screen and then returning it to the external display resolves the issue temporarily. The problem reoccurs the next time a new pop-up appears.

This behavior is not observed in Avalonia 11.2.8, where scaling works correctly. Additionally, the issue does not occur on Windows 11—it only manifests on Windows 10.

To Reproduce

1、Prepare a laptop running Windows 10.
2、Connect an external monitor, ensuring the laptop screen and external display are set to different scaling percentages.
3、Open the application on the laptop screen, then drag it to the external monitor.
4、Trigger a pop-up window from the application while it's on the external display.
5、The pop-up window should now appear with incorrect scaling (either too large or too small).

Expected behavior

The pop-up window should now appear with incorrect scaling (either too large or too small).

Avalonia version

11.3.0

OS

Windows

Additional context

Image

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions