cancel
Showing results for 
Search instead for 
Did you mean: 

Text Glitching When in Portrait Mode

montea
Associate II

Hello,

TouchGFX seems to have some sort of a “bug”, where in PORTRAIT orientation the text will glitch with some weird white lines, unless there is an image in the item-tree situated ABOVE text items. It doesn’t have to be any image in particular, but MUST be an image.

If there isn't any image added, then every text element is glitched the moment I rotate to PORTRAIT:

touchgfx::HAL::getInstance()->setDisplayOrientation(isPortrait ? touchgfx::ORIENTATION_PORTRAIT : touchgfx::ORIENTATION_LANDSCAPE);

The glitched text looks as such (see the white weird lines corrupting the text):
0fd253de-8d11-46a5-a67e-33b096e922a8.png
This is my item tree in TouchGFX Designer (I also tried removing the background but the white lines remained):
Screenshot 2025-07-14 at 10.34.22.png

Then, if I add any kind of image, any text area under that image in the designer stack-up, it will be displayed without glitches and any text area placed above will glitch as such (Note, the XY location in the screen does not affect this, only the stack-up arrangement!):
a9b73ab8-47d8-41f0-a00c-7c03bf06f611.png750f9146-1650-45b8-b89a-00c02c5ef565.png
This is the stack-up to produce such result.
7581d2b1-24e0-473a-8c4c-5bf786e4a750.png
Note that the text 'Before' can be moved anywhere on the XY location on the screen and it will still glitch, whereas the text 'After' will not glitch. If I move both 'Before' and 'After' to be under the image1 in the stack-up, both text items will be glitch free :) 

Is there a known cause for this bug, can anyone else reproduce this? I am ok to have a workaround I posted here, however it feels more like a workaround rather than a solution.

0 REPLIES 0