[Webkit-unassigned] [Bug 54024] [Qt] QWebSettings::iconForURL() returns NULL at first call

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 9 09:38:12 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=54024





--- Comment #5 from Benjamin Poulain <benjamin.poulain at nokia.com>  2011-02-09 09:38:12 PST ---
(In reply to comment #2)
> I can understand it's asynchronous if it doesn't exist in the database and we need download it from the network. Why should it be asynchronous if it already exists in the database? Otherwise, that beats the purpose of having a local database.

Because the disk is slow as well, making asynchronous for I/O is often a good idea.

> Developers like to use iconForURL to display icons for the bookmarks bar or bookmarks menu. We shouldn't rely on QWebFrame just to retrieve an icon from the database. 

Rekonq devs gave up on ::iconForURL() because of this undefined behavior. I think it is worth investigation.

-- 
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