Bug 211065 - Backward button don't scroll to last position
Summary: Backward button don't scroll to last position
Status: RESOLVED FIXED
Alias: None
Product: kwebkitpart
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: webkit-devel
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-19 12:48 UTC by Cédric Bellegarde
Modified: 2009-10-31 00:04 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Use QWebPage::Back/Forward (2.72 KB, patch)
2009-10-20 23:13 UTC, Cédric Bellegarde
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ;)