Open
Bug 1064089
Opened 11 years ago
Updated 1 year ago
Calendar view starts with broken view
Categories
(Calendar :: Calendar Frontend, defect)
Tracking
(Not tracked)
NEW
People
(Reporter: iannbugzilla, Unassigned, NeedInfo)
References
Details
(Keywords: regression)
Attachments
(1 file)
|
118.41 KB,
image/png
|
Details |
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
The height appears to be set at http://mxr.mozilla.org/comm-central/source/calendar/base/content/calendar-multiday-view.xml#685
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.
Updated•5 years ago
|
Component: Lightning Only → Calendar Views
Updated•3 years ago
|
Severity: normal → S3
Comment 5•1 year ago
|
||
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.
Description
•