Closed Bug 220372 Opened 22 years ago Closed 21 years ago

File toolbar button does not work until Thunderbird is restarted

Categories

(Thunderbird :: Mail Window Front End, defect)

x86
Windows 2000
defect
Not set
minor

Tracking

(Not tracked)

VERIFIED FIXED
Thunderbird0.7

People

(Reporter: jhenry, Assigned: mscott)

Details

(Whiteboard: fixed-aviary1.0)

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6a) Gecko/20030925 Firebird/0.7+ Build Identifier: Mozilla Thunderbird 0.3 (20030924) When adding the File button to the Toolbar for the first time, clicking on it will only result in a tiny gray box coming out of it rather than a menu containing all the mail accounts/mail boxes to which the message could be moved. Closing and re-opening Thunderbird will cause the File button to start functioning properly. Reproducible: Always Steps to Reproduce: 1. Add the File button to Thunderbird's toolbar. 2. Click the button. Actual Results: Tiny, empty gray menu comes out of the button. Expected Results: List all folders to which the message could be moved.
I neglected to mention that this only affects Thunderbird, adding the File button in MailNews (Edit > Preferences > Mail and Newsgroups) works the first time.
This happens not when adding File button to the Toolbar for the first time, but *whenever* you add File button to the toolbar.
Attached patch PatchSplinter Review
This patch seems to fix things. The code to add a datasource to the File button's tree was only getting called on startup, which didn't account for it not existing at startup and being added dynamically later by customizing the toolbar.
Attachment #148874 - Flags: review?(mscott)
Comment on attachment 148874 [details] [diff] [review] Patch sweet. thanks jon I'll check this in.
Attachment #148874 - Flags: review?(mscott) → review+
fixed
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird0.7
Whiteboard: fixed-aviary1.0
verified on latest 20041124 builds
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: