| Summary: | retain dirty state of editor when refreshing automatically | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Artur Kronenberg <artur.kronenberg> |
| Component: | Mylyn | Assignee: | Project Inbox <mylyn-triaged> |
| Status: | CLOSED MOVED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | robert.elves, steffen.pingel |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | Macintosh | ||
| OS: | Mac OS X | ||
| Whiteboard: | |||
|
Description
Artur Kronenberg
The attachment dialog works independently of the task editor, i.e. outgoing changes in the editor are not submitted when attaching files. The reason is that the workflow is not embedded in the editor and hence submitting the task could perceived as an unintended side effect. Does that make sense? (In reply to comment #1) > The attachment dialog works independently of the task editor, i.e. outgoing > changes in the editor are not submitted when attaching files. The reason is > that the workflow is not embedded in the editor and hence submitting the task > could perceived as an unintended side effect. Does that make sense? If it's meant to be this way, that's fine. However, if I submit a patch and my editor was marked dirty before, after submitting, the editor is not dirty anymore. So my changes in the editor don't get submitted but simply disappear. So from my view it seems like my editor changes actually do get submitted (hence the dirty flag is gone) but they are not. (In reply to comment #2) > If it's meant to be this way, that's fine. However, if I submit a patch and my > editor was marked dirty before, after submitting, the editor is not dirty > anymore. So my changes in the editor don't get submitted but simply disappear. > So from my view it seems like my editor changes actually do get submitted (hence > the dirty flag is gone) but they are not. Thanks for pointing this out. I can see how that is unexpected. The automatic refresh after the attachment submission causes it to get saved. Unfortunately there is no simple workaround or change to address that. For now I can only recommend to check for outgoing tasks in the task list to track unsubmitted changes. I'll keep this bug open to track this problem. Fixing it would require involved changes to the task editor model so we won't be able to consider it in the short term. Mylyn has been restructured, and our issue tracking has moved to GitHub [1]. We are closing ~14K Bugzilla issues to give the new team a fresh start. If you feel that this issue is still relevant, please create a new one on GitHub. [1] https://github.com/orgs/eclipse-mylyn |