Bug 66394 - xdg-email - no support for Mate
Summary: xdg-email - no support for Mate
Status: ASSIGNED
Alias: None
Product: Portland
Classification: Unclassified
Component: xdg-utils (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: medium normal
Assignee: Portland Bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 23105
  Show dependency treegraph
 
Reported: 2013-06-30 11:11 UTC by XELfmomrmbug
Modified: 2015-04-17 06:48 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
Patch (git diff) file against master. (867 bytes, text/plain)
2013-06-30 11:11 UTC, XELfmomrmbug
Details
Patch (diff) against 1.1.0~rc1-2ubuntu6 (464 bytes, patch)
2013-06-30 11:13 UTC, XELfmomrmbug
Details | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description XELfmomrmbug 2013-06-30 11:11:28 UTC
Created attachment 81734 [details]
Patch (git diff) file against master.

Under Linux Mint 14 xdg-email displays the default browser instead of Thunderbird. I don't see any code in the script to support with Mate.

I have implemented a quick point fix for this problem. I see that there are related bugs and discussion of proper fixes in the longer term.

I will also raise a bug on Launchpad and cross-reference the two. Sorry if I am not following the correct processes.

Platform:

$ cat /etc/lsb-release 
DISTRIB_ID=LinuxMint
DISTRIB_RELEASE=14
DISTRIB_CODENAME=nadia
DISTRIB_DESCRIPTION="Linux Mint 14 Nadia"
$
$ uname -a
Linux [SNIP] 3.5.0-17-generic #28-Ubuntu SMP Tue Oct 9 19:32:08 UTC 2012 i686 athlon i686 GNU/Linux
$

Version:

xdg-utils   1.1.0~rc1-2ubuntu6

How to replicate:
    Install "Simple Scan" in a Linux Mint 14 installation.
    Start "Simple Scan" within a Mate desktop. 
    Select Document->Email from "Simple Scan" menu. 
	   Expected Result - Thunderbird email window is opened. 
    	   Actual Result - default browser is opened 

Candidate Patches for master and  1.1.0rc1 attached.
Comment 1 XELfmomrmbug 2013-06-30 11:13:56 UTC
Created attachment 81735 [details] [review]
Patch (diff) against 1.1.0~rc1-2ubuntu6

Patch file against 1.1.0~rc1-2ubuntu6.
Comment 2 XELfmomrmbug 2013-06-30 11:29:04 UTC
Have raised downstream bug (Linux Mint) 

   https://bugs.launchpad.net/linuxmint/+bug/1196220
Comment 3 James E. LaBarre 2014-07-09 15:09:48 UTC
This is a problem in Google Chrome as well.  If you click on an email link in Chrome, it will open another Chrome window, and since I do not have it configured to use gmail in a browser, it will simply load the home page and do nothing more.

Someone devised a workaround at http://forums.bodhilinux.com/index.php?/topic/3063-solved-chromium-mailto-link-doesnt-open-on-thunderbird-xdg-email/ for getting xdg-email to respect the mail handler setting, but the next time xdg-utils gets updated it will get wiped out.  This change needs to be integrated into xdg-utils itself
Comment 4 Rex Dieter 2014-09-19 19:02:47 UTC
I *think* this should be largely taken care of as a side effect of fixing bug #79929 , implementing a check for default x-scheme-handler/mailto mime handler (and a thunderbird fallback) before resorting to browsers.

The proposed patch suggests using open_gnome (for mate), which relies on
gconftool-2 --get /desktop/gnome/url-handlers/mailto/command

Does mate really set or expect that rather than using the more modern x-scheme-handler/mailto mimetype)?
Comment 5 Rex Dieter 2015-01-03 22:14:19 UTC
ping, please give feedback on questions raised in comment #4 (else I'll close this)
Comment 6 James E. LaBarre 2015-01-05 14:34:01 UTC
will have to check this under an older system running Mate, as my current desktop is capable of handling Cinnamon.
Comment 7 Candid C 2015-04-17 06:48:54 UTC
This error is still affecting Linux Mint 17 users, clicking 'Email' in Simple Scan opens up the web browser as well as the email client, and the scanned item is NOT attached in the email window.

This affects Thunderbird, the default web browser is Firefox and there are no 3rd party repositories enabled.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.