After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 46756 - Clicking on anchor links in info: pages causes the page to reload
Clicking on anchor links in info: pages causes the page to reload
Status: VERIFIED FIXED
Product: nautilus
Classification: Core
Component: [obsolete] Help System
0.x.x [obsolete]
Other Linux
: Normal normal
: ---
Assigned To: arik devens
Nautilus Maintainers
: 46673 46755 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2001-02-18 18:36 UTC by Michael Fleming
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Michael Fleming 2001-09-10 00:58:01 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 -------