Skip to main content
Eblec.1
Associate III
May 31, 2022 12:03 PM UTC
Question

touchGFX function startMoveAnimation is leaving dots in the path. why ?

0693W00000NrFBWQA3.jpg

This topic has been closed for replies.

17 replies

Eblec.1
Eblec.1Author
Associate III
May 31, 2022 2:29 PM UTC

it is not happening on simulator. only on my real target !

Eblec.1
Eblec.1Author
Associate III
May 31, 2022 2:31 PM UTC

is there any initialization that is running on simulator and NOT on my real target ?

Eblec.1
Eblec.1Author
Associate III
Jun 1, 2022 2:06 PM UTC

today I tried this on evaluation board stm32l496g-disco and it works ok without dots left behind.

the disco has a screen 240*240. my screen is 320*240. can it be the reason to the dots left behind ?

Yoann KLEIN
ST Employee
Jun 3, 2022 9:57 AM UTC

Hello @Eblec.1​ ,

What do you mean with leaving dots in the path ? Could you provide more details about your issue and maybe also screenshots ?

Something else, next time you post something, please avoid answering to your own post. If you answer your own post, ST teams and other people might think that your issue/question could be answered or at least that someone is already helping you.

So, if you progress with resolving your issue, please edit your post and add news, that's preferable ;)

Thank you !

/Yoann

Yoann KLEINST Software Developer | TouchGFX
Eblec.1
Eblec.1Author
Associate III
Jun 6, 2022 6:32 AM UTC

hello, Yoann.

I added an image that shows the dots left by the animation of moving the box through the screen.

thanks.

EKama.1
Associate
Jun 6, 2022 12:42 PM UTC

Hello Eblec,

Try use <box>.invalidate() for the background box and execute it in each tick event

Eblec.1
Eblec.1Author
Associate III
Jun 6, 2022 1:09 PM UTC

thanks. I'll try this. but isn't it a workaround to fix an animation problem ?

Osman SOYKURT
ST Technical Moderator
Jun 7, 2022 7:54 AM UTC

Hello Eblec.1,

You said that on the stm32l496g-disco it works fine but on which board it's not working fine ?

/Osman

ST Software Developer | TouchGFX
Eblec.1
Eblec.1Author
Associate III
Jun 7, 2022 7:58 AM UTC

hello, Oskt.

it works fine on the disco, which has 240*240 screen.

it leaves dots on my custom board with a screen 320*240.

I declare in touchGFX the 320*240 , and only the animation leaves dots.

thanks.

Osman SOYKURT
ST Technical Moderator
Jun 8, 2022 8:34 AM UTC

Hello Eblec.1,

Ok, and what did you put for dimensions of your application on TouchGFX Designer ? 240*240 or 320*240 ?

Also did you modify the dimension of your display with STM32CubeIDE ?

/Osman

ST Software Developer | TouchGFX