Bug 79025 - Konqueror doesn't keep scroll position when reloading page
Summary: Konqueror doesn't keep scroll position when reloading page
Status: RESOLVED DUPLICATE of bug 32639
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
: 35356 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-04-04 06:21 UTC by Antiphon
Modified: 2004-06-27 15:44 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Antiphon 2004-04-04 06:21:57 UTC
Version:            (using KDE KDE 3.2.1)
Installed from:    Debian testing/unstable Packages
OS:          Linux

This has been a bug in Konqueror for some time. When a page is reloaded, the scroll position that it had before is forgotten and the page is put at the top.

bugs.kde.org lists a closed report (#35356) on this bug but doesn't list the original report number that 35356 is said to be a copy of. Did the original report get deleted during a db overhaul? The bug has been present since at least 1999 and is long overdue for a fix.

Perhaps the position could be saved prior to reloading and then jumped to after the process is complete?
Comment 1 Leo Savernik 2004-04-18 18:59:52 UTC
Confirming. I'm seeing this, too.
Comment 2 Leo Savernik 2004-04-18 19:55:52 UTC
*** Bug 35356 has been marked as a duplicate of this bug. ***
Comment 3 Jedd 2004-04-19 07:30:40 UTC
Bug 32639 (18 September 2001) appears to be a duplicate of this.

I'm using 3.2.x under Debian unstable, and I was pretty sure that this bug had been fixed a while back (or maybe I just didn't miss the feature for a while) and had returned in quite recent versions of Konqueror.

If 32639 is closed, the votes it has should be transferred to this bug.  Given the number of duplicates mentioned against both pending bugs (this and that one) it's likely there's other duplicates out there too.

Is it a really tricky thing to implement?  In the file-manager konq it'd be nice to have the same 'remember this position' default when Reloading -- when reloading there it zips you back to the top of the list for no good reason too.

Presumably it'd just be hooked at the start of the whatever reload-page() function with a flag to tell the redraw / positional code later to drop down to such-and-such a place.  The fact that I can describe it that badly should suffice to prove that I don't have the knowledge to fix it myself.  ;)
Comment 4 Jedd 2004-04-20 07:57:49 UTC
While writing a page (alternating with vi/konsole and a web-konq window) I tried to work around this problem by banging in a <a name="bob"> reference, and then using the intra-page locational facility of the URL.

This highlights another problem with the current konq's reload facility -- and one that I'm sure didn't exist a while back -- when I do a Reload on a page with the #bob at the end of the URL, it takes me to the top of the page.  If I click into the URL widget & hit return, or hit the 'go' button to the right of the URL widget, it takes me to the #bob location.

Quick assessment - the reload feature seems to ignore anything after the # in the URL.  The reason I'm sure this didn't exist before is that I've had multiple w-konq windows running between sessions, and I was sure that they used to pop up at the right location (on the page) during a session restore.
Comment 5 Leo Savernik 2004-06-27 15:44:47 UTC
Oops, this one has slipped through.

jedd: The bug you describe is a different issue, but it should have been fixed in the meanwhile.

*** This bug has been marked as a duplicate of 32639 ***