Opened 12 years ago
Last modified 11 years ago
#4011 closed defect
PDF tabs don't display error page when there is no internet connection — at Version 1
Reported by: | humitos | Owned by: | humitos |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | Browse | Version: | Unspecified |
Severity: | Unspecified | Keywords: | r+, olpc-test-pending |
Cc: | manuq | Distribution/OS: | Unspecified |
Bug Status: | Unconfirmed |
Description (last modified by humitos)
If you try to load a PDF url without being connected to Internet, the error page is not shown.
Change History (1)
comment:1 Changed 11 years ago by humitos
- Cc manuq added
- Description modified (diff)
Note: See
TracTickets for help on using
tickets.
@manuq: how we should implement this?
Nowadays, when an error occurs when a page is loading we load a error page in HTML format inside the same WebView that is being used.
The PDF case is a bit different because we do not create a WebView, instead of that we create a DummyBrowser and start the download process using a WebKit.Download and when it finishes we use Evince to show the PDF.
At the moment we have the signal 'error' of the WebKit.Download connected to log the reason. I think we should do something there to show the error page
I see two possibilities here:
Any other idea? What do you think?