Closed Bug 23332 Opened 25 years ago Closed 11 years ago

context menu for attached files when composing

Categories

(MailNews Core :: Composition, enhancement, P3)

enhancement

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 911037
Future

People

(Reporter: bugzilla, Unassigned)

Details

(Keywords: helpwanted)

When composing, it should be possible to right-click on a attach file to "remove
attached file" and to see the "properties" of the file.

The properties should include:
- full name of the file (Bug 23331)
- file size
- content-type
- other stuff...?
Yes, right now, the context menus are not yet working in mail.
Assignee: phil → ducarroz
Reassign to ducarroz
Status: NEW → ASSIGNED
Target Milestone: M15
QA Contact: lchiang → pmock
Mass moving to M16 to get these off the M15 radar.  Please let me know if this
is really an M15 stopper.
Target Milestone: M15 → M16
This would be a cool feature, but I don't think this is an M16 stopper.
Severity: normal → enhancement
Target Milestone: M16 → M20
moving to future milestone for review for a later product release
Target Milestone: M20 → Future
Does the dialog exist?
Keywords: helpwanted, ui
OS: Windows 98 → All
Hardware: PC → All
Whiteboard: [need info]
Currently the context menu does *not* exist and has never existed!
This bug is about the creation of such a context menu....
I don't care about the menu, I write menus. I asked about the dialog. If it 
exists, I would gladly write the menu.
I dont understand what you mean then....
Which dialog are you speaking about?
sorry 
~The properties should include:~ To me that means dialog.
Yes, I think "properties" means a dialog.  But, that dialog doesn't exist in the 
product since this is an enhancement that Henrik wants :-)
I think the property dialog would be a useful feature not only in composing but 
when displaying a message.  It would be nice to know how large the file will be 
before you actually trying saving it, say to a floppy disk.

The property dialog previously existed on Communicator 4 win32 and linux.
Whiteboard: [need info]
Adding mail3 keyword.
Keywords: mail3
changing component.
Component: Mail Window Front End → Composition
marking nsbeta1-.
Keywords: nsbeta1-
Summary: Right-clicking on a attached file when composing → context menu for attached files when composing
over to varada
Assignee: ducarroz → varada
Status: ASSIGNED → NEW
If there are xpcom calls that the dialog can call, I'd be happy to do the ui for
this.  I definately think you should be able to unatttach an attached file.

From what I can tell, there would need to be backend functions such as:
- getFileSize()
- getContentType()
- removeFileFromAttachments(fileReference)

I can make a simple context menu with these options:
|-------------------|
| Delete attachment |
|-------------------|
| Properties...     |
|-------------------|

"Delete attachment" would have a confirm dialog stating the name of the file.
"Properties..." would launch the dialog mentioned above.

The dialog could look like this:
|--------------------------------------------------------|
| File Properties...                                     |
|--------------------------------------------------------|
| Filename:  MyFile.txt                                  |
| Location:  file:///home/colinp/myFolder/myFile.txt     |
| File Size: 100 kb                                      |
| File Type: text/blah                                   |
|--------------------------------------------------------|
|                                                | OK |  |
|--------------------------------------------------------|
*** Bug 142739 has been marked as a duplicate of this bug. ***
taking all of varada's bugs.
Assignee: varada → sspitzer
there should also be the ability to "Open" the attachment, related to bug 182121
*** Bug 195702 has been marked as a duplicate of this bug. ***
Product: MailNews → Core
https://addons.mozilla.org/quicksearch.php?q=attachment+size&section=E

This might help shed some light by how one extension attempts to solve part of
this problem.
sorry for the spam.  making bugzilla reflect reality as I'm not working on these bugs.  filter on FOOBARCHEESE to remove these in bulk.
Assignee: sspitzer → nobody
Filter on "Nobody_NScomTLD_20080620"
QA Contact: pmock → composition
Product: Core → MailNews Core
This bug is in a bad / non-actionable state. Parts of the original request are already implemented in TB3, the summary does not match description, therefore lots of outdated and non-relevant comments that try to clarify the bug.

-> This bug should be closed and what's left to be done should be combined into a fresh followup bug (something like "implement properties dialogue for attachments (view/edit attachment properties like File Name, File Size, Content Type, Location)". Alternatively (not recommended), tweak this bug's summary to morph it.
(In reply to Thomas D. from comment #27)
> This bug is in a bad / non-actionable state. Parts of the original request
> are already implemented in TB3, the summary does not match description,
> therefore lots of outdated and non-relevant comments that try to clarify the
> bug.
> 
> -> This bug should be closed and what's left to be done should be combined
> into a fresh followup bug (something like "implement properties dialogue for
> attachments (view/edit attachment properties like File Name, File Size,
> Content Type, Location)". Alternatively (not recommended), tweak this bug's
> summary to morph it.

Per comment 27, filed followup bug for the remainder of this bug:

Bug 911037 - Implement "File Properties" Dialogue for composition's attachment context menu
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.