cancel
Showing results for 
Search instead for 
Did you mean: 

touchgfx crashes when custom keyboard and custom widget meet

wonderFine
Associate II

Hello,

I'm working on a vt100 terminal emulator,  so I created a custom widget which decodes input stream and then display it on a TFT-LCD by LTDC. It works fine alone,  after a custom keyboad added on the top, the simulation will crash when the custom widget try to draw the part under the keyboard, and visual studio throws an exception as shown in the screenshot.

what cause this result and how can I avoid it?

your help will be appraciated.

wonderFine_0-1705426668636.png

2.png

1.png

3.png

1 ACCEPTED SOLUTION

Accepted Solutions

Hello @wonderFine ,

That's a pretty cool project you are working on :D

To be honest, it is very difficult to detect what is causing the issue, but a possible solution to hide the symptom would be to try auto scrolling the text to avoid cursor colliding with the keyboard. 

Have you created the keyboard yourself? 

Mohammad MORADI
ST Software Developer | TouchGFX

View solution in original post

2 REPLIES 2

Hello @wonderFine ,

That's a pretty cool project you are working on :D

To be honest, it is very difficult to detect what is causing the issue, but a possible solution to hide the symptom would be to try auto scrolling the text to avoid cursor colliding with the keyboard. 

Have you created the keyboard yourself? 

Mohammad MORADI
ST Software Developer | TouchGFX
wonderFine
Associate II

Hi, @Mohammad MORADI ESFAHANIASL 

Thanks for your time.

The keyboard widget is ported from the Keyboard Example in touchGFX Designer.

It's strange that no error emerges when the cousor colliding with standard widgets (which provided by touchGFX Designer) :thinking_face:. Scrolling the text can avoid the symptom indeed. Thanks again.