Public bug reported:

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.

** Affects: yelp (Ubuntu)
       Severity: Normal
       Priority: (none set)
         Status: Unconfirmed

-- 
Yelp's info: method does not default to a man page when no info page is 
available
https://launchpad.net/bugs/44492

--
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to