cancel
Showing results for 
Search instead for 
Did you mean: 

TouchGFX Designer 4.19 FlexButton bug

JureL
Associate III

Hey @Martin KJELDSEN​ ,

today I updated touchgfx in my project from version 4.18.1 to 4.19. As soon as I updated, regenerated and compiled my project I noticed that all of my wildcard texts in flexbuttons are missing:

Example code:

#include <gui/screen1_screen/Screen1View.hpp>
 
Screen1View::Screen1View()
{
 
}
 
void Screen1View::setupScreen()
{
    Screen1ViewBase::setupScreen();
    Unicode::snprintf(flexButton1Buffer, FLEXBUTTON1_SIZE, "HELLO");
}
 
void Screen1View::tearDownScreen()
{
    Screen1ViewBase::tearDownScreen();
}

Result 4.18.1:

0693W00000KdgusQAB.pngResult 4.19:0693W00000Kdgv2QAB.png 

I compared generated files (v4.19 vs. v4.18.1) and found out that new touchgfx designer does not generate line setWildcardTextBuffer (also line for sample value snprintf is missing):

0693W00000KdgyBQAR.pngFurther more I noticed that color setting for flexButton text is gone in designer:

0693W00000Kdh07QAB.png0693W00000Kdh1AQAR.png 

You can find application examples in zip attachment.

1 REPLY 1
Jesper HEDEGAARD
ST Employee

Hi JureL,

Thank you very much for the thorough description. This is for sure a bug that we need to correct as soon as possible. Expect a patch release soon (within a week or so).