After opening Calendar tab, Today pane shaking because vertical and horizontal scrollbars repeatedly shown/hidden in a loop

NEW
Unassigned

Status

4 years ago
3 years ago

People

(Reporter: aryx, Unassigned)

Tracking

({regression})

Lightning 4.0.0.1
regression

Details

Attachments

(1 attachment)

Thunderbird 38.0b5 and Lightning 4.0b3 on Windows 8

After opening the calendar tab, the Today pane is shaking because the vertical and horizontal scrollbars are repeatedly shown and hidden. This issue does not occur if I select another day and return to today. I also can't reproduce it with Thunderbird 31.6.0 and Lightning 3.3.3.

Comment 1

4 years ago
Is there anything in the error log?

Updated

4 years ago
Component: Calendar Views → Lightning Only
Version: unspecified → Lightning 4.0
No errors in the error console which seem related:

Timestamp: 18.05.2015 19:10:50
Error: TypeError: tab is undefined
Source File: chrome://messenger/content/tabmail.xml
Line: 1067

Timestamp: 18.05.2015 19:10:52
Error: TypeError: getBrowser(...) is null
Source File: chrome://communicator/content/contentAreaClick.js
Line: 60

Timestamp: 18.05.2015 19:11:44
Error: path is null
Source File: resource://gre/modules/osfile/ospath_win.jsm
Line: 220

Comment 3

4 years ago
Yes, this errors seem unrelated and have already separate bugs, iirc.

Is this a fresh profile or one from TB31? What types of calendars do you have? Does disabling single calendars change anything?
Created attachment 8607394 [details]
test case.ics

This is a migrated profile with 23 calendars (mostly .ics, but also some internal calendar storage ones). The day has a high two or low three digit number of events. Enabling a chosen single calendar can stop the issue, reenabling it doesn't reactivate it.

I'm attaching a test case.
1. Set the view to make all 24 hours of the day visible at the same time.
2. Import the calendar.
3. Go to May 18th, 2015.
4. Close the calendar tab.
5. Reopen the calendar tab.

If that doesn't work, try setting the OS date to May 18th, 2015 and launch Thunderbird.
In a different profile which still runs with Tb 31.6.0 and Lightning 3.3.3 and has also has all 24 hours in the view but no event in the current day, the vertical scrollbar is always shown.

Comment 6

4 years ago
I can't reproduce with Thunderbird 38.0b5 and Lightning 4.0b3/b5 on Windows 7.
It's not clear to me if vertical and horizontal scrollbars that are repeatedly shown and hidden are those of the Today pane or those of the day view.

In case the scrollbars are in the view, this remind me bug 344561.
Your setting (the view to show 24 hours) and the type of the events (in particular those near midnight) cause the vertical scrollbar to appear in day/week view and this causes the problem that has been fixed in bug 344561 (the last part), see comment 60 bug 344561.
Philipp, at first glance, had the doubt that the fix "overflow-underflow-patch-v1" could cause a loop similar to that in description.
Maybe you could verify if the bug is reproducible after removing the fix
https://bug344561.bugzilla.mozilla.org/attachment.cgi?id=8446411
(In reply to Decathlon from comment #6)
> It's not clear to me if vertical and horizontal scrollbars that are
> repeatedly shown and hidden are those of the Today pane or those of the day
> view.
Day view.

> Maybe you could verify if the bug is reproducible after removing the fix
> https://bug344561.bugzilla.mozilla.org/attachment.cgi?id=8446411
Yes, reverting bug 344561 fixes the issue.

No idea how common the issue is, but with only the test case loaded, Thunderbird becomes nearly unresponsive (killed the application twice).

Comment 8

4 years ago
(In reply to Archaeopteryx [:aryx] from comment #7)

> Yes, reverting bug 344561 fixes the issue.
> 
> No idea how common the issue is, but with only the test case loaded,
> Thunderbird becomes nearly unresponsive (killed the application twice).

Without the fix, could you also verify, in week view, if day columns and day headers are misaligned in the same conditions: 24 hours and events near midnight (for the record it happens to me with TB38.0b5 and LG4.0b3)?
This would be anyway a minor issue compared to an unresponsive application. We can revert the fix and reopen bug 344561.

Comment 9

4 years ago
Archaeopteryx, can you please verify as requested in comment #8?
Flags: needinfo?(archaeopteryx)
Keywords: regression
(In reply to Decathlon from comment #8)
> Without the fix, could you also verify, in week view, if day columns and day
> headers are misaligned in the same conditions: 24 hours and events near
> midnight (for the record it happens to me with TB38.0b5 and LG4.0b3)?
The week view looks as expected. There are events near midnight which stretch below that line, but there are other days with these kind of events which doesn't trigger the shaking in day view. The main consequence with the shaking is that will consume one logical core.
Flags: needinfo?(aryx.bugmail)
You need to log in before you can comment on or make changes to this bug.