This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 137497 - improve save lifecycle for new local tasks
Summary: improve save lifecycle for new local tasks
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows All
: P3 enhancement (vote)
Target Milestone: 3.1   Edit
Assignee: Steffen Pingel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 227126 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-04-19 10:33 EDT by Eugene Kuleshov CLA
Modified: 2008-10-11 01:02 EDT (History)
3 users (show)

See Also:


Attachments
screenshot (1.08 KB, image/png)
2008-10-11 01:01 EDT, Steffen Pingel CLA
no flags Details
mylyn/context/zip (8.01 KB, application/octet-stream)
2008-10-11 01:02 EDT, Steffen Pingel CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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