Lightning's Today Pane "Mini-Month" dates are wrongly aligned with days of week
Categories
(Calendar :: Calendar Frontend, defect)
Tracking
(Not tracked)
People
(Reporter: ronan.jouchet, Assigned: darktrojan)
References
(Regression)
Details
(Keywords: regression)
Attachments
(3 files)
7.37 KB,
image/png
|
Details | |
1023 bytes,
patch
|
pmorris
:
review+
pmorris
:
approval-calendar-beta+
|
Details | Diff | Splinter Review |
703.24 KB,
image/gif
|
Details |
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:72.0) Gecko/20100101 Firefox/72.0
Steps to reproduce:
- Using Tb 71.0b2-20191030211447 with bundled Lightning 71.0b2
- View -> Today Pane -> Show Today Pane, Show Mini-Month
- In Preferences -> Calendar, set "Start the week on" to
Monday
- Look at the Mini-Month
- Click the "Go to today" button (the circle at the top right of the Mini-Month)
Actual results:
Lightning incorrectly the Mini-Month matrix, mis-aligning days of week (Monday to Sunday) with dates (1, 2, 3, ... 31).
For example, today is Sunday November 3 but, in the Mini-Month widget, today appears as Sunday November 2! It feels like Lightning is confused about Monday as first day of week, maybe? See attached screenshot.
Also, if I click on "Go to today" (the circle button at the top-right of the Mini-Month widget), Lightning incorrectly focuses tomorrow! (the incorrect "Monday 3 Nov")
Expected results:
Lightning should render a correct Mini-Month.
Reporter | ||
Comment 1•5 years ago
|
||
Additional data point: fiddling with the current month and coming back to Today fixes / works around the issue. So,
- Launch Thunderbird. β Mini-month is broken, with 1day mis-alignment between days and dates
- Click
One Month Forward
(the arrow at the next of the current month, atop the mini-month) - Click
Go To Today
β Mini-month is now fixed, properly aligned between days and dates.
Reporter | ||
Comment 2•5 years ago
|
||
Bug still reproducible in Tb 71.0b3-20191113091023 and Lightning 71.0b3
Reporter | ||
Comment 3•5 years ago
|
||
Bug still reproducible in Tb 71.0b4-20191125214250 and Lightning 71.0b4
Comment 4•5 years ago
|
||
Confirmed, I see this too with trunk: today, Saturday the 30.11. is shown in the Sunday column. This happens only with Monday as start of week day.
What I've also observed is, that when I change the start day, the week day column in the minimonth is immediately updated but not the dates itself.
Comment 5•5 years ago
|
||
Confirmed for Thunderbird Version 71.0b4 Build ID 20191125214250.
It would be good to see this fixed soon since it could lead to some problems getting to, or planning, events on the wrong day.
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 6•5 years ago
|
||
Appears to be my fault. Sorry about that.
Assignee | ||
Updated•5 years ago
|
Comment 7•4 years ago
|
||
Comment on attachment 9112797 [details] [diff] [review] 1593537-minimonth-update-1.diff Review of attachment 9112797 [details] [diff] [review]: ----------------------------------------------------------------- Looks good, confirmed that it fixes the problem.
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Updated•4 years ago
|
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/bb6662974cc8
Update minimonths when the start of week pref or the week numbers pref changes; r=pmorris
Updated•4 years ago
|
Assignee | ||
Comment 10•4 years ago
|
||
Reporter | ||
Comment 11•4 years ago
|
||
Confirmed fixed in Tb 72.0b2-20191212014636 + Lightning 72.0b2.
Thanks!
Reporter | ||
Comment 12•4 years ago
|
||
Geoff, should a similar patch be applied to force an update of the Events listview when a calendar event is added at a particular date picked in the Mini-Month?
STR below and GIF attached, pls tell me if I should I create a new bug.
- Click a day in the Mini-Month, say 2019-12-18.
- The "Events listview" (the list below the Mini-Month, listing events for that particular day) shows the events for that day. All good so far.
- Click "New Event", fill event info leaving the (pre-selected) currently active date (2019-12-18), save.
β Expected: Events listview listing events for 2019-12-18 should update with the new event created at that date
β Actual: Events listview does not update, failing to list the event just added.
Workaround A forcing a listview update: collapse/expande the day in the Events list view
Workaround B forcing a listview update: click another day in the Mini-month and re-click the day of the new event
Assignee | ||
Comment 13•4 years ago
|
||
You should definitely file a new bug. As a general rule, one issue per bug.
I think I can see why that might happen if there's been a timezone change, otherwise I'm not really sure at this stage.
Reporter | ||
Comment 14•4 years ago
|
||
(In reply to Geoff Lankow (:darktrojan) from comment #13)
You should definitely file a new bug. As a general rule, one issue per bug.
I think I can see why that might happen if there's been a timezone change, otherwise I'm not really sure at this stage.
Alright, filed Bug 1605601 - "Newly-created event fails to appear in the Events sidebar listview"
Description
•