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

Bug 137497

Summary: improve save lifecycle for new local tasks
Product: z_Archived Reporter: Eugene Kuleshov <ekuleshov>
Component: MylynAssignee: Steffen Pingel <steffen.pingel>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: mik.kersten, rolf, steffen.pingel
Version: unspecified   
Target Milestone: 3.1   
Hardware: PC   
OS: Windows All   
Whiteboard:
Attachments:
Description Flags
screenshot
none
mylyn/context/zip none

Description Eugene Kuleshov CLA 2006-04-19 10:33:22 EDT
If I click on a new local task icon it is quickly open new editor and immediately create am empty task. It should only create new task when editor is closed with confirming Save or Save action is called on that editor.

PS: Please add Mylar versions 5.0 and above to the Bugzilla... Perhaps "latest dev" version is also makes sense
Comment 1 Mik Kersten CLA 2006-04-19 18:35:53 EDT
Bugzilla versions of 0.5 and dev added.

Rob, supporting this mode, which I agree is better, will require us to be able to edit tasks that have not yet been edited to the list.  It is related to the common editor and to bug 131038.
Comment 2 Eugene Kuleshov CLA 2006-07-20 09:29:14 EDT
What is the status/progress of this issue?
Comment 3 Robert Elves CLA 2006-07-20 14:03:30 EDT
This depends on comment#7 on bug# 138145. Do we want to have a new editor opening or should the task just be created in place in the tasklist with the current rename action? What are your thoughts on this Eugene? Mik?
Comment 4 Eugene Kuleshov CLA 2006-07-20 15:34:09 EDT
(In reply to comment #3)
> This depends on comment#7 on bug# 138145. Do we want to have a new editor
> opening or should the task just be created in place in the tasklist with the
> current rename action? What are your thoughts on this Eugene? Mik?

I was orignally leaning towards opening editor, but after looking at Jazz's planning editor it seems to me that not opening editor for local tasks is probably better idea. Though they should not be added to the task list if user hit escape even after entering some text.

BTW, it would be interesting feature to be able to promote/convert local tasks to repository.
Comment 5 Robert Elves CLA 2006-07-28 15:59:43 EDT
So now that local tasks no loger bring up the editor can we mark this 'worksforme'?
Comment 6 Mik Kersten CLA 2006-07-28 16:18:41 EDT
Rob removing opening after creation and it was too confusing, especially when creating tasks via the File -> New menu.  Also, it is consistent with file creation, but that alone is not a good enough reason to keep it.  So let's reconsider this decision at some point and leave it open for now.  We also need to consider Eugene's suggestion of not 'saving' the task until it has first been saved, but that may mean complicating things by allowing the task list to show unsaved tasks.

Ability to promote is something I've wanted for a long time, created bug 152211
Comment 7 Mik Kersten CLA 2006-07-28 16:19:36 EDT
Ooops, didn't mean to close this yet.
Comment 8 Robert Elves CLA 2008-09-24 01:41:33 EDT
To date we've taken an alternate approach (with repository tasks) of giving the user an X to delete the new task.  Once local task editor is merged with the repository task editor, Steffen, do you see the interaction being what it currently is for repository tasks (i.e. task will get created but will have a perpetual X)? Or do with go with the more traditional creation upon first save?
Comment 9 Steffen Pingel CLA 2008-09-24 01:46:14 EDT
The X has been working well for me for unsubmitted repository tasks so I am +1 to also use it for local tasks. It would also make it consistent with unsubmitted tasks.
Comment 10 Mik Kersten CLA 2008-10-01 23:46:29 EDT
+1 
Comment 11 Steffen Pingel CLA 2008-10-06 23:52:25 EDT
*** Bug 227126 has been marked as a duplicate of this bug. ***
Comment 12 Steffen Pingel CLA 2008-10-11 01:01:24 EDT
Created attachment 114864 [details]
screenshot
Comment 13 Steffen Pingel CLA 2008-10-11 01:02:01 EDT
The delete button has been added to the local task editor (see attachment or bootstrap).
Comment 14 Steffen Pingel CLA 2008-10-11 01:02:25 EDT
Created attachment 114865 [details]
mylyn/context/zip