novasamatech / parity-signer

Air-gapped crypto wallet.
https://vault.novasama.io
GNU General Public License v3.0
558 stars 167 forks source link

Android - Bug - Scanner thinks anything is a multiframe QR #951

Closed Tbaut closed 1 year ago

Tbaut commented 2 years ago

What happened:

How to reproduce

Slesarew commented 2 years ago

This is likely caused by improper clearing of frame collector upon transaction parse. Should get fixed once it submerges into rust as well.

Slesarew commented 2 years ago

I think it got temporary fix in #986

Tbaut commented 1 year ago

As an update, this bug is still present in the latest master unfortunately.

Tbaut commented 1 year ago

Here's a concrete example where this happened to me. I'm on android:

Dmitry-Borodin commented 1 year ago

I can't reproduce it, maybe this was fixed during banana split implementation. @Tbaut could you check again?

What I see is that after successful transaction Usually camera starting next transaction. For example after importing metadata I usually don't move phone from QR code rightaway, so I starting scanning metadata again and getting few frames. @tetekinandrey do you think it make sense to pause camera recognition for while some bottom sheet overlays are shown?

Tbaut commented 1 year ago

I've tried the latest build, and realized that the version I was building was very old compared to master. I can't reproduce the issue either. Thank you so much, and sorry for keeping this open in the backlog for so long.