Chat UI not correctly hidden on existing profiles

RESOLVED FIXED in Thunderbird 15.0


7 years ago
7 years ago


(Reporter: florian, Assigned: florian)


13 Branch
Thunderbird 15.0

Thunderbird Tracking Flags

(thunderbird13+ fixed, thunderbird14+ fixed)



(1 attachment)



7 years ago
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

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.


7 years ago
tracking-thunderbird13: --- → ?
tracking-thunderbird14: --- → ?
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.
tracking-thunderbird13: ? → +
tracking-thunderbird14: ? → +

Comment 2

7 years ago
Created attachment 626774 [details] [diff] [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 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+

Comment 3

7 years ago
Last Resolved: 7 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.