You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If Session is in dark mode and I go to my profile -> QR code, my Android device refuses to find the QR code no matter how long I hover it over the code displayed on the screen. In light mode it finds it instantly.
I played around with the image of the code, and found out it has to do with the amount of whitespace padding around the code -- I found some references that a QR code requires a minimum of two squares of padding on all sides (apparently with 4 recommended), but the QR code we display in dark mode only has 1 square width of padding on each side.
Unscannable dark mode QR currently produced by Session desktop:
I edited this in GIMP to add padding; with an extra block-width of padding all around my Android phone picks it up instantly, like it does in light mode:
The text was updated successfully, but these errors were encountered:
Bilb
added a commit
to Bilb/session-desktop
that referenced
this issue
Nov 4, 2021
This may be a specific thing with the app you are using, but this seems like a good idea just so it does not trip out any more QR scanners. Normally there would not be a dark background around the edges so it may be thinking that it is part of the QR code.
If Session is in dark mode and I go to my profile -> QR code, my Android device refuses to find the QR code no matter how long I hover it over the code displayed on the screen. In light mode it finds it instantly.
I played around with the image of the code, and found out it has to do with the amount of whitespace padding around the code -- I found some references that a QR code requires a minimum of two squares of padding on all sides (apparently with 4 recommended), but the QR code we display in dark mode only has 1 square width of padding on each side.
Unscannable dark mode QR currently produced by Session desktop:
I edited this in GIMP to add padding; with an extra block-width of padding all around my Android phone picks it up instantly, like it does in light mode:
The text was updated successfully, but these errors were encountered: