cancel
Showing results for 
Search instead for 
Did you mean: 

TouchGFX 4.22.0 Designer bug with flex button actions

FDigi
Associate III

I got a project with a flex button in screen and custom container with the same name ("ButtonBack"). Both flex buttons got an action to call a virtual function. After generate, close TouchGFX Designer and reopen, the reference button in action is missing, there is no button selected in the action in the screen and custom container.

Do you know how to solve it?

1 REPLY 1
GaetanGodart
ST Employee

Hello @FDigi ,

1 .
I was not able to replicate this bug in Designer 4.23.0.

Here are the steps I took :

  • create a custom container
  • add a flex button to it and rename it to "btn"
  • add an action (on the container) on this button to call a new virtual function when clicked
  • add this custom container to the screen
  • add a flex button to the screen and rename it to "btn"
  • add an action (on the screen) on this button to call a new virtual function when clicked
  • save
  • close
  • re-open

At this point, when re-opening, Designer tell me there was changes to the project and ask if I want to reload the project or not.
I clicked no and both actions where present.
I then close, re-open it and this time agree to reload the project, both actions were present aswell.

Did I do something wrong?

2 .


Do you know how to solve it?

Wouldn't using 2 different names fix the issue?
Are you restricted to using the same name?


3 .


Do you know how to solve it?

Would you consider updating to 4.23.0 (faster load time, SVG support, bug fixes and more) or are you restricted to 4.22.0?


Note that I cannot open a ticket to fix this bug in 4.22.0 as this is a later release


Hope this helps.
Don’t hesitate to give us a feedback or give more precisions.

Gaetan Godart
Software engineer at ST (TouchGFX)