Bug 497775

Summary: nautilus-sendto doesn't provides thunderbird entry, mail agent still remains Evolution
Product: [Fedora] Fedora Reporter: Axel <axel.azerty>
Component: nautilus-sendtoAssignee: Bastien Nocera <bnocera>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: bnocera, stickster
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-04-27 13:23:44 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Axel 2009-04-27 07:44:50 UTC
Description of problem:
When defining Thunderbird as the default mail agent (from the gnome control center), nautilus-sendto doesn't provides a thunderbird entry in the menu. It still remains to Evolution as the mail agent. Switching back to evolution then back to thunderbird doesn't work either.


Version-Release number of selected component (if applicable):
nautilus-sendto-1.1.4.1-1.fc11.i586
nautilus-2.26.2-2.fc11.i586
evolution-2.26.1-2.fc11.i586
thunderbird-3.0-2.1.beta2.fc11.i586

How reproducible:
Always

Steps to Reproduce:
1. Install thunderbird and nautilus-sendto
2. Open a nautilus window
3. Right click on a file, select "Send to" item

  
Actual results:
No "thunderbird" item is displayed in the menu. An Evolution item is still available.

Expected results:
Evolution item is replaced by thunderbird item.

Additional info:

Comment 1 Axel 2009-04-27 08:12:01 UTC
From the command line, nautilus-sendto launched twice : 

[axel@axel-asus ~]$ nautilus-sendto ~/foo 
Init removable-devices plugin
Init empathy plugin
** (nautilus-sendto:2611): DEBUG: check_for_accounts: No enabled accounts
Init pidgin plugin
Init evolution plugin
Init nautilus burn plugin

[axel@axel-asus ~]$ nautilus-sendto ~/foo 
Init removable-devices plugin
Init empathy plugin
** (nautilus-sendto:2617): DEBUG: check_for_accounts: No enabled accounts
Init pidgin plugin
Init evolution plugin
Init nautilus burn plugin

Comment 2 Axel 2009-04-27 08:12:44 UTC
2 imap accounts are set up in thunderbird.

Comment 3 Bastien Nocera 2009-04-27 08:56:15 UTC
(In reply to comment #0)
> Description of problem:
> When defining Thunderbird as the default mail agent (from the gnome control
> center), nautilus-sendto doesn't provides a thunderbird entry in the menu. It
> still remains to Evolution as the mail agent. Switching back to evolution then
> back to thunderbird doesn't work either.

nautilus-sendto won't show a separate entry for each installed e-mail client.

Care to explain what "doesn't work"?

Comment 4 Axel 2009-04-27 09:04:46 UTC
I first thought as a mis-defined preference, so I tried to set it again to thunderbird. The entry just remains as "Mail (Evolution)". Using this entry opens evolution.

Comment 5 Bastien Nocera 2009-04-27 09:12:33 UTC
What's the output of:
cat ~/.local/share/applications/preferred-mail-reader.desktop
and
gconftool-2 -g /desktop/gnome/url-handlers/mailto/command

Comment 6 Axel 2009-04-27 09:23:43 UTC
[axel@axel-asus ~]$ cat ~/.local/share/applications/preferred-mail-reader.desktop

[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=Thunderbird Email
GenericName=Email
Comment=Send and Receive Email
Exec=thunderbird
Icon=thunderbird
Terminal=false
Type=Application
StartupWMClass=Thunderbird-bin
X-Desktop-File-Install-Version=0.15
Categories=Email;Network;
X-Panel-Monitor=true
NoDisplay=true

[axel@axel-asus ~]$ gconftool-2 -g /desktop/gnome/url-handlers/mailto/command
thunderbird %s

Comment 7 Axel 2009-04-27 09:28:27 UTC
I don't know if it's related, but I first used evolution, then I switched to thunderbird. Evolution mail accounts have been deleted though.

Comment 8 Bastien Nocera 2009-04-27 09:49:51 UTC
It works fine here:

$ nautilus-sendto Makefile
Init nautilus burn plugin
Init removable-devices plugin
Init evolution plugin
Init pidgin plugin

** Message: Mailer type: 4
** Message: Command: thunderbird -compose to="Sébastien Aime <saime>",attachment='file:///home/hadess/Projects/Cvs/nautilus-sendto/src/Makefile'

What's the full output of nautilus-sendto when you reproduce the problem? Or are you still under the impression that the "Evolution" entry won't open Thunderbird?

Comment 9 Axel 2009-04-27 09:59:16 UTC
[axel@axel-asus ~]$ nautilus-sendto ~/foo 
Init removable-devices plugin
Init empathy plugin
** (nautilus-sendto:4066): DEBUG: check_for_accounts: No enabled accounts
Init pidgin plugin
Init evolution plugin
Init nautilus burn plugin
** Message: Mailer type: 4
** Message: Command: thunderbird -compose to="axel.azerty",attachment='file:///home/axel/foo'

Indeed, a thunderbird mail composing window is opened.
The last time I launched it, evolution started (the evolution first run wizard in fact, since no accounts where defined)

I feel a bit like someone who reports a bug which isn't one :(
Anyway the label of the entry menu is "Mail (Evolution)".
Really sorry for the time loss.

Comment 10 Bastien Nocera 2009-04-27 13:23:44 UTC
I've removed the "(Evolution)" bit of the string in the upstream plugin. It will be in the next release of nautilus-sendto, and make it into rawhide shortly.

This should clear the confusion...