Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#24076 - [thunderbird] Exec key in Desktop Entry does not pass argument (email address) to application

Attached to Project: Arch Linux
Opened by Tilman Blumenbach (Tblue) - Tuesday, 03 May 2011, 17:43 GMT
Last edited by Ionut Biru (wonder) - Tuesday, 03 May 2011, 18:37 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Thunderbird's Desktop Entry (/usr/share/applications/thunderbird.desktop) contains the following Exec line:
Exec=thunderbird

As you see, no argument is being passed to Thunderbird. When invoking Thunderbird from other applications, e. g. in order to write an email to a certain email address, this leads to Thunderbird being opened "as usual", e. g. as if started directly without an argument (which is exactly what happens). What we want to happen is the composer to be opened in order to compose an email to the address that _should_ be passed to Thunderbird as the first argument.

Compare invoking Thunderbird with "thunderbird" to invoking it with "thunderbird mailto:foo@example.com". The latter command opens the composer, the former doesn't.

In my case, this bug prevents me from using Terminator's (a terminal emulator) context menu to compose an email to a selected email address using Thunderbird.

Additional info:
* This affects thunderbird 3.1.10-1.

Steps to reproduce:
* Get Terminator (or some other program using PyGTK's "gtk.show_uri()" method or its GTK+ equivalent in order to open URLs).
* Make sure Thunderbird is installed and set as the default mail client/mailto scheme handler (e. g. by issuing "xdg-mime default thunderbird.desktop x-scheme-handler/mailto". Restart Terminator after doing that!).
* Somehow output an email address in Terminator -- e. g. by issuing "pacman -Si thunderbird".
* Right-click on the email address and select "Send email to...".
* Watch Thunderbird being opened as if having been started directly. No composer window is opened.

Proposed solution:
Change the Exec line in Thunderbird's Desktop Entry to read:
Exec=thunderbird %u

See http://standards.freedesktop.org/desktop-entry-spec/1.0/ar01s06.html .
This task depends upon

Closed by  Ionut Biru (wonder)
Tuesday, 03 May 2011, 18:37 GMT
Reason for closing:  Fixed
Additional comments about closing:  3.1.10-2
Comment by Ionut Biru (wonder) - Tuesday, 03 May 2011, 18:05 GMT
thanks for submitting this bug. I'll fix this now and push a new version.

it makes sens to have %u and i don't know why we didn't had that until now.
Comment by Tilman Blumenbach (Tblue) - Tuesday, 03 May 2011, 18:06 GMT
Thanks for the quick reaction! :)

Loading...