Closed Bug 757825 Opened 13 years ago Closed 13 years ago

Chat UI not correctly hidden on existing profiles

Categories

(Thunderbird :: Instant Messaging, defect)

13 Branch
defect
Not set
normal

Tracking

(thunderbird13+ fixed, thunderbird14+ fixed)

RESOLVED FIXED
Thunderbird 15.0
Tracking Status
thunderbird13 + fixed
thunderbird14 + fixed

People

(Reporter: florian, Assigned: florian)

Details

Attachments

(1 file)

I had a report on IRC that on Tb13b2 with an existing profile the "Tools -> Chat Status" and "Go -> Chat" menu items weren't hidden. There was this error in the error console: Error: document.getElementById(aId) is null Line 683 File: chat-messenger-overlay.js http://mxr.mozilla.org/comm-beta/source/mail/components/im/content/chat-messenger-overlay.js#683 The same problem didn't happen with a fresh profile. I suspect for some reason the Chat button wasn't present in the toolbar. A trivial fix seems to just add a null check before attempting to hide an element.
I'm the one that hit this. If I can do anything to assist debugging, just let me know -- I can even package up my profile if that's helpful.
Attached patch FixSplinter Review
Trivial fix (just adding a null check). [Approval Request Comment] This bug is currently quite visible on beta where the Chat feature is pref'ed off, so we need this fix on aurora and beta. Steps to reproduce on current trunk: - with Chat enabled (the default on trunk), customize the main toolbar and remove the "Chat" button. - disable chat (set mail.chat.enabled to false) - restart - notice the "document.getElementById(aId) is null" error in the error console, and the "Go -> Chat" and "Tools -> Chat status" aren't hidden.
Assignee: nobody → florian
Attachment #626774 - Flags: review?(mbanner)
Attachment #626774 - Flags: approval-comm-beta?
Attachment #626774 - Flags: approval-comm-aurora?
Attachment #626774 - Flags: review?(mbanner)
Attachment #626774 - Flags: review+
Attachment #626774 - Flags: approval-comm-beta?
Attachment #626774 - Flags: approval-comm-beta+
Attachment #626774 - Flags: approval-comm-aurora?
Attachment #626774 - Flags: approval-comm-aurora+
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 15.0
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: