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 210781 - Wrong OK/Cancel behavior in vfolder editor
Wrong OK/Cancel behavior in vfolder editor
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Mailer
pre-1.5 (obsolete)
Other All
: Normal major
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
Depends on:
Blocks: 216096
 
 
Reported: 2001-09-24 19:25 UTC by Ettore Perazzoli
Modified: 2013-09-10 14:02 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
a fix (44.34 KB, patch)
2002-07-10 09:35 UTC, Not Zed
none Details | Review

Description Ettore Perazzoli 2001-09-24 19:25:56 UTC
Please fill in this template when reporting a bug, unless you know what you
are doing.
Description of Problem:
Changes to the vfolder list become effective before clicking OK.

Steps to reproduce the problem:
1. Activate vfolder editor
2. Remove a vfolder

Actual Results:
The vfolder gets removed from the vfolder node in the tree view immediately.

Expected Results:
The vfolder should get removed from the vfolder node in the tree view when
the user clicks OK.  If the user clicks "Cancel", nothing should happen.

Alternatively, we should remove the "OK" and "Cancel" buttons and only have
a "Close" button, like the in the account editor.
Comment 1 Anna Marie Dirks 2001-09-24 21:16:17 UTC
My vote is for the "nothing happens until you hit OK" behavior.

The advantage that this has over the other possibility that
you propose (simply having a close button which closes the
dialog when the user is done deleting folders) is that it
gives the user 1) a sense of safety (nothing is going to be done
until they give the OK and 2) a chance to change her mind between
selecting the vFolder and closing the dialog. 

Another possiblity is to rename the button "Delete" or "Delete
vFolders". as the macintosh human interface guideline tells us
(p 206) "Whenever possible, name a button with a verb that describes
the action that it performs." 

and further (p 207) "A user typically reads the text in a dialog box
until it becomes familiar and then relies on visual cues, such as
button names and positions, to respond. Names such as Save, Quit, and
Erase Disk allow users to identify and click the correct button
quickly. These words are often more clear and precise than names such
as OK, Yes and No." 

So that's my 2cents.
Comment 2 Ettore Perazzoli 2001-09-24 21:21:31 UTC
I agree, although it contrasts with what we have in the account
editor.  (This inconsistency is something we might want to look at
after 1.0.)
Comment 3 Not Zed 2001-09-25 03:14:55 UTC
I vote for the 'only have a close button'.

The other one is a lot harder to implement, but certainly possible.

It doesn't delete vfolders, it deletes a single vfolder, "delete
vfolders" would be gramatically incorrect.

Anyway the ui is frozen, and lets see, we've had how long to figure
out the button names?  It was one of the first ui elements written.

(i'm not referring to the immediate-update behaviour, which has changed).
Comment 4 Luis Villa 2001-09-29 19:34:16 UTC
Marking as 1.0 to make sure this doesn't slip through the cracks.
Comment 5 Ettore Perazzoli 2001-10-02 20:35:13 UTC
I am pretty sure we had the ok/cancel behavior implemented already in
the early days though...  And it was changed recently, introducing
this inconsistency.
Comment 6 Not Zed 2001-10-19 01:34:42 UTC
Yeah it was, but the code changed.  Like a lot.
Comment 7 Not Zed 2001-10-29 21:32:05 UTC
I've removed the cancel button.

There's preliminary code that undoes the changes with a cancel button
that can be enabled with

EVOLUTION_RULE_UNDO=1

But it doesn't entirely work yet.

Marking 1.1

Although apoarently teh whole filter dialogue is fucked and is
supposed to need rewriting anyway so who cares?
Comment 8 Luis Villa 2001-11-26 17:04:03 UTC
Because of the decision to remap 1.1->1.2 and 1.2->1.4, I'm going to be
moving a large number of bugs around in the bugzilla. You can just
search on 'body contains' 'Because of the decision to remap' and mark
all as read. Please direct all questions about this change to
evolution@ximian.com, not the bug.
Luis

Comment 9 Not Zed 2002-07-10 09:35:01 UTC
Created attachment 41340 [details] [review]
a fix
Comment 10 Gerardo Marin 2002-07-10 15:58:18 UTC
Adding patch keyword
Comment 11 Not Zed 2002-07-16 01:58:28 UTC
applied