Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 219665 - inconsistent schedule for ui
Summary: inconsistent schedule for ui
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: PC All
: P2 normal (vote)
Target Milestone: 3.0   Edit
Assignee: Robert Elves CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-20 14:57 EST by Eugene Kuleshov CLA
Modified: 2008-06-16 14:41 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eugene Kuleshov CLA 2008-02-20 14:57:03 EST
UI for the "schedule for" field on the Planning tab in the task editor recently introduced an extra step with a drop down between calendar widget. However "Personal Planning" section in the new task editors is still have the old UI, like this Bugzilla editor I am typing this report in. It has the calendar widget instead of drop down and also uses different date format.

It is also confusing to select "Sunday" and then see value "2008-02-24" shown in the entry field. I guess it is an attempt to push for the "work week" intervals, but it is unclear if it is actually the common use case. Personally I liked that I could see the calendar when selecting the target date.
Comment 1 Steffen Pingel CLA 2008-02-20 16:22:29 EST
Rob, assigning to you since you have been working on that before. Let's do this after the editor refactoring is complete.
Comment 2 Robert Elves CLA 2008-04-24 13:04:46 EDT
Fixed.
Comment 3 Steffen Pingel CLA 2008-04-25 23:50:33 EDT
Got this exception when I tried to open the context menu for selection of multiple JIRA tasks:

java.lang.NullPointerException
at org.eclipse.mylyn.internal.tasks.ui.ScheduleTaskMenuContributor.canSchedule(ScheduleTaskMenuContributor.java:197)
at org.eclipse.mylyn.internal.tasks.ui.ScheduleTaskMenuContributor.createDateSelectionAction(ScheduleTaskMenuContributor.java:179)
at org.eclipse.mylyn.internal.tasks.ui.ScheduleTaskMenuContributor.getSubMenuManager(ScheduleTaskMenuContributor.java:65)
at org.eclipse.mylyn.internal.tasks.ui.views.TaskListView.fillContextMenu(TaskListView.java:1148)
at org.eclipse.mylyn.internal.tasks.ui.views.TaskListView.access$19(TaskListView.java:1113)
at org.eclipse.mylyn.internal.tasks.ui.views.TaskListView$18.menuAboutToShow(TaskListView.java:1058)
at org.eclipse.jface.action.MenuManager.fireAboutToShow(MenuManager.java:335)
at org.eclipse.jface.action.MenuManager.handleAboutToShow(MenuManager.java:463)
at org.eclipse.jface.action.MenuManager.access$1(MenuManager.java:459)
at org.eclipse.jface.action.MenuManager$2.menuShown(MenuManager.java:485)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:83)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1145)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1169)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1150)
at org.eclipse.swt.widgets.Menu._setVisible(Menu.java:175)
at org.eclipse.swt.widgets.Display.runPopups(Display.java:3396)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2999)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2351)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2315)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2181)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:477)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:472)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:112)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:375)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:175)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
Comment 4 Steffen Pingel CLA 2008-04-28 05:41:26 EDT
Rob, could you take a look at TaskEditorPlanningPart? It still uses the "old" scheduling controls.
Comment 5 Mik Kersten CLA 2008-06-16 14:41:00 EDT
Fixed.