Bug 106256

Summary: htmlview should prefer GNOME or KDE browsers to X11_GENERIC
Product: [Fedora] Fedora Reporter: Behdad Esfahbod <behdad>
Component: htmlviewAssignee: Christopher Aillon <caillon>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-04-25 07:13:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Patch to cause htmlview to use browser defined by gnome-default-applications-properties none

Description Behdad Esfahbod 2003-10-04 07:50:17 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030703
Epiphany/1.0

Description of problem:
Better when htmlview detects GNOME is running, then it prefer X11BROWSERS_GNOME
to X11BROSERS_GENERIC.  Same for KDE.

BTW, better it does a better check for a GNOME session.  It completely fails in
a multi-user environment (pidof gnome-session).

Version-Release number of selected component (if applicable):
htmlview-2.0.0-10

How reproducible:
Always

Steps to Reproduce:
1. See the source.
2.
3.
    

Additional info:

Comment 1 W. Michael Petullo 2004-03-16 00:24:04 UTC
Currently (2.0.0-12), htmlview will look to see if GConf's
/desktop/gnome/url-handlers/unknown is defined.  However, when one
sets their default browser using the GNOME control center's
gnome-default-applications-properties only
/desktop/gnome/url-handlers/http gets set.  One of two things should
be changed:

1.  htmlview should be patched to read
/desktop/gnome/url-handlers/http instead of
/desktop/gnome/url-handlers/unknown (see attached patch)

- or -

2.  control-center should be patched to write the user's selected
default browser to /desktop/gnome/url-handlers/unknown (and probably
https) in addition to /desktop/gnome/url-handlers/http.

Comment 2 W. Michael Petullo 2004-03-16 00:26:31 UTC
Created attachment 98556 [details]
Patch to cause htmlview to use browser defined by gnome-default-applications-properties

Comment 3 W. Michael Petullo 2004-03-16 00:33:42 UTC
See also http://bugzilla.gnome.org/show_bug.cgi?id=123487.

Comment 4 W. Michael Petullo 2004-05-03 00:12:50 UTC
This seems to be fixed in rawhide.  From the RPM's ChangeLog:

[...]
* Fri Apr 16 2004 Warren Togami <wtogami> 2.0.0-13
 
- read http instead of unknown key
[...]

Comment 5 W. Michael Petullo 2004-06-25 19:24:13 UTC
Could the submitter of this bug test the rawhide htmlview package to
see if this bug is fixed?  I think this bug should be closed (see
comment #4).