winforms icon indicating copy to clipboard operation
winforms copied to clipboard

[HDPI] The "document" text in the “Generating Previews” dialog is truncated at >200% DPI

Open Philip-Wang01 opened this issue 1 year ago • 2 comments

.NET version

.NET SDK 10.0.100-alpha.1.24510.13

Did it work in .NET Framework?

Yes

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

This is a regression issue. It reproduces on .NET 9.0.200-preview.0.24520.3 and does not reproduce on .NET 8.0.

Issue description

The "document" text in the “Generating Previews” dialog is truncated at >200% DPI.

Image

Steps to reproduce

  1. Launch VS instance on the greater than 200% primary screen.
  2. Open the Accessibility_Core_App.zip. (Or create an application that has a "Generating Previews" dialog)
  3. TAB to "Printing_Controls: Testing the controls under Printing Tab" and hit ENTER key.
  4. "Generating Previews" popup will appear.
  5. Observe the "document" text in the “Generating Previews” dialog.

Philip-Wang01 avatar Oct 21 '24 08:10 Philip-Wang01

@LeafShi1 could your team try bisecting to find which commit regressed this?

lonitra avatar Oct 21 '24 18:10 lonitra

@LeafShi1 could your team try bisecting to find which commit regressed this?

This issue caused by the PR 11523

LeafShi1 avatar Oct 22 '24 06:10 LeafShi1

This is an internal find, we will service it if we get customer reports about it.,

Tanya-Solyanik avatar Dec 18 '24 01:12 Tanya-Solyanik

Verified this issue in the latest .NET 10.0 SDK build: 10.0.100-alpha.1.24623.6 + binaries built from the main branch of Winforms repo, it was fixed: "Document" text in the Generate Preview dialog now displays properly at >200% DPI. Image Image Image Image

Nora-Zhou01 avatar Dec 26 '24 06:12 Nora-Zhou01