GNOME Bugzilla – Bug 207728
copying/moving contacts between address fields does not work properly
Last modified: 2013-09-10 14:03:40 UTC
* Description of Problem: When you copy a bunch of names (which have been selected from the contact book) between address fields (To, CC, BCC), the underlining is lost and it appears that the addresses are no longer associated with these names. The behaviour is also (in addition to the loss of underlining) reflected in the the fact that right-clicking on the names produces a different menu than that which appears when the names are underlined. Clicking on the first drop-down item (which appears when right-clicking on the non-underlined names) does not appear to re-select the name from the address book. * Steps to reproduce the problem: 1. Select several names into the "To" field from the contact list via auto-completion, or directly from the contact list via clicking on [To] button, etc. 2. Right-click on one of the names, notice the menu that appears. 3. Cut and paste these names into another field, for example "BCC". I used Ctrl-X, [Tab][Tab], Ctrl-V 4. Note that the names are no longer underlined. 5. Right-click on one of the names; notice that the menu is different than in step (2). 6. Try sending the message. An error will be returned. * Actual Results: Contact Names copied/moved between fields lose their associated e-mail addresses. Thhey are no longer treated as contacts; they are only names. The message may not be sent. * Expected Results: The user should be able to copy or move underlined names (names of contacts recognized by evo) between To, CC, and BCC (and perhaps Reply-To) fields without any problem. * How often does this happen? Always. * Additional Information: I am using 0816 build BTW, why does a name appear in the drop-down for names that are not at all known to Evo? I can type "joe shmoe" and then right click on "joe shmoe" and "joe shmoe" is at the top of the drop-down. There is no "joe shmoe" in my addressbook :) I would prefer if an option such as "look up in contact list" showed up, or better yet, a list of closely matched names, if any.
*** bug 210142 has been marked as a duplicate of this bug. ***
Is this really 1.0? There isn't any significant loss of functionality that I can think of here. (I mean, the address still shows up in the other field and can still be used, right?) OTOH, trow, you've got different time pressures than the rest of us so please feel free to return this to 1.0. I'm just saying I've got a hard time seeing it.
/me re-reads reeti's dup /me realises he is a moron /me returns to 1.0
A few thoughts: I agree that this is a problem. Unfortunately, fixing this is somewhere between "fairly tricky" and "moderately difficult" Since the mailer now complains about invalid addresses, at least Evo doesn't silently send mail in a totally broken fashion if Joe-Shmoe-as-a-link gets cut&pasted into Joe-Shmoe-as-plain-text. I'm going to go ahead and leave this as a 1.0 bug for now, but with the awareness that it might slip to 1.1 or beyond.
Another thought: Upon reflection, a reasonably good approximation of a fix for this bug turns out to be possible. I've committed changes that should properly 'complete' a cut&pasted address in almost all cases. It isn't 100% perfect, but should definitely be good enough. I love it when hard things turn out to not be so hard after all. :)
Rock on! That's the spirit I like to see! Good job figuring out an-almost perfect fix. I look forward to trying it out with the next snapshot. Thanks!!!
Eric: Enthusiastic users like you make working on Evolution fun. Thanks!
Any time. Thank YOU (sorry for the spam, Louie).
Don't worry... Louie loves getting bugzilla spam. :-)
sorry guys, it just doesn't work any more with 1.1.0.99, 07-21 snap (and the two snaps before)
this is totally NOT a mailer bug. We have 0 control over those addressbook entries.
Copying a name or list of names out of the To: field should copy them as First Last <mail@example.com>, rather than merely as First Last, even when they're from the address book. This would fix this bug and act as a workaround for with bug 231033.
Tentatively putting on 1.2.2 list so maybe we can at least get the old behavior back...
*** bug 229533 has been marked as a duplicate of this bug. ***
*** bug 242297 has been marked as a duplicate of this bug. ***
Retargetting
[bugday] Verifying this bug still is valid in 1.5.9.2.
*** bug 251554 has been marked as a duplicate of this bug. ***
still valid in evolution-2.2.0.0.200503210410-0.snap.ximian.10.1, retargetting to 2.3.
*** bug 272682 has been marked as a duplicate of this bug. ***
Reassigning bugs that no longer belong to me.
still valid in 2.4.0, retargetting
*** Bug 339098 has been marked as a duplicate of this bug. ***
removing old target milestone. shortening the summary a bit.
Im on this for 2.9.x. I really miss this.
Created attachment 114177 [details] [review] proposed eds patch for evolution-data-server; Hi Srag, how is it going? ;) This patch does it as suggested in comment #12. Always cut/copy whole address from the selector entry, thus paste will be correct address. Use middle-click to paste just a selected portion of the text in the widget.
Looks great. If I just try to copy a few chars also, it copies the entire string. Worse, if I cut three chars out of a contact, it cuts the entire contact. Hmm, Milan, I think you can limit it to entire contact string copy/cut IMO.
Created attachment 115483 [details] [review] proposed eds patch ][ for evolution-data-server; if and only if whole autocompleted address is selected, then even the email address is copied/cut.
Test and Commit. (I didnt test this version of the patch)
Committed to trunk. Committed revision 9272. As far as I tested it in time of creation this patch, it satisfied your needs.
*** Bug 506024 has been marked as a duplicate of this bug. ***
Hi All, may I ask which is going to be the first version including ht fix ? TIA, Chris
hmmm, it was a trunk, a ~month ago, say in 2.23.92 for sure.
Christian, Evolution 2.24 (OpenSUSE 11.1)