Bug 404664 - Show warning message when user removes a child expression of enhanced expression group
Summary: Show warning message when user removes a child expression of enhanced express...
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug-dsf-gdb (show other bugs)
Version: Next   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-01 08:24 EDT by Abeer Bagul CLA
Modified: 2020-09-04 15:22 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Abeer Bagul CLA 2013-04-01 08:24:19 EDT
When user creates an enhanced expression group, e.g 
i; j; k;
and expands this group, he can select an individual child expression "i". On the context menu of the child expression, if user selects menuitem "Remove", it removes the entire enhanced expression. 
This might not be the user's intention, he might have wanted to remove the selected child expression from the enhanced expression. The right way to do it is to edit the enhanced expression string itself.
We should open a confirmation message dialog when user clicks the Remove menuitem on a child expression:
Title: Remove enhanced expression?
Question: This will remove the enhanced expression:
<entire enhanced expression>
and all its children. Are you sure?

This confirmation dialog can be suppressable so we can show the checkbox "Do not ask me again".