Closed Bug 1738376 Opened 3 years ago Closed 3 years ago

Today pane still displays events added by the server even if calendar is hidden.

Categories

(Calendar :: Calendar Frontend, defect)

defect

Tracking

(thunderbird_esr91 unaffected)

RESOLVED FIXED
95 Branch
Tracking Status
thunderbird_esr91 --- unaffected

People

(Reporter: lasana, Assigned: darktrojan)

Details

Attachments

(2 files)

Attached image pane.png —

STR

  1. Receive an invitation in an inbox you have a remote calendar configured for.
  2. Click the eyeball icon to hide that calendar.
  3. Open the email and wait for the server to automatically add it. Do not add it yourself.

Expected
You should not see the event until you click the eyeball.

Actual
The event appears without remorse.

See attached screenshot. Things work as they should when you toggle the visibility again. Might be something wrong after the query that does the syncing.

Hmm, good point. I thought I had that covered but just by looking at the code I can tell I didn't.

Assignee: nobody → geoff
Status: NEW → ASSIGNED

When a calendar is hidden but not disabled, synchronisation could cause items to be added or modified. These changes should be ignored by the agenda.

Better?

Flags: needinfo?(lasana)

(In reply to Geoff Lankow (:darktrojan) from comment #3)

Better?
Much better!

Flags: needinfo?(lasana)

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/f5237b2b2924
Make the agenda ignore changes in hidden calendars. r=mkmelin

Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 95 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: