TouchGFX 4.22.0 Designer bug with flex button actions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-09-27 5:23 AM
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?
- Labels:
-
TouchGFX
-
TouchGFX Designer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-12-11 3:26 AM
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.
Software engineer at ST (TouchGFX)
