PySide Bugzilla Closed for New Bugs

PySide is now a Qt Add-on and uses the Qt Project's JIRA Bug Tracker instead of this Bugzilla instance. This Bugzilla is left for reference purposes.

Bug 935 - QWebView will not use HTML5 manifest cache
: QWebView will not use HTML5 manifest cache
Status: CLOSED INVALID
Product: PySide
Classification: Unclassified
Component: QtWebKit
: 1.0.4
: All All
: P5 normal
Assigned To: renato filho
:
:
:
  Show dependency treegraph
 
Reported: 2011-07-17 00:06 EEST by mikael.lammentausta
Modified: 2011-08-23 00:37 EEST (History)
8 users (show)

See Also:


Attachments
example presenting the issue with offline caching (2.37 KB, text/x-python-script)
2011-07-17 00:06 EEST, mikael.lammentausta
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mikael.lammentausta 2011-07-17 00:06:09 EEST
Created attachment 378 [details]
example presenting the issue with offline caching

HTML5 manifest cache enables web applications to be used without network
connection.

Qt supports this through various settings, and
QWebSettings.enablePersistentStorage() will let a QWebView to utilize this
feature.

However, this did not seem to work propely on PySide using Qt4.6 or Qt4.7. I
tried to debug this for quite a long time until almost by accident found a
"workaround". The attached example comments the problem and the workaround.

I've no idea if this is a problem in Qt or PySide, but I wanted to document
this somewhere so other people who bump into this would know there is a
solution.
Comment 1 renato filho 2011-07-28 22:58:30 EEST
Hi Mikel,

I have discussed with the Webkit guys and this is the correct behavior of
webkit.

The function 'setUrl' starts the loading process and without a network this
will fail. Then you need first configure the cache information and after that
set the url. If you do that first, the load load process will fail.
Comment 2 renato filho 2011-08-23 00:37:25 EEST
Release PySide 1.0.6