Bug 106256 - htmlview should prefer GNOME or KDE browsers to X11_GENERIC
Summary: htmlview should prefer GNOME or KDE browsers to X11_GENERIC
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: htmlview
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Christopher Aillon
QA Contact:
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-10-04 07:50 UTC by Behdad Esfahbod
Modified: 2007-11-30 22:10 UTC (History)
0 users

(edit)
Clone Of:
(edit)
Last Closed: 2005-04-25 07:13:13 UTC


Attachments (Terms of Use)
Patch to cause htmlview to use browser defined by gnome-default-applications-properties (544 bytes, patch)
2004-03-16 00:26 UTC, W. Michael Petullo
no flags Details | Diff

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@redhat.com> 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).


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