After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 596066 - GIMP/File/Send by Email should use xdg-email
GIMP/File/Send by Email should use xdg-email
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: Plugins
2.6.6
Other All
: Low enhancement
: 2.10
Assigned To: Jehan
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2009-09-23 11:31 UTC by Max
Modified: 2016-05-27 19:55 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Max 2009-09-23 11:31:02 UTC
It would be nice, if this plug-in will put GIMP file as attachment in default e-mail client.
The command to use instead could be something like:
xdg-email --attach <filename>

Thanks,
Maxim
Comment 1 Sven Neumann 2009-09-23 19:30:38 UTC
That has already been discussed on the mailing-list. Please do not file enhancement requests here but look at the list archives and bring up your suggestions there if they have not yet been raised.
Comment 2 Sven Neumann 2009-09-23 19:36:02 UTC
Probably easy enough to become a gnome-love bug...
Comment 3 Jehan 2013-10-01 10:05:14 UTC
We often want to share images. Would be nice indeed to have this feature integrated to trigger the mail client from inside GIMP. I'll have a look at some point.
Comment 4 Michael Schumacher 2016-05-25 08:08:07 UTC
Jehan, did you work on that bug? 

Otherwise we should move it back to the NEW state, as ASSIGNED might keep some people from working on it or raise false expectations.
Comment 5 Jehan 2016-05-25 11:17:09 UTC
I did start, but I obviously did not finish and can't even remember why. Must be in a locale branch or a stash somewhere. Anyway you are right, I'll set to NEW. If someone wants to implement this faster than me, be my guest! :-)
Comment 6 Jehan 2016-05-27 19:54:14 UTC
Well I found the old branch and it was actually nearly finished. No idea why I never finished the last details (probably got sidetracked at the time).

Anyway pushed. This has been made as a runtime dependency so that it will show up only if GIMP finds it when starting (just like darktable).
The old sendmail implementation is still available and functional with --with-sendmail (replacing xdg-email).

commit 05f7726eab4e23fde5e604f0d2571ffbaec498af
Author: Jehan <jehan@girinstud.io>
Date:   Fri May 27 20:50:35 2016 +0200

    plug-ins: xdg-email is a runtime dependency.

commit 8c4d03ada8a575afc5dc2dbc144cb23fe8e77468
Author: Jehan <jehan@girinstud.io>
Date:   Mon Oct 21 23:41:41 2013 +1300

    plug-ins: email plugin brought back from the dead.
    
    By default, it will now use xdg-email to select the user's preferred
    email client, which means it only works on platforms with xdg-email.
    The sendmail implementation is still available if requested explicitly
    with --with-sendmail.