<?xml version="1.0" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://www.thewildbeast.co.uk/claws-mail/bugzilla/bugzilla.dtd">

<bugzilla version="3.2.2"
          urlbase="http://www.thewildbeast.co.uk/claws-mail/bugzilla/"
          maintainer="paul@thewildbeast.co.uk"
>

    <bug>
          <bug_id>1940</bug_id>
          
          <creation_ts>2009-06-30 10:33</creation_ts>
          <short_desc>Doesn&apos;t open links in user&apos;s default browser</short_desc>
          <delta_ts>2009-07-14 10:10:32</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Claws Mail</product>
          <component>Other</component>
          <version>3.7.1</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <bug_file_loc>http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=534050</bug_file_loc>
          
          
          <priority>P3</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ricardo Mones">mones@users.sourceforge.net</reporter>
          <assigned_to>users@lists.claws-mail.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who name="Ricardo Mones">mones@users.sourceforge.net</who>
            <bug_when>2009-06-30 10:33:25</bug_when>
            <thetext>Quoting original submitter:
-----
I noticed that claws always opens in Epiphany regardless of what the
user has selected as their default browser (in GNOME, not sure what
happens in other DEs). This is because of the patch to always use
x-www-browser, which doesn&apos;t DTRT WRT user selected defaults. The patch
that I&apos;m attaching (which I uploaded to Ubuntu Karmic too) switches to
use xdg-open which does do the correct thing and will work across DEs
too.
-----

Using xdg-open by default would obsolete the current patch for x-www-browser (and this patch also would be unnecessary).</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who name="Colin Leroy">colin@colino.net</who>
            <bug_when>2009-06-30 10:37:54</bug_when>
            <thetext>There already is a pref &quot;Use system defaults if possible&quot; which uses xdg-open if it&apos;s in the $PATH. 

We introduced this preference in 3.2.0 (December 2007) and kept it OFF by default to avoid changing the default behaviour when users upgraded.

Maybe we could now switch in to ON by default, given that most of our users have upgraded during this year-and-a-half. I think a few default behaviour changes when upgrading 5 major versions (3.3, 3.4,3.5, 3.6, 3.7) is acceptable.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who name="">users@lists.claws-mail.org</who>
            <bug_when>2009-07-01 17:54:41</bug_when>
            <thetext>Changes related to this bug have been committed.
Please check latest CVS and update the bug accordingly.
You can also get the patch from:
http://www.colino.net/claws-mail/

2009-07-01 [colin]	3.7.1cvs84

	* src/prefs_common.c
		Fix bug 1940, &apos;Doesn&apos;t open links in 
		user&apos;s default browser&apos;. Turn the preference
		to TRUE by default; that will only change the
		behaviour for new users.</thetext>
          </long_desc>
      
      

    </bug>

</bugzilla>