cancel
Showing results for 
Search instead for 
Did you mean: 

Issue: locked Elements don't stay where they are

JPan.4
Associate III

After update TouchGFX 4.20.0 to 4.21.0, all fixed element on the screen don't stay where they are meant to be. I post the following image, in which the Text element and MORE-logo element are locked. But after simulation these elements are all arranged to the left up of the page. 0693W00000Y7UVJQA3.pngIf I unlock those elements, there is then no such problems. How does that come?

Best wishes,

J.Pan

1 ACCEPTED SOLUTION

Accepted Solutions
Osman SOYKURT
ST Employee

Hello JPan.4 and t.decker,

We have fixed this issue in the new version :)

/Osman

Osman SOYKURT
ST Software Developer | TouchGFX

View solution in original post

4 REPLIES 4
Osman SOYKURT
ST Employee

Hello JPan.4,

Indeed, we noticed this issue after our release, we're thinking for a patch release including a fix for this issue. I'll get back when I'll have more info about it.

/Osman

Osman SOYKURT
ST Software Developer | TouchGFX
t.decker
Senior II

I just updated to 4.21 and also encountered this bug. I have some "background" items that I have set to locked in the designer - they are all at the wrong position. Seems that the constructor of the views baseclass does not set the origin of an item when it's locked. Screenshots of the generated code attached.

 bottomBar, topBar and boxMiddle unlocked:

0693W00000Y7pUqQAJ.png 

bottomBar, topBar and boxMiddle locked:0693W00000Y7pV0QAJ.png

When this account seems to be inactive, try @tdecker2 - ST can't change mail addresses, so I had to create a new account.
Osman SOYKURT
ST Employee

Hello JPan.4 and t.decker,

We have fixed this issue in the new version :)

/Osman

Osman SOYKURT
ST Software Developer | TouchGFX

Thank you for your information!