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 341627 - Yelp's info: method does not default to a man page when no info page is available
Yelp's info: method does not default to a man page when no info page is avail...
Status: RESOLVED FIXED
Product: yelp
Classification: Applications
Component: Info Pages
2.15.x
Other Linux
: Normal enhancement
: ---
Assigned To: Yelp maintainers
Yelp maintainers
Depends on:
Blocks:
 
 
Reported: 2006-05-13 13:08 UTC by Sebastien Bacher
Modified: 2006-05-23 11:50 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description Sebastien Bacher 2006-05-13 13:08:00 UTC
That bug has been opened on https://launchpad.net/distros/ubuntu/+source/yelp/+bug/44492

"Yelp has got two very nice shortcuts to view man (ALT+F2 man:<manpage>) or info (ALT+F2 info:<infopage>) pages.

However, when calling the info: method (ALT+F2 info:<infopage>), if the <infopage> does not exist, yelp complains quite correctly with the message:

"The Uniform Resource Identifier ‘info:<infopage>’ is invalid or does not point to an actual file."

but it does not try to find and load an alternative <manpage>.

IMHO it would be nice if yelp's info: method mirrored the behaviour of the GNU info reader, whereby if no info page is provided for an application, it then tries to load its man page if present.

Steps to reproduce:

1. Press ALT+F2, type info:ls

2. The message "Could not load document. The Uniform Resource Identifier ‘info:ls’ is invalid or does not point to an actual file.", because the ls application in ubuntu does not provide an info page.

3. Press ALT+F2, type man:ls, and see yelp load the manpage for ls.

4. Now it can be seen that ls has a manpage, but yelp does not try to open it if the info page is not present.

5. Optionally, open a terminal instance and type 'info ls'

6. See that the GNU info reader has loaded the man page for ls after not finding its info page."
Comment 1 Don Scorgie 2006-05-23 11:50:41 UTC
Change made and committed to HEAD.  Closing.

2006-05-23  Don Scorgie  <dscorgie@cvs.gnome.org>

	* src/yelp-utils.c: 
	If an info file doesn't exist, default to showing the man page
	Fixes bug #341627