Skip to content

Opening Dialog Form on multi-monitor setup using HDPI PerMonitorV2 does not scale properly #11512

Open
@alanhoman

Description

@alanhoman

.NET version

.NET 9 Preview 4

Did it work in .NET Framework?

Yes

Did it work in any of the earlier releases of .NET Core or .NET 5+?

This worked in .NET 6.0

Issue description

Opening a modal Dialog form on a 150% monitor does not scale properly and the buttons anchored to the bottom right do not anchor properly. They are rendered underneath controls above them and are unusable.

DialogIssue.mp4

Steps to reproduce

  1. Open the project on a 100% monitor.
  2. Click on Edit Non-Modal and Edit Modal. Both forms scale properly and are the same size.
  3. Move the MDIParent to a 150% monitor.
  4. Click on Edit Non-Modal and the form looks OK, but the buttons overlap slightly with the controls above them.
  5. Click on Edit Modal and the buttons are higher and completely under other controls making them unusable. The form itself is also larger than the Non-Modal version.

Here is a sample project:
DialogIssue.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-Anchor/ScalingHDPI issues around anchoring and dockingarea-HDPIHDPI, not specific to Dpi mode of app

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions