Bug 211065

Summary: Backward button don't scroll to last position
Product: [Frameworks and Libraries] kwebkitpart Reporter: Cédric Bellegarde <web>
Component: generalAssignee: webkit-devel
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Use QWebPage::Back/Forward

Description Cédric Bellegarde 2009-10-19 12:48:48 UTC
Version:            (using Devel)
OS:                Linux
Installed from:    Compiled sources

Exemple: I go to dot.kde.org, i scroll down in page, click a link to a new page.
When i click backward, konqueror go back but a top of last page.

It should go at last position in page like with khtml.
Comment 1 Dawit Alemayehu 2009-10-19 18:04:59 UTC
SVN commit 1037620 by adawit:

- Added support for per site javascript policy.
- Do not set the new window meta data when createNewWindow is called so that 
  the user's preference is honored by Konqueror.
- Restore the scroll position when navigating back to a page.
- Added function to return the SSL information of the current site.

CCBUG:211065
CCBUG:209229
CCBUG:194695


 M  +29 -19    webkitpart.cpp  
 M  +193 -210  webpage.cpp  
 M  +11 -18    webpage.h  
 M  +0 -3      websslinfo.cpp  
 M  +1 -3      websslinfo.h  
 M  +2 -1      webview.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1037620
Comment 2 Cédric Bellegarde 2009-10-20 00:41:34 UTC
Not working here with exemple from bug report.
Comment 3 Cédric Bellegarde 2009-10-20 23:13:32 UTC
Created attachment 37691 [details]
Use QWebPage::Back/Forward
Comment 4 Dawit Alemayehu 2009-10-20 23:53:34 UTC
Indeed... My fix only works when you type a new url to visit another site, but 
fails when you click on a link. A fix will be forthcoming soon as stated in my 
response to your patch that attempts to address this issue...

On Monday 19 October 2009 18:41:36 Bellegarde Cédric wrote:
> https://bugs.kde.org/show_bug.cgi?id=211065
> 
> 
> 
> 
> 
> --- Comment #2 from Bellegarde Cédric <gnumdk gmail com>  2009-10-20
>  00:41:34 --- Not working here with exemple from bug report.
>
Comment 5 Cédric Bellegarde 2009-10-31 00:04:08 UTC
Fixed ;)