[WebKit-devel] Patch: restore scrollbar position and more
Cédric Bellegarde
gnumdk at adishatz.1s.fr
Tue Oct 20 19:35:16 CEST 2009
https://bugs.kde.org/show_bug.cgi?id=211065
I've worked on fixing my bug report...
I first try to enhance Dawit commit but having full navigation scrollbar
position history was a really bad option.
I search another way to do, in fact, qtwebkit already store navigation
scrollbar position history.
So, here a patch making openUrl in kpart use QWebPage::Forward and
QWebPage::Back instead of loading a new page.
Side effect:
- Qt webkit history is now in sync with konqueror: With current code, history
is never managed, it contain all visited pages
- Scrollbar position is restored via qtwebkit
Cédric
-------------- next part --------------
A non-text attachment was scrubbed...
Name: webkit_use_backforw.diff
Type: text/x-patch
Size: 2789 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/webkit-devel/attachments/20091020/97971ce9/attachment.diff
More information about the WebKit-devel
mailing list