Bug#837771: gvfs-open: fails to attach file to email

2016-10-16 Thread Jason Crain
Control: unmerge -1
Control: reassign -1 icedove 1:45.2.0-1
Control: notforwarded -1
Control: retitle -1 icedove does not handle attach parameter in mailto url

On Wed, Sep 14, 2016 at 08:26:24AM -0400, Antoine Beaupré wrote:
> When I run Gnome (or at least configure my environment with
> XDG_CURRENT_DESKTOP=GNOME), xdg-email fails to send an email with an
> attachment. Usually, I can send an email with a file attached with:
> 
> xdg-email --utf8 --to anar...@example.com --subject test --body "foo"  
> --attach /etc/motd 
> 
> This starts mutt and everything works more or less correctly. But then
> with the above GNOME environment, xdg-email tries to start Icedove
> through gvfs-open. (If it was Thunderbird, mind you, it could work
> because there are special provisions for xdg-email to use Thunderbird,
> but this is Debian with its fork so that fails.)
> 
> It does this with:
> 
> gvfs-open 
> 'mailto:?to=anar...@example.com=test=foo=/etc/motd'
> 
> That starts Icedove with all fields properly populated, but no
> attachment.
> 
> It seems to me this is a bug in gvfs-open.

Sorry, I misunderstood what you were asking for when I reassigned this
to xdg.  But still it's not a bug in gvfs.  gvfs expects the mailto app
to handle the url.  It doesn't do any per application specialization
like xdg-email does, it just passes the url directly to icedove, so
icedove needs to be fixed to handle the attach parameter.



Bug#837771: gvfs-open: fails to attach file to email

2016-09-14 Thread Antoine Beaupré
Package: gvfs-bin
Version: 1.22.2-1
Severity: normal
File: /usr/bin/gvfs-open

When I run Gnome (or at least configure my environment with
XDG_CURRENT_DESKTOP=GNOME), xdg-email fails to send an email with an
attachment. Usually, I can send an email with a file attached with:

xdg-email --utf8 --to anar...@example.com --subject test --body "foo"  
--attach /etc/motd 

This starts mutt and everything works more or less correctly. But then
with the above GNOME environment, xdg-email tries to start Icedove
through gvfs-open. (If it was Thunderbird, mind you, it could work
because there are special provisions for xdg-email to use Thunderbird,
but this is Debian with its fork so that fails.)

It does this with:

gvfs-open 
'mailto:?to=anar...@example.com=test=foo=/etc/motd'

That starts Icedove with all fields properly populated, but no
attachment.

It seems to me this is a bug in gvfs-open.

I tried to look for an issue upstream but couldn't make the search
engine work here:

https://bugzilla.gnome.org/buglist.cgi?no_redirect=0=gvfs-open+attach+email

Thanks
-- System Information:
Debian Release: 8.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 
'stable'), (1, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.6.0-0.bpo.1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages gvfs-bin depends on:
ii  gvfs-common   1.22.2-1
ii  libc6 2.19-18+deb8u6
ii  libglib2.0-0  2.42.1-1+b1

gvfs-bin recommends no packages.

Versions of packages gvfs-bin suggests:
ii  gvfs  1.22.2-1

-- no debconf information