Edit and copy email to clipboard from address field
Expected behavior
if I select an email in the address field and long press on it I want to copy it into my clipboard.
Actual behavior
Nothing's copied
Steps to reproduce
- Long press on an email address
Environment
K-9 Mail version: 5.205
Android version: all
Account type (IMAP, POP3, WebDAV/Exchange): All
Are you talking about the message composition screen or the message view screen?
The composition Screen.
I used to use this a lot in the version before: Added another recipient just to get the email in the suggested auto completions. Cut out the email and pasted it in the text.
This is not possible any more.
Hi, if the issue is not yet resolved i would like to work on it...
It should also be possible to edit the name before sending. For example I have some contacts in my list, that prepend an "AAA" or "ZZZ" to have them at the start or end of my contacts, but I would like to edit the name before sending, so the receipient doesn't see this name in the arriving email.
Hi, I have been working on this issue and have submitted a pull request. The email address is copied to clip board when a recipient is long clicked. A confirmation toast is also shown. #2393 is the PR. For allowing a user to edit the name, how should this be done? When a recipient is clicked, a popup is shown below it, with some information. The name currently appears to be of form "Name (TypeOfContact)" eg "Dave (Work)". Should an EditText be placed in the popup to allow editing this whole name?
Long-press is not a solution, cause that will be used to initiate drag and drop mode.
Maybe a solution would be that when you enter the TO field and hit backspace until you "touch" the last email receipient, that moment the email-box will transform back to plain text and you can start editing it
Hi , I have been working on this issue and I implemented it. PR is #2445 Please let me know if I could upon improve it. Cheers.
Error fixed at Issue#2364 (#2445)
Like suggested by @philipwhiuk in #2445 I think this functionality should be reachable via a copy icon in the dropdown, not long-press.
This would be great! I just noticed the problem and I see it has already been reported.
Copying via long press works in recent versions, but it copies an adress like
firstname lastname <[email protected]>,
(with a space at the end)
and hereby failes on pasting that copied value directly to to/cc/bcc
see https://github.com/k9mail/k-9/issues/5747#issuecomment-1091173670
This is even worse now in v5.807, if you start typing the name of a contact and select it, then longpress it and cut it out, k9 crashes.
See my Screencast: https://next.eclabs.de/s/mAABHdXk36S9MBZ
I'm having trouble pasting anything at all between TO and CC etc. fields. If I copy an adress from TO , ai can't paste it to CC for example. Pasting to message body works. 6.6.03
What about adding a "Copy" icon next to "Add to existing contact icon"? (see redboxes in screenshot) My guess is that "Copy email address" existed in the dropdown menu is somehow unknown. Also IMHO, copy is perhaps more important than add to existing contact icon?
Use case
- I would assume most people would rather like to quickly copy email addresses rather then add to addressbook.
Caveats
- May be long email addresses would hinder the UI looks
@tinacla: This issue is about the screen to compose a message, not about the screen to view a message.