[webkit-qt] Regarding Qt Webkit progress & finished behaviour

Ademar Reis ademar.reis at openbossa.org
Wed Sep 21 11:02:16 PDT 2011


On Wed, Sep 21, 2011 at 6:58 AM, sunny shah <sunny.cpp at gmail.com> wrote:
> Here is a log of Qt 's Demo browser,
>
> Received finished signal while progress is still: 10 Url:  QUrl(
> "http://www.youtube.com/" )
> Received finished signal while progress is still: 10 Url:  QUrl(
> "http://www.google.co.in/" )
>

Hi Sunny.

I tried to reproduce the problem but I couldn't. Here's what I did:

- Built and installed Qt-4.7;
- Built QtWebKit using this Qt-4.7
- Started the demo browser from Qt-4.7 using this new QtWebKit (I
checked that the right libs were being used by running ldd).

Qt-4.8 has the same code in the demo browser. I also tested it and
there's no problem.

If you can reliably reproduce the problem, please post all steps
you've followed and assuming you're doing this on Linux, please
include the output of "ldd browser" (this is to make sure you're
indeed running the browser with the right libs).

Thanks,
  - Ademar

>
> On Wed, Sep 21, 2011 at 3:25 PM, sunny shah <sunny.cpp at gmail.com> wrote:
>> Hi Caio,
>>
>>  I checked with latest qtwebkit ( I have mentioned the last update I
>> have), with demo browser, It is still not working.
>>
>>  I am checking with the demo browser provided with Qt 4.7.3. Here is
>> the code which reports error to me,
>>
>> void WebView::loadFinished(bool bSuccess)
>> {
>>    if (100 != m_progress) {
>>       // we are getting below warnings.
>>        qWarning() << "Received finished signal while progress is
>> still:" << progress()
>>                   << "Url:" << url();
>>    }
>>  // Some other code over here.
>> }
>>
>>
>> I am tested with the below as the last commit,
>>
>> commit 64cce100215c71575f19ca0b090c65fa97d4ba10
>> Author: Ademar de Souza Reis Jr <ademar.reis at openbossa.org>
>> Date:   Tue Sep 13 17:23:44 2011 -0300
>>
>>     [Qt] Unreviewed: Unskip xmlhttprequest-missing-file-exception.html (Qt-4.8)
>>
>>     [Qt]http/tests/xmlhttprequest/xmlhttprequest-missing-file-exception.html
>>     fails with Qt 4.8
>>     https://bugs.webkit.org/show_bug.cgi?id=60176
>>
>>     This test was skipped because of a regression in Qt-4.8. The problem has
>>     been fixed and the bots have been updated, so there's no need to keep
>>     the test skipped.
>>
>>
>>   Sorry for delay, It was busy with other developments.
>>
>> Thanks.
>>  Sunny.
>>
>>
>>
>> On Wed, Sep 21, 2011 at 3:18 AM, Caio Marcelo de Oliveira Filho
>> <caio.oliveira at openbossa.org> wrote:
>>>
>>> Hello Sunny Shah,
>>>
>>> On Wed, Sep 14, 2011 at 7:16 PM, sunny shah <sunny.cpp at gmail.com> wrote:
>>> > Ok, I will do it and reply back by tomorrow.
>>>
>>> Any follow up on that?
>>>
>>>
>>> Cheers,
>>>
>>> --
>>> Caio Marcelo de Oliveira Filho
>>> OpenBossa - INdT
>>
> _______________________________________________
> webkit-qt mailing list
> webkit-qt at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-qt
>



-- 
Ademar de Souza Reis Jr. <ademar.reis at openbossa.org>
Nokia Institute of Technology


More information about the webkit-qt mailing list