Open Bug 1064089 Opened 11 years ago Updated 1 year ago

Calendar view starts with broken view

Categories

(Calendar :: Calendar Frontend, defect)

x86_64
Linux
defect

Tracking

(Not tracked)

People

(Reporter: iannbugzilla, Unassigned, NeedInfo)

References

Details

(Keywords: regression)

Attachments

(1 file)

STR 1/ Start SeaMonkey with lightning installed 2/ Open MailNews 3/ Select Calendar from "Events and Tasks" Menu 4/ Select Calendar tab 5/ Look at view Expected Result 1/ Properly spaced lines with times down left hand side Actual Result 1/ spacers with class="calendar-event-column-linebox" only have a height of 6 causing a compressed view Workaround 1/ Switch to different view and back again (e.g. to Day and then back to Week) - spacers now have a height = 57
Attached image Screenshot of issue
The issue is caused by the value of this.mPixPerMin that is 0.1 i.e. the minimum allowed for that variable and this happens because in the method onResize() the property scrollbox.boxObject.height ( http://mxr.mozilla.org/comm-central/source/calendar/base/content/calendar-multiday-view.xml#2696 ) always returns zero every time the method is called during the startup. After the startup if you resize the window or change the view, the property "height" returns a correct value and the bug disappears. A similar case happens also with Thunderbird but the bug doesn't arise because during the startup, after a few calls to onResize(), the property scrollbox.boxObject.height starts to return values different than 0. Previous version on Thunderbird and SeaMonkey (I tested with SM 2.25 and LG 3.0b1) don't have the problem because scrollbox.boxObject.height is never 0. Basically the bug should be related to bug 998260.
Component: Lightning Only → Calendar Views
Severity: normal → S3

Now that Calendar is integrated with Thunderbird, is this still of value?

Flags: needinfo?(iannbugzilla)
See Also: → 998260
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: