-
Notifications
You must be signed in to change notification settings - Fork 10k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add some UI feedback when a PDF fails to load for any reason #16599
Comments
@Snuffleupagus As the author of #15533, what do you think of this? Should this be in the generic viewer UI or be Chrome-specific? |
That was done specifically to reduce the amount of code that needs to be maintained. Furthermore, the current behaviour is also consistent across builds since the Firefox PDF Viewer no longer displays any error messages (except the console logging). There's some discussion in https://bugzilla.mozilla.org/show_bug.cgi?id=1795859 about possible surfacing error messages more visibly, hence I very much believe that we should await the conclusion of that bug before re-adding any build-specific code to the viewer for this purpose. |
Thanks for linking that issue. I'll link this issue from Bugzilla, so that if there is any resolution, it will be mirrored to both issue trackers. |
This comment was marked as outdated.
This comment was marked as outdated.
If you are wondering about how to trigger this scenario, see #16271 for manual reproduction steps. Note that this issue is not yet actionable until a decision has been made (see #16599 (comment)). |
The generic errorWrapper was removed in #15533, motivated by code simplification and reducing the translated strings. The result is zero UI feedback when the PDF fails to load/render for any reason.
Examples:
chrome-extension://oemmndcbldboiebfnladdacbdfmadadm/http://example.com/not-a-pdf
I'd like to restore the UI feedback, at least in the Chrome extension. It doesn't have to be the same as the original, even dumping the raw error message (which are still translated by the way) would suffice.
The text was updated successfully, but these errors were encountered: