Skip to content

Despite setting DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2 MessageBox are displayed blurred. #6775

Open
@vsfeedback

Description

@vsfeedback

This issue has been moved from a ticket on Developer Community.


[severity:It bothers me. A fix would be nice]
1st monitor: 100 %, primary
2nd monitor: 150 %

If you have the App window on the 2nd monitor where a MessageBox is displayed, it will be displayed blurred in the correct size. On the other hand, if the 1st monitor also has a scaling of 150%, the MessaageBox on the 2nd monitor will be displayed in focus.

This affects WPF apps with .NET Framework 4.8 under Windows 11.

So the MessageBox is always created with the scaling of the primary monitor and then stretched to the scaling of the 2nd monitor. However, it should work the same way as other dialogs, e.g. OpenFileDialog and FolderBrowserDialog.


Original Comments

(no comments)


Original Solutions

(no solutions)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions