Topic: mailto in firefox opening claws-mail, unexpected socket dir location
Hello Remi!
I'm talking here in the name of the Claws Mail developers team,
and as a happy user of the firefox packages you're making for
fedora/centos for a long time!
Some Claws Mail users are reporting that clicking a mailto: link within
firefox (18 at least) on Fedora 17/18 and CentOS6 will open a *second*
instance of Claws Mail, whereas it's capable of keeping a single
instance only.
Of course, in order to reproduce this (I do), you need to have Claws
Mail installed, either from yum or from the sources. And Claws Mail set
as default program in mailto settings in firefox, or in GNOME preferred
applications prefs (didn't try in KDE/etc.).
The issue is that Claws Mail by default creates its communication
socket in /tmp (/tmp/claws-mail-$UID). Any instance of Claws Mail
started by firefox will create its communication socket dir
in /var/tmp/claws-mail-$UID. In such situation, both instances won't
find each other and the single instance checking function will fail,
Claws Mail will open a second time.
Is there a good reason why /var/tmp is used when Claws Mail opens from
firefox? Is there a bad practice to default to /tmp? Any idea how or
where this could be fixed? This behaviour seemed to happen since
recently at least it's been a time it was not there.