[kmail2] [Bug 377150] New: Use real attachment's file name when opening an attachment

Geert Janssens bugzilla_noreply at kde.org
Fri Mar 3 08:57:22 GMT 2017


https://bugs.kde.org/show_bug.cgi?id=377150

            Bug ID: 377150
           Summary: Use real attachment's file name when opening an
                    attachment
           Product: kmail2
           Version: 5.3.3
          Platform: Fedora RPMs
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: commands and actions
          Assignee: kdepim-bugs at kde.org
          Reporter: info at kobaltwit.be
  Target Milestone: ---

When opening an attachment directly from the mail, it is saved to /tmp first
with a name like "messageviewer_<randomid>.pdf", and so that's the name that
also will be used by the application opening the attachment.

This behaviour has changed recently. Before the temporary name was the actual
name of the attachment, optionally with a number appended to it if the original
name already existed in the tmp folder.

The new behaviour is rather inconvenient because the file name often has
meaning. Some examples of the issues this generic naming brings with it:

- the name of the attachment you see in the e-mail has no link any more with
the name of the file that is open. So it's hard to link back the open file to
an e-mail. This gets more increasingly hard as you open more attachments from
different e-mails.

- when opening multiple attachments it is no longer evident from the taskbar
which file is which because they are all named 'messageviewer_xyz.ext'
Switching files from the taskbar after several are open has become a hit and
miss.

- when you have opened an attachment, you may decide to resave it (to a
location other than tmp) directly from the application that is used to open the
attachment (libreoffice or okular for example). You typically do this by using
"Save as". However the proposed name in that dialog is now
'messageviewer_xyz.ext' rather than the much more descriptive name the
attachment originally had in the mail.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list