GNOME Bugzilla – Bug 46756
Clicking on anchor links in info: pages causes the page to reload
Last modified: 2004-12-22 21:47:04 UTC
1) Enter "info:as" into the nautilus location bar 2) Click on the "Syntax" link Expected: The view jumps to the Syntax link Actual: The page reloads, taking a very long time. Problem: The gnome-info2html2 tool outputs anchor links as full URL's ("info:as#Syntax") rather than relative URLs ("#Syntax"). The web browser component naively re-navigates to this page. Solution: The correct solution is for gnome-info2html2 to output relative anchor links when referencing anchors in the same output stream. I'd rather not change the mozilla wrapper component to try to work around this case. ------- Additional Comments From aliabdin@aucegypt.edu 2001-02-19 14:16:22 ---- So I can just click a link that is something like <a href="#foo">test</a> and Nautilus/Mozilla will be intelligent enough to use the current URI? If yes, then this should be easy to fix (for both man and info pages). This won't work with gnome-help URI's though (since they loaded as multiple pages and the anchor tag may be in a different page). ------- Additional Comments From don@eazel.com 2001-02-21 22:01:54 ---- Re-assigning to George. ------- Additional Comments From arik@eazel.com 2001-02-24 06:48:10 ---- dedoomaging george. ------- Additional Comments From arik@eazel.com 2001-02-24 07:10:14 ---- this fix for this is in my local tree. just need to talk to mfleming because atm all anchors seem to be hosed in the webpage view. ------- Additional Comments From mikef@praxis.etla.net 2001-02-24 13:04:28 ---- Anchors are not hosed in the mozilla view! They work great! ------- Additional Comments From mikef@praxis.etla.net 2001-02-24 13:06:40 ---- Arik-- I hope you were very careful with this fix, because when I looked at the code, it seemed like the concept of the parent URI wasn't clearly maintained. Make sure links to other info files still work, etc. ------- Additional Comments From eli@eazel.com 2001-02-24 16:04:45 ---- *** Bug 46673 has been marked as a duplicate of this bug. *** ------- Additional Comments From eli@eazel.com 2001-02-24 16:06:45 ---- *** Bug 46755 has been marked as a duplicate of this bug. *** ------- Additional Comments From don@eazel.com 2001-02-28 14:10:34 ---- Arik, what's the status on this bug? Is a fix pending? What are the risks? ------- Additional Comments From arik@eazel.com 2001-02-28 19:28:02 ---- i have a fix for this on my local disk, will commit tomorrow and update the info on this one for another case. ------- Additional Comments From arik@eazel.com 2001-03-01 12:51:45 ---- if you go to info:fileutils and try to click the up in the navigation bar you will fail because dir exists inside the fileutils.tar.gz but is not the main page. ------- Additional Comments From arik@eazel.com 2001-03-01 12:54:15 ---- deresummarizing and filing a new bug at don's request ;-) to verify this bug just go to an info: page and hit a link. ------- Additional Comments From arik@eazel.com 2001-03-01 12:57:18 ---- mfleming has this patch, will be commited when he returns from lunch ------- Additional Comments From jfleck@inkstain.net 2001-03-02 22:02:01 ---- Verifying. Hour rpms: 200103021459 ------- Bug moved to this database by unknown@bugzilla.gnome.org 2001-09-09 20:58 -------