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)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1167072
People
(Reporter: petercpg, Assigned: petercpg)
References
Details
Attachments
(1 file)
|
88.90 KB,
image/png
|
Details |
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.
| Assignee | ||
Comment 1•13 years ago
|
||
The center box reads: Thunderbird currently doesn't have any previous conversations stored for this contact.
| Assignee | ||
Comment 2•13 years ago
|
||
Pike, do you have any idea about this?
Comment 3•13 years ago
|
||
No idea, maybe Mark?
Also, is there something in the error console that might hint at something?
| Assignee | ||
Comment 4•13 years ago
|
||
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
| Assignee | ||
Comment 5•13 years ago
|
||
Also I got some errors reported in bug 786944. Not sure if this is the same case.
Comment 6•13 years ago
|
||
Not sure what's happening here, cc'ing some chat related folks.
Comment 7•13 years ago
|
||
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
Comment 9•13 years ago
|
||
(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.
| Assignee | ||
Comment 10•13 years ago
|
||
(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.
Comment 11•10 years ago
|
||
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;
> },
Comment 12•10 years ago
|
||
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
Comment 13•10 years ago
|
||
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
Comment 14•10 years ago
|
||
Has this been fixed by bug 1167072?
Comment 15•10 years ago
|
||
I confirmed that it resolved fixed.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
Resolution: FIXED → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•