Closed Bug 426694 Opened 16 years ago Closed 16 years ago

Can't switch to favorite folders in tabs

Categories

(Thunderbird :: Mail Window Front End, defect)

defect
Not set
major

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: rkent, Unassigned)

References

Details

Virtual folders can be added to a tab, but when you switch away and back again the tab does not change.

Steps to reproduce:

1) Create a virtual folder from a search
2) Display a normal inbox.
3) Right-click the virtual folder, select Open in New Tab
4) Click on the Inbox tab
5) Click on the virtual folder tab

Expected results: virtual folder tree is displayed
Actual results: Inbox remains displayed in the tab
It works for me in Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9pre) Gecko/2008040204 Thunderbird/3.0a1pre
I'm not sure why I didn't notice this earlier, but when I attempt to switch to the tab with the virtual folder, I get the following error in the error console:

Error: uncaught exception: [Exception... "Component returned failure code: 0x80004003 (NS_ERROR_INVALID_POINTER) [nsIXULTreeBuilder.getIndexOfResource]"  nsresult: "0x80004003 (NS_ERROR_INVALID_POINTER)"  location: "JS frame :: chrome://messenger/content/msgMail3PaneWindow.js :: EnsureFolderIndex :: line 1570"  data: no]
Source File: chrome://global/content/bindings/tabbox.xml
Line: 361
I can produce a similar error message by changing the folder view from All Folders to some view that does not contain the folder that is in the tab (perhaps Favorite Folders or Unread Folders).  But that has nothing to do with virtual folders.
I get that exception on linux too. But like Rod, not for virtual folders, only for Favorite folders.
OK I think you guys are right, it is associated with using favorite folders, not virtual folders. Is there a bug already defined for that to dup, or can I revise this one for that problem?
Not that I know of. Confirming.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows XP → All
Hardware: PC → All
Summary: Can't switch to virtual folders in tabs → Can't switch to favorite folders in tabs
Blocks: tabsmeta
do you still see this problem with current trunk? 

both comment 0 and comment 3 WFM Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1b3pre) Gecko/20081201 Shredder/3.0b1pre

a bug similar to comment 0 was closed
Seems gone over here. rkent?
Yes, this is now working.

==>WFM
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.