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

NEW
Unassigned

Status

5 years ago
5 years ago

People

(Reporter: info, Unassigned)

Tracking

Trunk
x86_64
Linux

Details

(Reporter)

Description

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