[UWP] [Bug] Yast another TextBox bug

Heiko 1,211 Reputation points
2019-11-27T16:51:22.137+00:00

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

Universal Windows Platform (UWP)
{count} votes

Accepted answer
  1. Roy Li - MSFT 31,766 Reputation points Microsoft Vendor
    2019-11-28T02:00:34.8+00:00

    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.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Heiko 1,211 Reputation points
    2019-11-29T20:00:54.957+00:00

    @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