Bug 578501 - Undo representation deletion shows it with a grayed label on the model explorer view.
Summary: Undo representation deletion shows it with a grayed label on the model explor...
Status: NEW
Alias: None
Product: Sirius
Classification: Modeling
Component: Diagram (show other bugs)
Version: 6.6.0   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-31 21:42 EST by Steve Monnier CLA
Modified: 2022-01-31 21:46 EST (History)
0 users

See Also:


Attachments
test_578501.zip (2.55 KB, application/x-zip-compressed)
2022-01-31 21:43 EST, Steve Monnier CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Monnier CLA 2022-01-31 21:42:20 EST
Found while validating https://bugs.eclipse.org/bugs/show_bug.cgi?id=575959

After deleting a representation, the undo action will recreate it correctly, but on the model explorer its label is grayed. Closing and reopening the project fix that issue.
Comment 1 Steve Monnier CLA 2022-01-31 21:43:57 EST
Created attachment 287943 [details]
test_578501.zip
Comment 2 Steve Monnier CLA 2022-01-31 21:46:55 EST
Step to reproduce:
- Import the project from test_578501.zip
- Open both diagram
- Delete the current one
- Focus on the first diagram, now go to the Edit top menu and select "undo Delete representation"
-> The representation is recreated but its label in the Model Explorer view is grayed like it was broken. It is not, if you close and reopen the issue, the label is normal.