Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 65128 - mozilla-launcher-1.16 does not handle mailto links properly for mozilla-thunderbird-0.8
Summary: mozilla-launcher-1.16 does not handle mailto links properly for mozilla-thund...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
: 65601 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-09-23 13:05 UTC by John Altstadt
Modified: 2004-09-28 18:41 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Altstadt 2004-09-23 13:05:09 UTC
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("network.protocol-handler.app.mailto", "/usr/bin/thunderbird");
to the file ~/.mozilla/firefox/default.*/user.js.

Add the line:
user_pref("network.protocol-handler.app.http", "/usr/bin/firefox");
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 -> it says "No running windows found" and a firefox window opens. Run firefox in the second xterm -> nothing shows up in the xterm and a second firefox window opens. Close the second firefox window. Run thunderbird in the second xterm -> it says "No running windows found" and a thunderbird window opens. Run thunderbird in the third xterm -> it says "No running windows found" 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="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-xp -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/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"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distcc sandbox"
GENTOO_MIRRORS="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"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="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"
Comment 1 Aron Griffis (RETIRED) gentoo-dev 2004-09-27 16:45:01 UTC
*** Bug 65601 has been marked as a duplicate of this bug. ***
Comment 2 Aron Griffis (RETIRED) gentoo-dev 2004-09-27 16:47:17 UTC
Should be fixed in mozilla-launcher-1.19.  Please test and reopen this bug if there is still a problem.

Thanks for reporting. :-)
Comment 3 John Altstadt 2004-09-27 20:01:38 UTC
emerged and tested. It works fine. Thanks.
Comment 4 Julien Allanos (RETIRED) gentoo-dev 2004-09-28 03:28:49 UTC
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 "%s"), /usr/bin/thunderbird isn't used and the already existing instance of thunderbird isn't detected when i click on a mailto link from firefox-1.0pr. tested with mozilla-launcher-1.20. can something be done here?
Comment 5 Aron Griffis (RETIRED) gentoo-dev 2004-09-28 18:41:46 UTC
dju, that is a different issue.  Please open a new bug