Version: (using KDE KDE 3.5.1) Installed from: Gentoo Packages When clicking on a named anchor link (e.g. "#top") repeatedly, Konqueror adds a back button history entry each time. Some pages make extensive use of these links to trigger some JS or CSS action, thus cluttering the back button history and making it frustrating to go back to the previous page. Here's an example: - go to http://www.cssplay.co.uk/menu/index.html - follow the link to "two step photo-gallery" - click on the thumbnails a few times - try to use the back button to navigate back to the index page
Bug confirmed KDE 3.5.5 / Kubuntu 6.10. Test case available online at: http://www.mutube.com/x/kde/bug124328.html Clicking "Click me" fills the browser history with references to the named anchors (page title increments to make it easier to track). Compare this behaviour to Firefox which does not add *any* named anchors on the current page to history.
Bug still present in 4.0.3/Kubuntu. FF3 only ads a single entry to (no #) to the browser history.
Still present in trunk 20080507. Firefox only adds a single entry, and Opera adds every single entry to his back button, but only adds a single entry to his rewind button.
Git commit 7eba557c4d71897d5f73c81f03b85d12fb4efc1b by Andrea Iacovitti. Committed on 13/11/2014 at 13:23. Pushed by aiacovitti into branch 'KDE/4.14'. Do not add new entry in browser history when executing local anchor jump and the hash part doesn't change. M +11 -7 khtml/khtml_part.cpp http://commits.kde.org/kdelibs/7eba557c4d71897d5f73c81f03b85d12fb4efc1b