privacybydesign / irmamobile

IRMA app for iOS and Android
Other
81 stars 20 forks source link

Frozen screen when signing very long message #294

Open DeD1rk opened 2 weeks ago

DeD1rk commented 2 weeks ago

I just tried signing a very long message (64000 characters of 01234567890123...). While my irma server handles it just fine (maybe a limit should also be enforced there), when I open the session in the app, I get stuck on a frozen white screen with only a dot (likely the first frame of a CircularProgressIndicator) in the center for a long time, before finally ending up on the signing screen as expected.

This is what it showed: IMG_8380

And after roughly 100 seconds: IMG_8381

It seems to be related to the layout of word-breaking, because when I try it with 64000 characters of 123456789 123456789 ... (so with spaces inbetween) it's no problem. Because of that, I'm not sure if it's actually realistic to do anything about it (seems like a low level flutter text layout issue) but it might be good to investigate anyway. Maybe it can be solved by just switching the word-breaking strategy.

Version: 7.5.5 (4194469, ffc255be)

DibranMulder commented 4 days ago

Thanks @DeD1rk for pointing this out, we will add it to our low prio bugs. We will investigate this once our short term roadmap has been completed.