Error: QR code could not be decoded


i jus tried to scan the code with iOS, this works.

can you give more details about used platforms (both android?) and versions? and also test if things work for a non-emoji-only-name for that set up?

nb: welcome aboard!

I had also some time ago this problem trying to use a account. I gave up finally. Could maybe a mirror problem. Sometimes I saw on my desktop camera the QR code mirrored. But I found no way to change this. Could als be another problem.

Using 1.42.6 on Android 11

I scanned by importing the above image file from gallery, not using camera. It works for some emoji and alphabet.

Maybe we should stop overlaying avatar on top of the QR code. This looks nice, but actually makes scanning the code harder.

I wonder if it would help to make the background 100% white. I like the emoji option, it looks cool. Also recommend that importing from gallery does not trigger camera permission dialog.

1 Like

White background should definitely help.

It is already white on Android, so grey background is a Desktop issue.
Opened an issue: Make QR code background white · Issue #3673 · deltachat/deltachat-desktop · GitHub

it is an svg generated by core, also desktop can scan it, so I’d blame the scanner library on android, there I would assume it has sth to do with the blurring/compression in the image?

GitHub - dignifiedquire/quircs: qrcode scanner in rust - ported from quirc detects it no problem:

quircs test program
Library version: 0.10.2

                                      Time (ms)        Count   
  Filename                        Load  ID    Total ID    Dec  
  0be882ad3845edc1c7b5b632bd80b67ba1f94a10.png  41    20    62    1     1    

  Decode successful:
    Version: 8
    ECC level: M
    Mask: 6
    Data type: Some(Byte)
    Length: 126
    Payload: Ok("")
    ECI: None

I doubt that, I’d guess that would be a svg rendering bug or more likely you using a dark theme so it appears whiter than it actually is.

Theme = dark, Wallpaper = default

As you can see from the github issue we are not really able to reproduce your problem. It would be easy to change the background color, but we are not sure if that really helps. I have replaced the previous color (f2f2f2) with ffffff in this image, can you try to scan it?

1 Like