Wrong day heading lengths used when rotating the week view
Categories
(Calendar :: Calendar Frontend, defect)
Tracking
(thunderbird_esr91 unaffected)
Tracking | Status | |
---|---|---|
thunderbird_esr91 | --- | unaffected |
People
(Reporter: henry-x, Assigned: henry-x)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
Steps to reproduce
There are two problems, with a common source (not changing the heading lengths at the right time).
Case 1
- Go to the week view, and make sure it is non-rotated.
- Shrink the window horizontally until the day headings use their short form (e.g. "Tue" rather than "Tuesday").
- Rotate the view.
- Rotate back.
Case 2
- Go to the week view, and make sure it is non-rotated.
- Grow the window horizontally until the day headings are in their long form.
- Rotate the view.
Result
In case 1, the day headings are in their overflowing long forms.
In case 2, the view shows slightly more than the expected number of visible hours.
Expect
In case 1, they should be in their short form.
In case 2, the view should show the exact number of visible hours (the problem is that the pixels per minute is calculated when the headings are in their long form, but they are then switched to their short form).
Assignee | ||
Updated•3 years ago
|
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
We now make sure to adjust the headings and remove any fixed sizing or positioning (which depends on the rotation) before calculating the pixelsPerMinute.
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Updated•3 years ago
|
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/8e84c25d6aea
Adjust the week view in the correct order when rotating. r=darktrojan
Description
•