After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 207728 - copying/moving contacts between address fields does not work properly
copying/moving contacts between address fields does not work properly
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Contacts
2.4.x (obsolete)
Other other
: Normal normal
: ---
Assigned To: Milan Crha
Evolution QA team
: 210142 229533 242297 251554 272682 506024 (view as bug list)
Depends on:
Blocks: 327508 327510
 
 
Reported: 2001-08-20 23:07 UTC by Eric Lambart
Modified: 2013-09-10 14:03 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
proposed eds patch (4.33 KB, patch)
2008-07-08 12:50 UTC, Milan Crha
reviewed Details | Review
proposed eds patch ][ (4.50 KB, patch)
2008-07-29 10:17 UTC, Milan Crha
committed Details | Review

Description Eric Lambart 2001-08-20 23:07:29 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.
Comment 1 trow 2001-09-17 20:14:59 UTC
*** bug 210142 has been marked as a duplicate of this bug. ***
Comment 2 Luis Villa 2001-09-17 22:54:24 UTC
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. 
Comment 3 Luis Villa 2001-09-17 22:55:20 UTC
/me re-reads reeti's dup
/me realises he is a moron
/me returns to 1.0
Comment 4 trow 2001-09-20 00:24:36 UTC
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.

Comment 5 trow 2001-09-20 02:41:15 UTC
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. :)
Comment 6 Eric Lambart 2001-09-20 03:45:47 UTC
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!!!
Comment 7 trow 2001-09-20 05:10:37 UTC
Eric: Enthusiastic users like you make working on Evolution fun.  Thanks!
Comment 8 Eric Lambart 2001-09-20 05:20:51 UTC
Any time.  Thank YOU (sorry for the spam, Louie).
Comment 9 trow 2001-09-20 06:59:02 UTC
Don't worry... Louie loves getting bugzilla spam. :-)
Comment 10 Eric Lambart 2002-07-21 18:04:56 UTC
sorry guys, it just doesn't work any more with 1.1.0.99, 07-21 snap 
(and the two snaps before)
Comment 11 Jeffrey Stedfast 2002-07-23 17:45:05 UTC
this is totally NOT a mailer bug. We have 0 control over those
addressbook entries.
Comment 12 David Turner 2002-09-23 17:31:07 UTC
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.
Comment 13 Ettore Perazzoli 2003-01-08 16:19:31 UTC
Tentatively putting on 1.2.2 list so maybe we can at least get the old
behavior back...
Comment 14 Richard Zach 2003-06-20 22:18:46 UTC
*** bug 229533 has been marked as a duplicate of this bug. ***
Comment 15 Richard Zach 2003-06-20 22:21:09 UTC
*** bug 242297 has been marked as a duplicate of this bug. ***
Comment 16 Gerardo Marin 2003-11-23 21:11:47 UTC
Retargetting
Comment 17 Karsten Bräckelmann 2004-06-17 19:00:06 UTC
[bugday] Verifying this bug still is valid in 1.5.9.2.
Comment 18 Karsten Bräckelmann 2004-06-17 21:54:39 UTC
*** bug 251554 has been marked as a duplicate of this bug. ***
Comment 19 André Klapper 2005-03-23 16:25:09 UTC
still valid in evolution-2.2.0.0.200503210410-0.snap.ximian.10.1,
retargetting to 2.3.
Comment 20 Sivaiah 2005-03-30 11:44:09 UTC
*** bug 272682 has been marked as a duplicate of this bug. ***
Comment 21 Hans Petter Jansson 2005-08-01 18:34:22 UTC
Reassigning bugs that no longer belong to me.
Comment 22 André Klapper 2005-09-13 14:39:44 UTC
still valid in 2.4.0, retargetting
Comment 23 André Klapper 2006-06-08 09:01:15 UTC
*** Bug 339098 has been marked as a duplicate of this bug. ***
Comment 24 André Klapper 2006-06-18 12:05:48 UTC
removing old target milestone.
shortening the summary a bit.
Comment 25 Srinivasa Ragavan 2006-08-23 04:42:45 UTC
Im on this for 2.9.x. I really miss this.
Comment 26 Milan Crha 2008-07-08 12:50:53 UTC
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.
Comment 27 Srinivasa Ragavan 2008-07-27 19:01:13 UTC
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.
Comment 28 Milan Crha 2008-07-29 10:17:39 UTC
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.
Comment 29 Srinivasa Ragavan 2008-08-06 03:29:00 UTC
Test and  Commit. (I didnt test this version of the patch)
Comment 30 Milan Crha 2008-08-06 08:25:17 UTC
Committed to trunk. Committed revision 9272.

As far as I tested it in time of creation this patch, it satisfied your needs.
Comment 31 Milan Crha 2008-08-26 14:47:32 UTC
*** Bug 506024 has been marked as a duplicate of this bug. ***
Comment 32 Christian 2008-09-12 08:59:34 UTC
Hi All, may I ask which is going to be the first version including ht fix ? 

TIA, 

    Chris
Comment 33 Milan Crha 2008-09-12 09:16:26 UTC
hmmm, it was a trunk, a ~month ago, say in 2.23.92 for sure.
Comment 34 Srinivasa Ragavan 2008-09-12 12:39:45 UTC
Christian,

Evolution 2.24 (OpenSUSE 11.1)