RESOLVED WORKSFORME 29456
[Qt] QtWebkit API does not handle HTML anchors properly when loading the current page with an additional anchor
https://bugs.webkit.org/show_bug.cgi?id=29456
Summary [Qt] QtWebkit API does not handle HTML anchors properly when loading the curr...
Tor Arne Vestbø
Reported 2009-09-18 08:01:50 PDT
This bug report originated from issue QTBUG-2415 <http://bugreports.qt.nokia.com/browse/QTBUG-2415> --- Description --- QtWebkit does not handle HTML anchors properly by reloading the entire page even though the link points to the same page
Attachments
test case (1.72 KB, text/x-c++src)
2011-03-28 15:19 PDT, Caio Marcelo de Oliveira Filho
no flags
Jocelyn Turcotte
Comment 1 2009-12-14 08:05:05 PST
== More details from original bug: Clicking on the links that are Anchors works perfectly. It's the SetUrl/Load(url) that is problematic here. If I do: qWebview->Load("c:\test.html"); and then qWebview->Load("c:\test.html#page293); // this reload the whole html, show top of page, then goes to anchor #page293
Caio Marcelo de Oliveira Filho
Comment 2 2011-03-28 15:19:02 PDT
Created attachment 87218 [details] test case Test case to check the behavior. Works fine for me on trunk r82148 in Linux.
Caio Marcelo de Oliveira Filho
Comment 3 2011-04-07 11:46:29 PDT
Tried my test case again with r83185 and it works.
Note You need to log in before you can comment on or make changes to this bug.