Bug 684546 - Release notes desktop files rely on extinct htmlview
Summary: Release notes desktop files rely on extinct htmlview
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: fedora-release-notes
Version: 15
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: John J. McDonough
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-13 11:52 UTC by Panu Matilainen
Modified: 2013-01-10 06:31 UTC (History)
7 users (show)

Fixed In Version: fedora-release-notes-14.96.1-2.fc15
Clone Of:
Environment:
Last Closed: 2011-04-15 21:20:31 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Panu Matilainen 2011-03-13 11:52:15 UTC
Description of problem:
Release notes desktop files use htmlview helper which no longer exists.

How reproducible:
Always

Steps to Reproduce:
1. Try to open release notes from the documentation menu
  
Actual results:
Error dialog:

Failed to execute command "htmlview /usr/share/doc/HTML/fedora-release-notes/index.html".

Expected results:
Release notes opened in browser window.

Additional info:

In F <= 14, xdg-utils contained /usr/bin/htmlview but as of F15 it's gone. The release notes desktop files need to be updated to use xdg-open or such instead of htmlview.

Comment 1 John J. McDonough 2011-03-13 13:16:05 UTC
Since xdg-open does not work properly for docs, it sounds like we will need to resurrect htmlview or otherwise provide the functionality.

Comment 2 John J. McDonough 2011-03-13 13:41:38 UTC
It looks like between Fedora 12 and Fedora 13 xdg-open changed to include the htmlview functionality, and htmlview was changed to a script that calls xdg-open, so there should be no problem using xdg-open.

Comment 3 Panu Matilainen 2011-03-13 13:43:50 UTC
Yup, I was just about to ask what exactly the problem with xdg-open, as "xdg-open file:///usr/share/doc/HTML/fedora-release-notes/index.html" seems to do just the right thing.

Comment 4 John J. McDonough 2011-03-13 14:22:39 UTC
In Fedora 12 and earlier, xdg-open chose the user's preferred application rather than browser for a file:// URL, so you would get to enjoy the release notes in emacs or vi instead of seamonkey or galeon.  We actually used xdg-open way back when before we noticed the application/browser discrepancy.

I still need to test on the other desktops.  Seems like there may have been an issue with other desktops, too, but that was back around Fedora 10 so the memory is a tad fuzzy.

Comment 5 Paul W. Frields 2011-03-26 19:17:39 UTC
I'm going to reassign this to John McD to make sure it's tracked properly for release.  I'm not sure where these commands are inserted any longer, but agree with all that we should be using xdg-open for this.

Comment 6 Fedora Update System 2011-04-09 20:08:56 UTC
fedora-release-notes-14.96.1-2.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/fedora-release-notes-14.96.1-2.fc15

Comment 7 Fedora Update System 2011-04-10 01:45:05 UTC
Package fedora-release-notes-14.96.1-2.fc15:
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing fedora-release-notes-14.96.1-2.fc15'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/fedora-release-notes-14.96.1-2.fc15
then log in and leave karma (feedback).

Comment 8 Fedora Admin XMLRPC Client 2011-04-12 19:14:19 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 9 Fedora Update System 2011-04-15 21:20:21 UTC
fedora-release-notes-14.96.1-2.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.