[Webkit-unassigned] [Bug 26452] [Qt] Add ability to prepend an item to the history list

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 24 13:50:53 PDT 2009


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





------- Comment #11 from rick at lindenlab.com  2009-06-24 13:50 PDT -------
The problem is that addItem() *appends* history items, so if there are already
URLs in the history, they come after the current URL.

Even if this weren't so: in the case of re-initializing the history, if you
call addItem(URL1), addItem(URL2), ... addItem(URLn),  the problem is that the
"current URL" is wrong (it will be URL1).  There isn't API for "make this
history item the current item" (there is a "goto this history item", but that's
not the same.

Admittedly there are probably alternatives to prependItem, but this seemed
simplest.


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list