We could potentially use the the following implementation:

When building the list of right-click-menu actions, we currently check
for the signature content type. If we find it, we disable the
delete/detach attachment actions.

A suggested enhanced implementation, with a minimal UI change, could do
the following:

When we detect the signature content-type, we change the wording of the menu 
command to
"remove message signature and delete/detach".

When the user selects that, the simplest implementation could do a two-phase 
action.
In a first step, we transform the message content-type. I'd suggest to go 
through all of the message, and replace all content-types that start with 
multipart/signed with multipart/mixed (reusing the suggested stragegy from the 
earlier comments).

I think it would be sufficient to simply leave the additional attributes
in place.

So the first step loads the message, changes the content-type everywhere in the 
message, the replaces the message in storage.
Then, as a second step, we call the existing code to delete/detatch the 
attachment.

If we can find a simple way to do step 1, this might be rather
straightforward to implement.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to thunderbird in Ubuntu.
https://bugs.launchpad.net/bugs/303140

Title:
  No more "Save all" / "detach all" / "delete all" for attachments

Status in Mozilla Thunderbird:
  Confirmed
Status in thunderbird package in Ubuntu:
  Triaged

Bug description:
  Binary package hint: thunderbird

  After receiving an email with more than one attachment, I have to 
open/detach/save them one by one, cause "Save all" / "detach all" / "delete 
all" in the GUI are not available
  This happens since version 2.0.0.18

  1) Description:    Ubuntu 8.04.1     Release:        8.04
  User-Agent: Thunderbird 2.0.0.18 (X11/20081125)
  MIME-Version: 1.0

  2) Package: Linux-Mint 5

  3) "Save all" / "detach all" / "delete all" available when right-
  klicking on an attachment

  4 )"Save all" / "detach all" / "delete all" greyed out, so not
  available

  ProblemType: Bug
  Architecture: i386
  Date: Fri Nov 28 11:34:16 2008
  DistroRelease: Ubuntu 8.04
  NonfreeKernelModules: wl fglrx
  Package: mozilla-thunderbird 2.0.0.18+nobinonly-0ubuntu0.8.04.1
  PackageArchitecture: all
  ProcEnviron:
   
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: thunderbird
  Uname: Linux 2.6.24-21-generic i686

To manage notifications about this bug go to:
https://bugs.launchpad.net/thunderbird/+bug/303140/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to