[Bug 1996927] [NEW] [SRU] Nautilus send mail not working

Launchpad Bug Tracker 1996927 at bugs.launchpad.net
Thu Jun 27 16:41:38 UTC 2024


You have been subscribed to a public bug by Ubuntu Foundations Team Bug Bot (crichton):

Impact
------
nautilus-sendto is installed by default in Noble but it is not being used in nautilus since nautilus dropped the code that used the extension[1] in favor use the xdg-desktop-portal interface instead.

The issue is that the portal can’t be used to attach files to
thunderbird because  the desktop portal constructs an mailto: url with
an attachment= but thunderbird upstream explicitly decided to not allow
adding files from an URL for security reasons. As such, when the user
tries the "Email" button in the file context menu of Nautilus,
Thunderbird launches without any attached file.

Check also bug report on Nautilus[2] and rejected special casing for
Thunderbird on the portal[3].

[1] https://gitlab.gnome.org/GNOME/nautilus/-/commit/57be6b74
[2] https://gitlab.gnome.org/GNOME/nautilus/-/issues/2431
[3] https://github.com/flatpak/xdg-desktop-portal-gtk/pull/447

Test plan
---------
*Ensure that nautilus-sendto is installed.
*Set Thunderbird as the default mail client if it is not already.
*Open Nautilus.
*Select a single or a number of files.
*Right click on the selection.
*Click "email".

Expected: A Thunderbird email composition window opens and the selected
files are listed as attachments at the bottom of the window.

Regression potential
--------------------
The original logic must remain unaltered for the case nautilus-sendto is not installed.

Original report
---------------
Hi,
After upgrade   from   22.04 to 22.10  Send an attached file   to email from nautilus  is not working anymore.
Menu sendmail ( courriel in french)  appears  when i  right click  on file ,  then thunderbird  appears   but without   the attachement  . It was working very well with previous releases .
regards
Yanick

ProblemType: Bug
DistroRelease: Ubuntu 22.10
Package: nautilus 1:43.0-1ubuntu1
ProcVersionSignature: Ubuntu 5.19.0-23.24-generic 5.19.7
Uname: Linux 5.19.0-23-generic x86_64
ApportVersion: 2.23.1-0ubuntu3
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Thu Nov 17 18:42:19 2022
InstallationDate: Installed on 2021-10-16 (397 days ago)
InstallationMedia: Ubuntu 21.10 "Impish Indri" - Release amd64 (20211012)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=fr_FR.UTF-8
 SHELL=/bin/bash
SourcePackage: nautilus
UpgradeStatus: No upgrade log present (probably fresh install)
usr_lib_nautilus:
 file-roller                       43.0-1
 nautilus-extension-gnome-terminal 3.46.2-1ubuntu1
 nautilus-image-converter          0.4.0-2
 python3-nautilus                  4.0-1

** Affects: nautilus
     Importance: Unknown
         Status: New

** Affects: nautilus (Ubuntu)
     Importance: Low
     Assignee: Nathan Teodosio (nteodosio)
         Status: Fix Committed

** Affects: nautilus (Ubuntu Noble)
     Importance: Low
     Assignee: Nathan Teodosio (nteodosio)
         Status: New


** Tags: amd64 apport-bug kinetic patch wayland-session
-- 
[SRU] Nautilus send mail not working
https://bugs.launchpad.net/bugs/1996927
You received this bug notification because you are a member of Ubuntu Sponsors, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list