Bug 297559 - Allow dragged tasks to be dropped anywhere into the list of tasks in the Scheduled Task Presentation
Summary: Allow dragged tasks to be dropped anywhere into the list of tasks in the Sche...
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: 3.5   Edit
Assignee: Sam Davis CLA
QA Contact:
URL:
Whiteboard:
Keywords: bugday, contributed, helpwanted
Depends on:
Blocks:
 
Reported: 2009-12-11 03:08 EST by Jörg Thönnes CLA
Modified: 2011-01-13 23:31 EST (History)
1 user (show)

See Also:


Attachments
Patch to set the date when dragging between tasks in scheduled presentation. (3.42 KB, patch)
2010-09-24 18:17 EDT, Sam Davis CLA
steffen.pingel: iplog+
Details | Diff
mylyn/context/zip (111.29 KB, application/octet-stream)
2010-09-24 18:18 EDT, Sam Davis CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jörg Thönnes CLA 2009-12-11 03:08:06 EST
In the Scheduled Task Presentation I would like to drop dragged task anywhere into the list.

E.g.

bc. 
[-] Monday
    Task 1
------------------
    Task 2
    Task 3
    Task 4
[+] Tuesday
[+] Wednesday
[+] Thursday
[+] Friday
[-] This Week
    Task X
    Task Y
------------------

Here I would like to drag and drop Task Y to the "Monday". But since the "Monday" element is out of 
my visible area (indicated by the "@----@ "), I have to scroll before.

Much simple would it to just drop the task anywhere between Task 3 and Task 4 above.

Since the sorting is done by the presentation, the exact position would not care here.

-- Configuration Details --
Product: Eclipse 1.2.1.20090812-1036 (org.eclipse.epp.package.jee.product)
Installed Features:
 org.eclipse.mylyn_feature 3.3.1.I20091126-2200-e3x
Comment 1 Steffen Pingel CLA 2009-12-11 14:42:07 EST
+1 Sounds like a good idea an simple to do.
Comment 2 Sam Davis CLA 2010-09-24 18:17:58 EDT
Created attachment 179550 [details]
Patch to set the date when dragging between tasks in scheduled presentation.

This replaces the old behaviour of setting the category when dragging between tasks, if the scheduled presentation is displayed. This does not clear the scheduled date when dragging next to an unscheduled task; probably it would be good to do that only if the target task is displayed in the Unscheduled bin.
Comment 3 Sam Davis CLA 2010-09-24 18:18:02 EDT
Created attachment 179551 [details]
mylyn/context/zip
Comment 4 Steffen Pingel CLA 2010-09-27 13:43:47 EDT
Thanks Sam. The patch looks great! I have applied it to head. The only minor modification I made is to remove the null check, seems find to unschedule tasks as well.
Comment 5 Sam Davis CLA 2010-09-27 15:06:18 EDT
I was thinking the user wouldn't expect a task to be unscheduled when they drag it to Incoming, but I guess they shouldn't drag it to Incoming anyway.