Bug 463481 - info: some links within info files not followed correctly
Summary: info: some links within info files not followed correctly
Status: RESOLVED UPSTREAM
Alias: None
Product: kio-extras
Classification: Frameworks and Libraries
Component: default (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL: info:/coreutils/Floating%20point
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-26 11:52 UTC by Christopher Yeleighton
Modified: 2022-12-27 19:41 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher Yeleighton 2022-12-26 11:52:57 UTC
SUMMARY
A hyperlink placed on the info page "COREUTILS: Floating point" gets interpreted as an internal link.


STEPS TO REPRODUCE
1. Follow the hyperlink "(libc)Parsing of Floats".

OBSERVED RESULT
Error
 The Info node (libc)parsing of floats in Info file /usr/share/info/coreutils.info.gz does not exist.

EXPECTED RESULT
LIBC: Parsing of Floats

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: openSUSE Tumbleweed 20221224
(available in About System)
KDE Plasma Version: 5.26.4
KDE Frameworks Version: 5.101.0
Qt Version: 5.15.7

ADDITIONAL INFORMATION
Comment 1 Luigi Toscano 2022-12-26 17:11:05 UTC
As asked on IRC, does it work with the 'info' tool? I see an error when trying to click that link:

"Cannot find node 'Parsing of Floats'"

So it may be an invalid document.
Comment 2 Paul Worrall 2022-12-27 10:09:03 UTC
You need to have the glibc info documentation installed (glibc-doc on Ubuntu-based systems, glibc-info on openSUSE).  

Given that, the link can be followed using the stand-alone Gnu Info reader, but still not using the KDE Help Centre.  I therefore think this bug is valid, and should be assigned to kio-extras product which handles the parsing of info files.

The bug can be reproduced by:

         kioclient5 exec 'info:/coreutils/(libc)Parsing of Floats'

Whereas:

         kioclient5 exec 'info:/libc/Parsing of Floats'

works OK.
Comment 3 Paul Worrall 2022-12-27 12:18:58 UTC
The bug is also present in the upstream info2html.  Created a bug report there:

https://sourceforge.net/p/info2html/bugs/6/