Open Bug 718252 Opened 12 years ago Updated 2 years ago

Implement inline editing for renaming attachments when composing

Categories

(Thunderbird :: Message Compose Window, enhancement)

enhancement

Tracking

(Not tracked)

People

(Reporter: squib, Unassigned)

References

Details

Attachments

(1 file)

+++ This bug was initially created as a clone of Bug #526998 +++

We should allow inline editing of attachment names in the compose window instead of opening a dialog box. I have a WIP patch for this, which I'll clean up and post sometime soon (hopefully).
Attached patch WIP patchSplinter Review
How about this? It probably doesn't work quite right on anything but Linux, since I haven't given other themes the proper CSS, but that should be easy.
Attachment #648973 - Flags: ui-review?(bwinton)
Attachment #648973 - Flags: feedback?(mconley)
Comment on attachment 648973 [details] [diff] [review]
WIP patch

Only tested on Linux, but I'm loving it!  ui-r=me!

Thanks,
Blake.
Attachment #648973 - Flags: ui-review?(bwinton) → ui-review+
Comment on attachment 648973 [details] [diff] [review]
WIP patch

Review of attachment 648973 [details] [diff] [review]:
-----------------------------------------------------------------

This looks good to me.

What happens to Filelinks? I guess we can't really support renaming them once they're already uploaded? That'd mean a deletion and a re-upload if the storage API doesn't support renaming. :/

::: mail/base/content/mailWidgets.xml
@@ +484,5 @@
>        ]]></handler>
>      </handlers>
>    </binding>
>  
> +  <binding id="attachmentitemediting" extends="chrome://messenger/content/mailWidgets.xml#attachmentitem">

attachmentitemediting is pretty hard to read. Can we use attachmentitem-editing instead?
Attachment #648973 - Flags: feedback?(mconley) → feedback+
Squib, can you finish this up?
Flags: needinfo?(squibblyflabbetydoo)
Shouldn't be too hard to finish up. I'll try to get to it before, say... December? Things have been getting ever-so-slightly less busy for me, so I'm hoping I can get some more of my WIP TB patches landed.
Flags: needinfo?(squibblyflabbetydoo)
Unassigning myself to let other folks work on this if they want.
Assignee: squibblyflabbetydoo → nobody
Status: ASSIGNED → NEW

Bug 1319052 has recently done something similar for inline renaming of address book items in the tree.

See Also: → 1319052
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: