<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>65128</bug_id>
          
          <creation_ts>2004-09-23 13:05 0000</creation_ts>
          <short_desc>mozilla-launcher-1.16 does not handle mailto links properly for mozilla-thunderbird-0.8</short_desc>
          <delta_ts>2004-09-28 18:41:46 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>altstadt@telus.net</reporter>
          <assigned_to>mozilla@gentoo.org</assigned_to>
          <cc>dju@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>altstadt@telus.net</who>
            <bug_when>2004-09-23 13:05:09 0000</bug_when>
            <thetext>Before upgrading Thunderbird and Firefox, mailto links in Firefox would open up a compose window in an already running copy of Thunderbird.

After upgrading to mozilla-thunderbird-0.8 and mozilla-firefox-1.0_pre, mailto links open up a Choose User Profile dialog in Thunderbird. When you click on the Start Thunderbird button without making any changes, Thunderbird pops up another dialog that complains that the default profile is already in use. I.e. mozilla-launcher-1.16 did not recognize the already running copy of mozilla-thunderbird-0.8.


Reproducible: Always
Steps to Reproduce:
Add the line:
user_pref(&quot;network.protocol-handler.app.mailto&quot;, &quot;/usr/bin/thunderbird&quot;);
to the file ~/.mozilla/firefox/default.*/user.js.

Add the line:
user_pref(&quot;network.protocol-handler.app.http&quot;, &quot;/usr/bin/firefox&quot;);
to the file ~/.thunderbird/default.*/user.js.

Start Thunderbird and Firefox. Then click on a mailto link in Firefox. A dialog box opens to choose a user profile. A compose window was not opened.

This can also be seen from the command line. Shut down all running copies of Thunderbird and Firefox, then open up three xterms. Run firefox in the first xterm -&gt; it says &quot;No running windows found&quot; and a firefox window opens. Run firefox in the second xterm -&gt; nothing shows up in the xterm and a second firefox window opens. Close the second firefox window. Run thunderbird in the second xterm -&gt; it says &quot;No running windows found&quot; and a thunderbird window opens. Run thunderbird in the third xterm -&gt; it says &quot;No running windows found&quot; but a dialog box opens that requests a profile as before.

Actual Results:  
A dialog box opens.

Expected Results:  
A compose window should have opened.

Portage 2.0.50-r11 (default-x86-1.4, gcc-3.3.4, glibc-2.3.3.20040420-r1,
2.4.26-gentoo-r9)
=================================================================
System uname: 2.4.26-gentoo-r9 i686 AMD Athlon(tm) XP 1700+
Gentoo Base System version 1.4.16
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS=&quot;x86&quot;
AUTOCLEAN=&quot;yes&quot;
CFLAGS=&quot;-O3 -march=athlon-xp -funroll-loops -pipe&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
COMPILER=&quot;&quot;
CONFIG_PROTECT=&quot;/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/env.d&quot;
CXXFLAGS=&quot;-O3 -march=athlon-xp -funroll-loops -pipe&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoaddcvs ccache distcc sandbox&quot;
GENTOO_MIRRORS=&quot;http://128.213.5.34/gentoo/ http://cudlug.cudenver.edu/gentoo/
http://gentoo.noved.org/ http://mirror.tucdemonic.org/gentoo/
http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo&quot;
MAKEOPTS=&quot;-j4&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;3dnow X alsa apache2 apm arts avi berkdb bitmap-fonts bonobo cdr cjk crypt
cups curl dga directfb doc dvd emacs encode esd ethereal fastcgi fbcon
foomaticdb gb gd gdbm gif gnome gpm gtk gtk2 gtkhtml guile imap imlib innodb
java jpeg kde libg++ libwww mad maildir mikmod mmx motif mozilla mpeg mysql
ncurses nls odbc ofx oggvorbis opengl oss pam pda pdflib perl png python qt
quicktime quotes readline samba sasl sdl slang slp spell sse ssl svga tcltk tcpd
tetex tiff truetype unicode usb wmf x86 xml xml2 xmms xprint xv zeo zlib&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>agriffis@gentoo.org</who>
            <bug_when>2004-09-27 16:45:01 0000</bug_when>
            <thetext>*** Bug 65601 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>agriffis@gentoo.org</who>
            <bug_when>2004-09-27 16:47:17 0000</bug_when>
            <thetext>Should be fixed in mozilla-launcher-1.19.  Please test and reopen this bug if there is still a problem.

Thanks for reporting. :-)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>altstadt@telus.net</who>
            <bug_when>2004-09-27 20:01:38 0000</bug_when>
            <thetext>emerged and tested. It works fine. Thanks.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dju@gentoo.org</who>
            <bug_when>2004-09-28 03:28:49 0000</bug_when>
            <thetext>as thunderbird-0.8 sets (by registering itself as the default mail application) and uses the /desktop/gnome/url-handlers/mailto gconf key (which value is /usr/lib/MozillaThunderbird/thunderbird &quot;%s&quot;), /usr/bin/thunderbird isn&apos;t used and the already existing instance of thunderbird isn&apos;t detected when i click on a mailto link from firefox-1.0pr. tested with mozilla-launcher-1.20. can something be done here?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>agriffis@gentoo.org</who>
            <bug_when>2004-09-28 18:41:46 0000</bug_when>
            <thetext>dju, that is a different issue.  Please open a new bug</thetext>
          </long_desc>
      
    </bug>

</bugzilla>