Closed Bug 465833 Opened 16 years ago Closed 16 years ago

folder pane context open menu item doesn't open correctly

Categories

(Thunderbird :: Mail Window Front End, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 3.0b1

People

(Reporter: Bienvenu, Assigned: Bienvenu)

References

Details

Attachments

(1 file, 2 obsolete files)

If I do a folder pane context menu open command, it opens a new window, but in the wrong folder view (favorites instead of all). That's with a partial patch that fixes other issues...
Flags: blocking-thunderbird3+
Attached patch proposed fix (obsolete) — Splinter Review
this takes the interesting parts of the folder pane columns patch, and adds the removal of the prefs from all-thunderbird.js. Now, we remember the last view used, and open in new window works.
Attachment #349070 - Flags: review?(jminta)
Attached patch correct patch (obsolete) — Splinter Review
Attachment #349070 - Attachment is obsolete: true
Attachment #349074 - Flags: review?(jminta)
Attachment #349070 - Flags: review?(jminta)
jminta correctly points out that we can't get rid of folder version pref because that will break migration from 1.5
Attachment #349074 - Attachment is obsolete: true
Attachment #349081 - Flags: review?(jminta)
Attachment #349074 - Flags: review?(jminta)
Comment on attachment 349081 [details] [diff] [review]
don't get rid of folder version

+          if (gFolderTreeView._rowMap.length)
+            gFolderTreeView.selectFolder(gFolderTreeView._rowMap[0]._folder);
+         }
The closing brace looks poorly aligned.

I'm not wild about reviewing my own code, but if you can't find someone else with a spare 15 minutes, r=jminta
Attachment #349081 - Flags: review?(jminta) → review+
Note also that this'll create the slightly unintuitive result that the second window will be opened with the persisted open-map from the last restart, rather than the current open-map. We might want to flush the json to disk before opening, or come up with a way to pass the open-map to the new window.
well, for the part you did, you're just reviewing that I didn't mess up extracting the patch. I'll put us down as both reviewing it...
Whiteboard: will checkin when tree is open
fix checked in - this will also fix bug 465267
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Blocks: 465267
Whiteboard: will checkin when tree is open
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: