Closed Bug 1608765 Opened 5 years ago Closed 5 years ago

Rotated day and week views are broken

Categories

(Calendar :: Calendar Frontend, defect)

Lightning 74
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 76.0

People

(Reporter: darktrojan, Assigned: darktrojan)

References

(Regression)

Details

(Keywords: regression)

Attachments

(3 files)

The time bar is still displayed vertically instead of horizontally, and everything else is squashed at the bottom, off-screen.

Is only Lightning 74 affected? Or older versions too? Do you get any error messages in console?

Flags: needinfo?(geoff)
Version: unspecified → Lightning 74

Looks fine on 73. No error messages, this is some sort of layout SNAFU. I wonder if mozilla-central changed something or if we just broke it.

Flags: needinfo?(geoff)

Probably also a fallout of bug 1606130.

STR: In calendar view, go to View | Calendar | Current View | Rotate View
Notice things look weird, like in attachment 9120398 [details]

Alice, can you help find what broke it?

Flags: needinfo?(alice0775)

Thanks! Some of the changes from mozilla-central then.

Assignee: nobody → geoff
Status: NEW → ASSIGNED

This fixes the immediate problem. I believe there was an existing minor issue with the columns not expanding to fill the space available at start-up, but I'm not attempting to fix that here.

Attachment #9134991 - Flags: review?(paul)

This removes the duplication of the recurrence tests and instead runs the same tests twice with different parameters. It's not necessary to have two very similar sets of tests.

Attachment #9134992 - Flags: review?(paul)
Comment on attachment 9134991 [details] [diff] [review] 1608765-rotated-views-1.diff Review of attachment 9134991 [details] [diff] [review]: ----------------------------------------------------------------- Changes look good, back to XUL for the moment. I applied the patch and saw that it does fix the issue.
Attachment #9134991 - Flags: review?(paul) → review+
Comment on attachment 9134992 [details] [diff] [review] 1608765-rotated-views-tests-1.diff Review of attachment 9134992 [details] [diff] [review]: ----------------------------------------------------------------- Nice! Great to de-dupe these files. I ran the tests locally and they ran and succeeded for both rotated and non-rotated views. r+ with one comment to address. ::: calendar/test/browser/recurrence/browser_annual.js @@ +20,5 @@ > switchToView, > } = ChromeUtils.import("resource://testing-common/mozmill/CalendarUtils.jsm"); > > var controller = mozmill.getMail3PaneController(); > +var { eid, getEventBoxPath, lookup, lookupEventBox } = helpersForController(controller); Looks like this "eid" is not needed since it's unused here and similarly in the other files, unless I'm missing something.
Attachment #9134992 - Flags: review?(paul) → review+

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/a9db14ef8380
Fix layout of rotated calendar views. r=pmorris
https://hg.mozilla.org/comm-central/rev/1ea5b27c6245
Remove duplication of tests for recurrence. r=pmorris

Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED

Pushed with comment addressed, and some other unused variables removed.

Target Milestone: --- → 76
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: