almindor / harbour-jTox

Sailfish OS native tox implementation for Jolla
GNU General Public License v3.0
12 stars 4 forks source link

The QR code isn't valid #17

Closed 7heo closed 7 years ago

7heo commented 7 years ago

The application displays for my key a QR code that mostly looks like a chess board. It's also not working with the QR code readers on android.

almindor commented 7 years ago

Checkerboard means "empty". I noticed this happened sometimes, not sure what was the cause tho. Try going in accounts again or restarting jTox and waiting a bit before going in to show the QR code.

I don't know what's the cause yet as the toxid is def. present when it happens. It's probably a QML/databinding issue. Basically an empty toxID is loaded in before the actual toxID becomes available. But it's hard to reproduce.

7heo commented 7 years ago

As of now (my Jolla is currently out of battery) it happened constantly and consistently. And it happened on two accounts (I trashed my first account (find -name '*jTox' -exec rm -rf {} \; in my home) because I forgot the password - I didn't bother to actually use something I'd remember...)

almindor commented 7 years ago

Interesting, would it bepossible for you to run the SailfishOS SDK? We could debug on your phone this way..

7heo commented 7 years ago

I could try to do that, but not immediately. For personal reasons this won't be realistic before approximately one month.

almindor commented 7 years ago

NOTE: I couldn't consistently reproduce but this should hopefully fix the issue, if you still get it after 1.1.0 release please reopen

7heo commented 7 years ago

I'll test that once I get 1.1.0 from the store.