Open Bug 876253 Opened 11 years ago Updated 2 years ago

When calendar only supports tasks mouse cannot be used to change task dates

Categories

(Calendar :: Calendar Frontend, defect)

x86_64
Linux
defect

Tracking

(Not tracked)

People

(Reporter: info, Unassigned)

Details

When a calendar provider only supports tasks and no events it is not possible to move/drag the visible tasks with the mouse to a new time or day.

It is also not possible to change the entryDate or dueDate by dragging the start or end markers.

The code which is prohibiting this is in ./base/content/calendar-multiday-view.xml in method startSweepingToModifyEvent:

          if (!isCalendarWritable(aOccurrence.calendar)
              || !userCanModifyItem(aOccurrence)
              || (aOccurrence.calendar instanceof Components.interfaces.calISchedulingSupport && aOccurrence.calendar.isInvitation(aOccurrence))
              || aOccurrence.calendar.getProperty("capabilities.events.supported") === false) {
              return;
          }

When a calendar only supports tasks the property capabilities.events.supported will always be false.

Is this by design? Because in the moz-storage-calendar it is possible to change tasks this way but for those calendar capabilities.events.supported is always true.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.