Closed Bug 1795176 Opened 2 years ago Closed 2 years ago

`Today` highlighting in Month view does not update when the date changes at midnight

Categories

(Calendar :: Calendar Frontend, defect)

Thunderbird 102
defect

Tracking

(thunderbird_esr102 fixed, thunderbird107 fixed)

RESOLVED FIXED
108 Branch
Tracking Status
thunderbird_esr102 --- fixed
thunderbird107 --- fixed

People

(Reporter: thomas8, Assigned: darktrojan)

References

(Regression)

Details

(Keywords: access, regression)

Attachments

(1 file)

See https://support.mozilla.org/en-US/questions/1392559

Seen on 102.3.3 (and already seen in 102.3.0), 64bit, Win11.
Alice, is this a regression as the support ticket seems to suggest?

STR

  • Calendar, choose Month view (important, seems to work in other views).
  • Set system clock to 23:59 on current day
  • Observe today highlighting and try Go to today after date changes at midnight to next day

Actual

  • Today highlighting (blue color etc.) does not move to the new day after midnight, i.e. wrong/stale day is presented as Today
  • Go to Today also fails to update Today highlighting.

Expected

  • Update Today highlighting after midnight
  • Go to Today must go to the new current date.
Flags: needinfo?(alice0775)

Alex, this is pretty odd. Afasics only restarting TB will update Today in Month view.

Severity: -- → S3
Flags: needinfo?(alessandro)
Keywords: dupeme

(In reply to Thomas D. (:thomas8) from comment #0)

Actual

  • Today highlighting (blue color etc.) does not move to the new day after midnight, i.e. wrong/stale day is presented as Today

Reproduced in Thunderbird 102.3.2.
And reproduced even in Thunderbird 78.0beta1 , 102.0beta1 as well as Daily 107.0a1(20221013103729). ---> this seems NOT A REGRESSION

  • Go to Today also fails to update Today highlighting.

WORKS FOR ME in Thunderbird 102.3.2 as well as Daily 107.0a1(20221013103729).

Flags: needinfo?(alice0775)

This works for me.

The timer that runs it logs if calendar.debug.log and calendar.debug.log.verbose are on. You can also run CalMetronome.on("minute", console.log) in the console to see if it's working or "day" instead of "minute" to see the daily event if you expect it. Time is not designed to run backwards so if you change the system clock backwards the timer will break.

I can't seem to reproduce this issue either.

Flags: needinfo?(alessandro)

I finally figured out what caused this. Still duping this bug to the older one.

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → DUPLICATE

Actually, not that one.

Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Assignee: nobody → geoff
Status: REOPENED → ASSIGNED

It's probably bug 1753558 that caused it. Seems like a good enough scapegoat.

Keywords: dupemeregression
Regressed by: 1753558

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/1a09aa855dbb
Ensure that the 'today' box is updated in the month view. r=freaktechnik

Status: ASSIGNED → RESOLVED
Closed: 2 years ago2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 108 Branch

Comment on attachment 9298728 [details]
Bug 1795176 - Ensure that the 'today' box is updated in the month view. r=#thunderbird-front-end-reviewers

[Approval Request Comment]
Regression caused by (bug #): probably bug 1753558? who knows
User impact if declined: day marked as today doesn't move in the month view
Testing completed (on c-c, etc.): landed this week
Risk to taking this patch (and alternatives if risky): low

Attachment #9298728 - Flags: approval-comm-esr102?
Attachment #9298728 - Flags: approval-comm-beta?

Comment on attachment 9298728 [details]
Bug 1795176 - Ensure that the 'today' box is updated in the month view. r=#thunderbird-front-end-reviewers

[Triage Comment]
Approved for beta

Attachment #9298728 - Flags: approval-comm-beta? → approval-comm-beta+
See Also: → 1589023
See Also: → 1797294

Comment on attachment 9298728 [details]
Bug 1795176 - Ensure that the 'today' box is updated in the month view. r=#thunderbird-front-end-reviewers

[Triage Comment]
Approved for esr102

Attachment #9298728 - Flags: approval-comm-esr102? → approval-comm-esr102+
Duplicate of this bug: 1795256
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: