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 233669 - Empty card can be created!
Empty card can be created!
Status: RESOLVED DUPLICATE of bug 258056
Product: evolution
Classification: Applications
Component: Contacts
1.5.x (obsolete)
Other All
: Normal minor
: ---
Assigned To: evolution-addressbook-maintainers
Evolution QA team
Depends on:
Blocks: 258118
 
 
Reported: 2002-11-12 04:33 UTC by Sean Gao
Modified: 2013-09-10 14:03 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
proposed patch (1.50 KB, patch)
2002-11-12 04:36 UTC, Sean Gao
none Details | Review

Description Sean Gao 2002-11-12 04:33:45 UTC
Please fill in this template when reporting a bug, unless you know what you
are doing.
Description of Problem:
When I try to create a card, I find the "save and close" button is disable
at first and will turn to be enabled if some content are added into the
card. It is a good idea to prevent empty card be created. I find, however,
if I input something first and then delete all (for correcting error or so)
the button will not turn back to disabled. 
I compare it with the contact list editor dialog, and find the later is
better for taking more into account. When new a contact list, it uses "List
Name" field as the necessary item, thus if it is empty, the save and close
bottun is disabled. 


Steps to reproduce the problem:
1. Open the "Contacts" view.
2. Click to set focus on a card, then try "Ctrl-X" or "DEL"
3. 

Actual Results:
No response

Expected Results:
The hot keys should work as defined. 

How often does this happen? 
Always

Additional Information:

This problem still exists in 1.2 release.
Comment 1 Sean Gao 2002-11-12 04:36:56 UTC
Created attachment 41717 [details] [review]
proposed patch
Comment 2 Sean Gao 2002-11-12 04:41:32 UTC
Sorry for mistakes in description. Here is the correct version


Steps to reproduce the problem:
1. Click to open the "New Contact" dialog box
2. Input something in any field and then delete all
3. 

Actual Results:
The 'Save and Close" button become enalbed and will not switch back
to disable even when all input is deleted

Expected Results:
This button should be disable if the input is all cleared.

How often does this happen? 
Always

Comment 3 Sean Gao 2002-11-12 04:55:00 UTC
This bug is still in 1.2.0 release. Thus I write a patch based on the
consideration in the contact list editor. The patch checks if the name
or e-mail is added before setting the "save and close" button status,
of course we can choose any other fields as "necessary" items for a
card, but personally I think these 2 fields are most important ...

Any idea? 
Comment 4 Gerardo Marin 2004-01-25 17:17:25 UTC
Still valid in 1.5
Comment 5 André Klapper 2004-05-14 00:12:40 UTC

*** This bug has been marked as a duplicate of 258056 ***