cancel
Showing results for 
Search instead for 
Did you mean: 

Qr Code not working in TouchGFX, shows previous screen instead in that area

furqanbari431
Associate

Hi,

I am new on TouchGFX and UI making, i have make many screens with transition in between i want to add a qr Code,

furqanbari431_0-1767960562885.jpeg


But when I just add a default qrcode no edit, but it dont show any thing, on that screen but when i change screen to different one and come back again the previous screen content print on qr code area.
First screen:

furqanbari431_1-1767960623506.jpeg

Qr screen: in the qr area the previous screen pixel shown

furqanbari431_2-1767960675481.jpeg

Qr next screen: when we go to next screen and again come back it again shows same issue.

 

furqanbari431_3-1767960750321.jpeg

furqanbari431_4-1767960758364.jpeg



or if we set the qr screen as startup it shows black completely in the qr region.

 

furqanbari431_6-1767960953220.jpeg


Kindly tell which issue causing this, as i does following troubleshoot from my sie;

1- use the invalidate in constructor, setup screen of view, and with screen coding in view file.

2- try to look every possible options like change qr versions, scale, ECC. mostly every option

3- try https://www.qrcode.com/en/about/version.html qr version table combitions to correctly check

4- change screens and try on different projects.

screen 1: w:230 and h:303

screen 2: w:320 and h:240

both are monochrome lcds

Also try in both touchgfx desiners 4.25 and 4.26

 

 

 

 

 

2 REPLIES 2
JohanAstrup
ST Employee

Hello @furqanbari431.

What happens when you run the simulator? Can you share your project?

Best regards,
Johan

MM..1
Chief III

TochGFX isnt optimized for monochrome, plus here isnt used framebuffer or LTDC. Maybe you have SPI...

Best way is show your code and read QR Code | TouchGFX Documentation