cancel
Showing results for 
Search instead for 
Did you mean: 

Program have a problem for interface at simulator and screen

non
Associate III

non_0-1730456548228.png

 

1 ACCEPTED SOLUTION

Accepted Solutions

Hello @non ,

 

Since the issue happens on the simulator (and your board), it means that the issue is in the code.
The simulator just compiles the code, generate the framebuffer and use graphic libraries to display the framebuffer so usually you will see the exact same thing on the simulator and on the board unless you have transfer issue (SPI, etc).

In your case, I have tried to import your GUI in a new simulator project ("Create new" => "Simulator") and it worked fine.
Also, I have found this thread where someone also has issue with button where it looks very similar to your problem and he solved it by fixing his flushFrameBuffer function.
I would assume this is also the issue for your project.

 

I hope this helps! :smiling_face_with_smiling_eyes:
If this comment answers your question, I invite you to select it as "best answer".

 

Regards,

Gaetan Godart
Software engineer at ST (TouchGFX)

View solution in original post

5 REPLIES 5
GaetanGodart
ST Employee

Hello @non ,

 

Can you share the project and tell us more about the steps you took to get this error?

 

Regards,

Gaetan Godart
Software engineer at ST (TouchGFX)

Sorry for late 

non_0-1730869347894.png

75802.jpg

non_0-1730874347264.png

i test any button

Hello @non ,

 

Since the issue happens on the simulator (and your board), it means that the issue is in the code.
The simulator just compiles the code, generate the framebuffer and use graphic libraries to display the framebuffer so usually you will see the exact same thing on the simulator and on the board unless you have transfer issue (SPI, etc).

In your case, I have tried to import your GUI in a new simulator project ("Create new" => "Simulator") and it worked fine.
Also, I have found this thread where someone also has issue with button where it looks very similar to your problem and he solved it by fixing his flushFrameBuffer function.
I would assume this is also the issue for your project.

 

I hope this helps! :smiling_face_with_smiling_eyes:
If this comment answers your question, I invite you to select it as "best answer".

 

Regards,

Gaetan Godart
Software engineer at ST (TouchGFX)

Hello @non ,

 

Have you been able to move forward on your issue?

 

Regards,

Gaetan Godart
Software engineer at ST (TouchGFX)