WindowsCommunityToolkit icon indicating copy to clipboard operation
WindowsCommunityToolkit copied to clipboard

InAppNotification OK & Cancel button text is cut when using 225% text scaling

Open XAML-Knight opened this issue 2 years ago • 10 comments

Describe the bug

The text in the OK & Cancel buttons of the InAppNotification control are cut when setting the text scale to 225% from Windows settings:

image

... leads to ...

image

  • [ ] Is this bug a regression in the toolkit? If so, what toolkit version did you last see it work:

Steps to Reproduce

  • [ ] Can this be reproduced in the Sample App? (Either in a sample as-is or with new XAML pasted in the editor.) If so, please provide custom XAML or steps to reproduce. If not, let us know why it can't be reproduced (e.g. more complex setup, environment, dependencies, etc...)

Steps to reproduce the behavior:

  1. Launch the sample application
  2. Go to the InAppNotification sample page and display a notification
  3. Open the Windows settings app and set the text scale to 225%
  4. See error

Expected behavior

The text in the OK and Cancel buttons is fully displayed.

Screenshots

Visual Studio version: 16.11.3, Debug/X64

XAML-Knight avatar Sep 15 '21 21:09 XAML-Knight

Hello XAML-Knight, thank you for opening an issue with us!

I have automatically added a "needs triage" label to help get things started. Our team will analyze and investigate the issue, and escalate it to the relevant team if possible. Other community members may also look into the issue and provide feedback 🙌

ghost avatar Sep 15 '21 21:09 ghost

Actually, in testing #4249, I didn't notice this issue. Wonder why it was clipped in your screenshot... hmm

michael-hawker avatar Sep 16 '21 18:09 michael-hawker

This issue has been marked as "needs attention 👋" due to no activity for 15 days. Please triage the issue so the fix can be established.

ghost avatar Nov 03 '21 01:11 ghost

This issue has been marked as "needs attention 👋" due to no activity for 15 days. Please triage the issue so the fix can be established.

ghost avatar Nov 18 '21 04:11 ghost

This issue has been marked as "needs attention 👋" due to no activity for 15 days. Please triage the issue so the fix can be established.

ghost avatar Dec 03 '21 07:12 ghost

@XAML-Knight What resolution was the display you saw this on?

Arlodotexe avatar Dec 09 '21 21:12 Arlodotexe

@XAML-Knight What resolution the display you saw this on?

I was using a different dev laptop when I filed the issue, but it would have been roughly 1920 x 1080 (on Windows 10). Now that I'm on a different laptop (Windows 11), I'm unable to repro this issue.

XAML-Knight avatar Dec 09 '21 22:12 XAML-Knight

I was able to reproduce the issue on Windows 10 (19041) and 11 (22000).

The higher the text scaling, the worse it gets. image image

image

Arlodotexe avatar Dec 09 '21 23:12 Arlodotexe

This issue has been marked as "needs attention 👋" due to no activity for 15 days. Please triage the issue so the fix can be established.

ghost avatar Dec 25 '21 01:12 ghost

This issue has been marked as "needs attention 👋" due to no activity for 15 days. Please triage the issue so the fix can be established.

ghost avatar Jan 09 '22 04:01 ghost