Open Bug 1727685 Opened 3 years ago Updated 3 years ago

Calendar does not refresh after adding the events to calendar programatically

Categories

(Calendar :: General, defect)

Thunderbird 91
defect

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: desuvinaykumar, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.159 Safari/537.36

Steps to reproduce:

Using the calendar manager, a new calendar is created. For the newly created calendar events has been added programatically.

Actual results:

The newly added events should appear in the calendar

Expected results:

The newly added events doesn't appear in the calendar direclty, if i click on the next month/week/day button then the calendar gets refreshed and events are visible.
Tried using the refresh function of calendar but no use.

Severity: -- → S1
OS: Unspecified → All
Priority: -- → P1
Hardware: Unspecified → All

(In reply to desuvinaykumar from comment #0)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.159 Safari/537.36

Steps to reproduce:

Using the calendar manager, a new calendar is created. For the newly created calendar events has been added programatically.

Actual results:

The newly added events doesn't appear in the calendar direclty, if i click on the next month/week/day button then the calendar gets refreshed and events are visible.
Tried using the refresh function of calendar but no use.

Expected results:

The newly added events should appear in the calendar

Severity: S1 → --
Component: Untriaged → General
Priority: P1 → --
Product: Thunderbird → Calendar

What do you mean by "events has been added programatically"? Does that mean you did not facilitate the user interface to create the events?

Flags: needinfo?(desuvinaykumar)

I have an UI in add-on, but the events are added using the lightning calendar api function adoptItem. In the earlier version of thunderbird 78.x, it was working fine. In the new version the same code doesn't update the UI instantly, but if i change the month of calendar then it is getting displayed.

Flags: needinfo?(desuvinaykumar)
You need to log in before you can comment on or make changes to this bug.