Today pane does not update when PC wakes up from sleep mode on next day
Categories
(Calendar :: Calendar Frontend, defect)
Tracking
(Not tracked)
People
(Reporter: haertl.mike, Unassigned)
References
(Blocks 1 open bug)
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36
Steps to reproduce:
I suspend my PC with thunderbird open in the evening and wake it up again the next morning.
I'm on Tunderbird 102.4.0 (64-Bit) on Linux Mint 21.
Actual results:
The today pane on the right side in thunderbird still shows yesterdays date and appointments.
So it seems that the bug https://bugzilla.mozilla.org/show_bug.cgi?id=1589023 which was fixed for some versions is now back again.
Expected results:
The current date should be shown in the today pane together with todays appointments.
Updated•2 years ago
|
Comment 1•2 years ago
•
|
||
Wfm on Windows 11, 102.4.0 (64-bit).
STR (for faster testing)
- close Thunderbird (important)
- change system time to 23:50
- start Thunderbird, show Today Pane, and check quickly that date is in sync with sys date
- hibernate OS (suspend to disk, not sleep - had to enable this in control panel of Win11 to show up in Off switch options)
- ensure that there's enough time for hibernation to fully complete before 24:00
- wait 11 minutes (until 00:01 fake sys time)
- wake up computer from hibernation
- check date on Today Pane of TB which is still open
Actual = Expected
- Today Pane should pick correct current sys date (next day) after hibernation across midnight
Comment 2•2 years ago
|
||
Matt, can you confirm whether this fails for you?
Reporter | ||
Comment 3•2 years ago
|
||
This morning I've checked the error console and found this error which seems to be related:
07:17:52.434 Assert failed: TypeError: startDate is null
calUtils.jsm:109
ASSERT resource:///modules/calendar/calUtils.jsm:109
doMidnightUpdate chrome://calendar/content/calendar-chrome-startup.js:366
emit resource://gre/modules/EventEmitter.jsm:160
emit self-hosted:1115
notify resource:///modules/CalMetronome.jsm:132
observe resource:///modules/CalMetronome.jsm:83
I have not had time to test. But a look at the fix in bug 1589023 would indicate that the code used there is no longer present in the source post bug 1753558
ie
showDate(date) {
if (date) {
this.setDateRange(date.startOfMonth, date.endOfMonth);
this.selectedDay = date;
} else {
this.setDateRange(this.rangeStartDate, this.rangeEndDate);
}
}
Comment 6•1 year ago
|
||
Mike, have you tried Thunderbird 115 and do you still experience this issue?
Reporter | ||
Comment 7•1 year ago
|
||
Yes, I still have the issue almost every day.
My current version is 115.3.1 (Linux Mint).
Updated•1 year ago
|
(In reply to haertl.mike from comment #7)
Yes, I still have the issue almost every day.
My current version is 115.3.1 (Linux Mint).
I have this issue on 115.4.2 Win10
Today's date is 12 Sun, but the date for 'Today' was 10 Fri. I needed to advance the day to the correct day to get rid of past events. And I don't hibernate or go into sleep mode.
The Bug ist still present in 115.6.0 running on Kubuntu.
I usually put my laptop to sleep (suspend to RAM) in the evening and when I resume it the next morging the "old" date ist display in the calendar tab. If you put the laptop to sleep for several days you can easily miss an appointment because of this!
Comment 10•8 months ago
|
||
Comment 11•5 months ago
|
||
I have the problem on Debian 12 with Thunderbird 115.14.0.
Comment 12•2 months ago
|
||
Thunderbird 128.4.3esr (64-Bit) on Debian 12 has the following error in the error log:
Assert failed: TypeError: this.dayHeaders is undefined
calUtils.sys.mjs:131:15
ASSERT resource:///modules/calendar/calUtils.sys.mjs:131
doMidnightUpdate chrome://calendar/content/calendar-chrome-startup.js:319
emit resource://gre/modules/EventEmitter.sys.mjs:148
notify resource:///modules/CalMetronome.sys.mjs:130
observe resource:///modules/CalMetronome.sys.mjs:81
Updated•2 months ago
|
Description
•