Closed Bug 296712 Opened 19 years ago Closed 19 years ago

Switching views does not always work

Categories

(Calendar :: Lightning Only, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: zarco.zwier, Assigned: shaver)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050603 Firefox/1.0+
Build Identifier: Lightning Win32 (20050601) + Thunderbird 1.0+ (20050601)

I've noticed when switching from a view to another, switching back does not does
not always enable the selected view.
Without Lightning Thunderbird does not behave this way.
This occurs with a fresh Thunderbird profile and installation

Reproducible: Sometimes

Steps to Reproduce:
1. Go to View
2. Click Layout
3. Switch to a diffenent view
4. Repeat step 1-3 and switch back to the previous view

Actual Results:  
The view does not change.

Expected Results:  
The view should change.

The JS console gives 2 error messages when switching once between Classical and
Wide:

Error: gDBView has no properties
Source File: chrome://messenger/content/msgMail3PaneWindow.js
Line: 1574

and
Error: gDBView has no properties
Source File: chrome://messenger/content/mailWindowOverlay.js
Line: 192

When switching several times between all views, I get additional errors:

Error: [Exception... "Component returned failure code: 0x80570016
(NS_ERROR_XPC_GS_RETURNED_FAILURE) [nsIJSCID.getService]"  nsresult: "0x80570016
(NS_ERROR_XPC_GS_RETURNED_FAILURE)"  location: "JS frame ::
file:///C:/Documents%20and%20Settings/Dexter/Application%20Data/Thunderbird/Profiles/t6xq2qbv.Default%20User/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/components/calCompositeCalendar.js
:: anonymous :: line 142"  data: no]
Source File:
file:///C:/Documents%20and%20Settings/Dexter/Application%20Data/Thunderbird/Profiles/t6xq2qbv.Default%20User/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/components/calCompositeCalendar.js
Line: 142

Error: [Exception... "Invalid ClassID or ContractID"  nsresult: "0x80570017
(NS_ERROR_XPC_BAD_CID)"  location: "JS frame ::
file:///C:/Documents%20and%20Settings/Dexter/Application%20Data/Thunderbird/Profiles/t6xq2qbv.Default%20User/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/components/calItemModule.js
:: initBaseComponent :: line 63"  data: no]
Source File:
file:///C:/Documents%20and%20Settings/Dexter/Application%20Data/Thunderbird/Profiles/t6xq2qbv.Default%20User/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/components/calItemModule.js
Line: 63

Error: [Exception... "Component returned failure code: 0x80570016
(NS_ERROR_XPC_GS_RETURNED_FAILURE) [nsIJSCID.getService]"  nsresult: "0x80570016
(NS_ERROR_XPC_GS_RETURNED_FAILURE)"  location: "JS frame ::
chrome://lightning/content/lightning-utils.js :: ltnGetService :: line 11" 
data: no]
Source File: chrome://lightning/content/lightning-utils.js
Line: 11

Error: redeclaration of const imgICache
Source File: chrome://communicator/content/contentAreaUtils.js
Line: 230

Error: redeclaration of const kMailToLength
Source File: chrome://communicator/content/nsContextMenu.js
Line: 13

Error: uncaught exception: [Exception... "Invalid ClassID or ContractID" 
nsresult: "0x80570017 (NS_ERROR_XPC_BAD_CID)"  location: "JS frame ::
chrome://lightning/content/lightning-utils.js :: <TOP_LEVEL> :: line 24"  data: no]

Error: uncaught exception: [Exception... "Invalid ClassID or ContractID" 
nsresult: "0x80570017 (NS_ERROR_XPC_BAD_CID)"  location: "JS frame ::
chrome://calendar/content/calendarUtils.js :: <TOP_LEVEL> :: line 92"  data: no]
Summary: Switching views does not always → Switching views does not always work
We were looking at this at OSCON.  Mike had some thoughts on what might be
causing it, something involving reflow.  Perhaps he can add more thoughts here...
Status: UNCONFIRMED → NEW
Ever confirmed: true
I believe this was fixed by a checkin jminta made some time back.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
QA Contact: shaver → lightning
You need to log in before you can comment on or make changes to this bug.