Closed Bug 791926 Opened 13 years ago Closed 10 years ago

Chat messages not displayed in zh-TW localized build and langpack of Thunderbird in Linux

Categories

(Mozilla Localizations :: zh-TW / Chinese (Traditional), defect)

x86
Linux
defect
Not set
major

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1167072

People

(Reporter: petercpg, Assigned: petercpg)

References

Details

Attachments

(1 file)

Tested IRC, Facebook, Twitter, and Google Talk. @id messages are still received and notification counts are still displayed, but no any chat messages and log are displayed. Tested on Thunderbird 15+ only in Linux. ja and en-US locale worked with no such problem.
The center box reads: Thunderbird currently doesn't have any previous conversations stored for this contact.
Pike, do you have any idea about this?
No idea, maybe Mark? Also, is there something in the error console that might hint at something?
Two warning logged: 1) "Use of Mutation Events is deprecated. Use MutationObserver instead." was logged when switching chat channel/services. 2) "Unhandled IRC message: :concrete.mozilla.org 671 petercpg|iclab-tb petercpg|iclab :is using a Secure Connection" when receiving messages
Also I got some errors reported in bug 786944. Not sure if this is the same case.
Not sure what's happening here, cc'ing some chat related folks.
I can't reproduce with Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:15.0) Gecko/20120907 Thunderbird/15.0.1
(In reply to Florian Quèze [:florian] [:flo] from comment #7) > I can't reproduce with Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:15.0) > Gecko/20120907 Thunderbird/15.0.1 This bug only happen on Linux with zh-TW langpack xpi file
(In reply to Florian Quèze [:florian] [:flo] from comment #7) > I can't reproduce with Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:15.0) > Gecko/20120907 Thunderbird/15.0.1 The user agent string no longer includes the locale, but this was with the zh-TW version of Thunderbird 15.0.1 on Mac.
(In reply to Florian Quèze [:florian] [:flo] from comment #9) > (In reply to Florian Quèze [:florian] [:flo] from comment #7) > > I can't reproduce with Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:15.0) > > Gecko/20120907 Thunderbird/15.0.1 > > The user agent string no longer includes the locale, but this was with the > zh-TW version of Thunderbird 15.0.1 on Mac. Under our tests earlier, Mac and Win32 builds are not affected.
Here is my error messages. I think the reason is error from "Services.prefs.getCharPref" (the first error) that make this._values undefined (the last error). Error: NS_ERROR_UNEXPECTED: Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIPrefBranch.getCharPref] Source: resource://gre/modules/imTextboxUtils.jsm Line: 28 > this._values = { > langGroup: langGroup, > fontGroup: fontGroup, > font: Services.prefs.getCharPref(fontPref), Error: Unix error 14 during operation makeDir (錯誤的位址) Source: resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js Line: 870 > } else if (typeof(this.onReject) == "function") { > nextValue = this.onReject.call(undefined, nextValue); > nextStatus = STATUS_RESOLVED; Error: TypeError: this._values is undefined Source: resource://gre/modules/imTextboxUtils.jsm Line: 64 > _getColor: function mf__getColor() { > if (this._values.foregroundColorIsDefault || this._values.useSystemColor) > return ""; > return this._values.foregroundColor; > },
The reason is that the key font.name.sans-serif.zh-TW is not define (since let fontPref = "font.name." + fontGroup + "." + langGroup; => fontPref = "font.name." + "sans-serif" + "." + "zh-TW"; => fontPref = "font.name.sans-serif.zh-TW" A workaround is open about:config define font.name.sans-serif.zh-TW = "sans-serif" I wonder in my about:config I only have the following keys begin with "font.name.sans-serif." font.name.sans-serif.el = sans-serif font.name.sans-serif.he = sans-serif font.name.sans-serif.ja = sans-serif font.name.sans-serif.ko = sans-serif font.name.sans-serif.th = sans-serif font.name.sans-serif.x-cyrillic = sans-serif font.name.sans-serif.x-unicode = sans-serif font.name.sans-serif.x-western = sans-serif font.name.sans-serif.zh-CN = sans-serif font.name.sans-serif.zh-HK = sans-serif
After regression, the config "font.name.sans-serif.zh-TW" is added by bug 1167072. [2015-05-26] The regression result https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=5528e643a09a&tochange=ff2e07228041 Changeset https://hg.mozilla.org/mozilla-central/rev/307743e12ccc
Depends on: 1167072
Has this been fixed by bug 1167072?
I confirmed that it resolved fixed.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Resolution: FIXED → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: