[Webkit-unassigned] [Bug 49650] REGRESSION: [Qt] QNetworkReply delivered by the unsupportedContent() signal does not contain downloaded data
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jan 19 14:27:46 PST 2011
https://bugs.webkit.org/show_bug.cgi?id=49650
Stephen <chaohydra at hotmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |chaohydra at hotmail.com
--- Comment #7 from Stephen <chaohydra at hotmail.com> 2011-01-19 14:27:46 PST ---
I am probably having the same problem here. I am implementing my own download manager by handling QWebPage::unsupportContent(QNetworkReply *reply). If I add a modal dialog in the handler to obtain the download confirmation with the user, the reply object will be no longer return any data. reply->isFinished() will return true after that.
If no dialog is shown and I directly proceed to download the file, everything is fine.
The same problem happens if I add some time delay with app event loop processing in the middle, for example:
int nMilSeconds=100;
QTime dieTime = QTime::currentTime().addMSecs(nMilSeconds);
while( QTime::currentTime() < dieTime )
{
qApp->sendPostedEvents();
qApp->processEvents(QEventLoop::AllEvents,nMilSeconds);
}
Jan, could you confirm whether this is the same problem as what you described? Have you guys have any update or workaround on this?
Thanks a lot.
Stephen.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list