question

Heiko-6891 avatar image
0 Votes"
Heiko-6891 asked Heiko-6891 commented

[UWP] [Bug] Yast another TextBox bug

Hi,

if you use a multi-line TextBox with font Segoe MDL2 Assets, type in some lines, the lines above become invisible.

I noticed this behaviour in Windows 10 1511 to 1909 on PC and ARM, but only for that font.


Best Regards,
Heiko

windows-uwp
· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

In this Q&A forum the code is going lost!


<TextBox AcceptsReturn="True" Margin="20" FontFamily="Segoe MDL2 Assets" FontSize="20" />


0 Votes 0 ·

I am sorry for that inconvenience that caused for you about not being able to insert XAML code in the post, we are fixing this issue, currently please use these two workarounds that mentioned in this post: Can not insert XML/XAML Code in Post.


0 Votes 0 ·

Thank you!

Test:

int x = 2;

int y = -33;

 int z = 99;
0 Votes 0 ·
RoyLi-MSFT avatar image
0 Votes"
RoyLi-MSFT answered

Hello,​

Welcome to our Microsoft Q&A platform!

I could reproduce this issue on my side using that line of code. When I type something and press the enter button, then type something again, the previous text is invisible. The text is there, it is just invisible. I tried other fonts but the behavior only appears when using Segoe MDL2 Assets.

Thank you very much for reporting this issue here. I've reported this to the team via our internal channel. Currently, my suggestion is that please avoid using Segoe MDL2 Assets as the font.

By the way, you could also report this issue in the Feedback Hub. You could find it in the Start Menu.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Heiko-6891 avatar image
0 Votes"
Heiko-6891 answered Heiko-6891 edited

@RoyLiWicresoftNorthAmericaLtd-0833

Hello Roy,

It seems to affect all fonts that do not support characters in the range 0x20 - 0x7E, so no Latin characters.

The problem also occurs with these fonts when you insert characters with TextBox.SelectedText = "\uE136\uE137\uE138" (Segoe MDL2 Assets) into the TextBox that are supported by the font.

In my case it concerns the following fonts:

HoloLens MDL2 Assets (http://www.microsoft.com/typography/fonts/)
Segoe MDL2 Assets (http://www.microsoft.com/typography/fonts/)
micon (http://fontello.com)

I have an app that converts characters to various formats for developers, especially from Font Segoe MDL2 Assets (e.g. \uE136  57654 \x36\xE1 %EE%84%B6 \U0000E136 etc.). This means that in the TextBox these formats (characters from 0x20 - 0x7E) and the characters itself should always be visible in the respective font.

Best Regards,
Heiko

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

e.g. "\uE136\u000D\uE137\uE138" for Segoe MDL2 Assets.

It's a pity that you can't edit text here in this forum afterwards.

0 Votes 0 ·