| Summary: | [Project Explorer] Issue when deleting of model | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Modeling] Papyrus | Reporter: | Sébastien Gérard <sebastien.gerard> | ||||
| Component: | Views | Assignee: | Camille Letavernier <cletavernier> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | mathieu.velten | ||||
| Version: | 0.8.0 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Sébastien Gérard
Current behavior (0.10.X): file deletion is always possible without warning, even if editors are open. Editor is not closed, but the user is notified about resource deletion when he enters the editor. Textual editors are closed, when their underlying resource is deleted (or the project in which they are defined is closed!). In addition, there is a check before deletion if editors with unsaved changes are open (no warning, if they are just open), as shown in the attachment For a consistent behavior with textual editors, Papyrus should behave in the same way as textual editors. Created attachment 228564 [details]
Dialog that is shown when the user tries to delete a file that is opened by the default texteditor (and has unsaved changes)
Since Kepler SR0, the related editors are automatically closed if the files are deleted, unless there are unsaved changes, in which cases there is a user warning. I close this task |