This is different to the old bug.  Prior to the recent change to xdg-
email, simple scan "send by email" was working fine.

I think that the problem is because xdg-email assembles command line
arguments such as -attach to form a mailto: URL and passes that to
run_thunderbird, which recently got changed to drop the attachment field
from the mailto: url (I think on the assumption that the mailto: url
could only come from a browser click).

The proper fix would probably be to break any command line mailto: URL
down into component parts and drop any "attach" argument before
reassembling as today, and reinstate the code removed in the recent
change.

In the above simple-scan bug report I added a patch which just
reinstated the original code but only if the caller is not
Chrome/Chromium as those are the only browsers in question in my
environment (Firefox appears to call Thunderbird directly).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1909941

Title:
  xdg-email changes break simple-scan email functionality

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xdg-utils/+bug/1909941/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to