[UI] Error state for when signature cannot be placed
Categories
(GeckoView :: PDF Viewer, task)
Tracking
(Not tracked)
People
(Reporter: olivia, Unassigned)
References
Details
(Whiteboard: [fxdroid][group6])
We have plans for an error case when this exception happens.
Would happen as a failure to connect to PDF.js. Don't think this is a common state, but possible if I navigation had started and the timing was just right and other unexpected happenings.
| Reporter | ||
Updated•2 months ago
|
Updated•2 months ago
|
| Reporter | ||
Comment 1•1 month ago
|
||
I talked about this more with :aarjav in Figma and Slack and when talking about possibilities. This seems more and more like a theoretical technical possibility than one our users are going to run into.
I think most scenarios would be something really went wrong like PDF.js wasn't connected or something extreme. (I'm not sure even if those scenarios would actually onException back or just pend the GeckoResult. Maybe a malformed PDF that PDF.js can't place on and rejects the signature? I'd have to look deeper into the final code, right now it is in initial placement stage.)
We have telemetry on pdf_viewer.sign_dialog_add_failure and can see if users actually run into this scenario. So, the plan right now is to monitor on Nightly once this releases and check that graph.
| Reporter | ||
Updated•1 month ago
|
Description
•