Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 320106

Summary: Confirming removal of items on form editors in unnecessary
Product: [Technology] Tigerstripe Reporter: Navid Mehregani <nmehrega>
Component: UIAssignee: Project Inbox <tigerstripe.ui-inbox>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: chrhartl, valentin
Version: unspecified   
Target Milestone: 0.5M0   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Navid Mehregani CLA 2010-07-16 09:47:54 EDT
Build Identifier: 

This is more of an annoyance than a defect.  When something is removed from form editors (e.g. Stereotypes in a Profile editor), a "yes or no" dialog box pops up confirming the users action.  This can get annoying when user wants to remove multiple elements (especially if list doesn't allow for multi-select). 

I think the dialog confirmation is unnecessary since user doesn't have to save his/her changes.  If something is accidentally removed, user can close the editor and not save his/her changes.

Reproducible: Always
Comment 1 Chris Hartley CLA 2010-07-18 20:37:19 EDT
I'm not sure here.

I think a power user find this annoying but a new user might find it comforting.

Perhaps it should be a Tigerstripe Preference checkbox.

"Confirm Stereotype Deletions - X"


Similarly for attribute, enum literal and method deletions, for which the same argument applies (when done via the form) :

"Confirm Attribute Deletions - X"

"Confirm Literal Deletions - X"

"Confirm Method Deletions - X"
Comment 2 Navid Mehregani CLA 2010-07-18 21:46:19 EDT
(In reply to comment #1)
> I'm not sure here.
> 
> I think a power user find this annoying but a new user might find it
> comforting.
> 
> Perhaps it should be a Tigerstripe Preference checkbox.
> 
> "Confirm Stereotype Deletions - X"
> 
> 
> Similarly for attribute, enum literal and method deletions, for which the same
> argument applies (when done via the form) :
> 
> "Confirm Attribute Deletions - X"
> 
> "Confirm Literal Deletions - X"
> 
> "Confirm Method Deletions - X"


By having these preference options, we can also have a "Don't remind me again" option on the confirmation dialog that pops up.  This way we can enable the corresponding preference option automatically when the user selects this and clicks on 'Yes'.
Comment 3 Chris Hartley CLA 2010-07-18 21:48:21 EDT
Navid, an excellent idea !!
Comment 4 Valentin Yerastov CLA 2012-02-04 08:37:58 EST
Done. I've added an appropriate section in preferences under general point.
Comment 5 Navid Mehregani CLA 2012-02-10 17:27:29 EST
Verified. Thanks!!