Closed Bug 316663 Opened 19 years ago Closed 19 years ago

[Win9x] Cannot display Japanese text on update processing dialog

Categories

(Toolkit :: Application Update, defect, P1)

1.8.0 Branch
x86
Windows 98
defect

Tracking

()

RESOLVED FIXED
mozilla1.8final

People

(Reporter: masayuki, Assigned: masayuki)

References

Details

(4 keywords, Whiteboard: [rft-dl])

Attachments

(2 files, 1 obsolete file)

Cannot display Japanese text on update processing dialog on Win9x. # WinNT doen't have this problem. See this screenshots On Win98 http://bugzilla.mozilla.gr.jp/attachment.cgi?id=2968&action=view On WinXP http://bugzilla.mozilla.gr.jp/attachment.cgi?id=2969&action=view This bug is same as bug 266309. We don't set the font for IDC_INFO.
Attached patch Patch rv1.0 (obsolete) — Splinter Review
This may fix this bug. But I cannot test it. Can I test it? How to do?
Attachment #203221 - Flags: superreview?(darin)
Attachment #203221 - Flags: review?(darin)
Status: NEW → ASSIGNED
Flags: blocking1.8.1?
Priority: -- → P1
Version: Trunk → 1.5 Branch
(In reply to comment #1) > Created an attachment (id=203221) [edit] > Patch rv1.0 > This may fix this bug. But I cannot test it. Can I test it? How to do? | + HFONT systemFont = CreateFontIndirect(&ncm.lfMessageFont); | + SendDlgItemMessage(hDlg, IDC_INFO, WM_SETFONT, (WPARAM)systemFont, 0L); | + DeleteObject(systemFont); You must not delete the font while the control is using it. http://msdn.microsoft.com/library/en-us/winui/winui/windowsuserinterface/windowing/windows/windowreference/windowmessages/wm_setfont.asp http://support.microsoft.com/kb/q85518/EN-US/
Attached patch Patch rv2.0Splinter Review
> You must not delete the font while the control is using it. Thank you for your advice!
Attachment #203221 - Attachment is obsolete: true
Attachment #203259 - Flags: superreview?(darin)
Attachment #203259 - Flags: review?
Attachment #203221 - Flags: superreview?(darin)
Attachment #203221 - Flags: review?(darin)
Attachment #203259 - Flags: review? → review?(darin)
Masayuki, we aren't going to block 1.5 on this bug which only effects Win9x users. But this should be on the 1.8.1 radar and I see it's already nominated, perfect!
Comment on attachment 203259 [details] [diff] [review] Patch rv2.0 ok, r+sr=darin
Attachment #203259 - Flags: superreview?(darin)
Attachment #203259 - Flags: superreview+
Attachment #203259 - Flags: review?(darin)
Attachment #203259 - Flags: review+
Attached patch v2.1 patchSplinter Review
here's the patch that i checked in
fixed-on-trunk
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Flags: blocking1.8.0.1?
Comment on attachment 204502 [details] [diff] [review] v2.1 patch I request this to 1.8 branch.
Attachment #204502 - Flags: approval1.8.0.1?
Reopening as causes compile crash on WinXP with MinGW/cygwin e:/mozilla/source/mozilla/toolkit/mozapps/update/src/updater/progressui_win.cpp: 138: undefined reference to `CreateFontIndirectA@4' progressui_win.o: In function `Z10DialogProcP6HWND__jjl': e:/mozilla/source/mozilla/toolkit/mozapps/update/src/updater/progressui_win.cpp: 169: undefined reference to `DeleteObject@4'
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
David: Please don't open by MinGW problem. Please file a new bug. Because other people cannot find this bug from the problem.
Status: REOPENED → RESOLVED
Closed: 19 years ago19 years ago
Resolution: --- → FIXED
Blocks: 318470
Bug #318470 created
Darin - can you comment on regression risk to non-win98 platforms.
not for 1.8.0.1
Flags: blocking1.8.0.1? → blocking1.8.0.1-
Comment on attachment 204502 [details] [diff] [review] v2.1 patch a-
Attachment #204502 - Flags: approval1.8.0.1? → approval1.8.0.1-
Daniel: Why it's denied? Please clarify the reason.
Flags: blocking1.8.0.2?
Flags: blocking-firefox2?
Attachment #204502 - Flags: approval1.8.0.2?
Attachment #204502 - Flags: branch-1.8.1?(darin)
Attachment #204502 - Flags: approval1.8.1?
Attachment #204502 - Flags: branch-1.8.1?(darin) → branch-1.8.1+
Flags: blocking-firefox2?
Keywords: fixed1.8.1
(In reply to comment #17) > Why it's denied? Please clarify the reason. For the security/stability branches it's the opposite: bug nominators must explain why the benefit of the patch outweighs the risk and qa costs associated with any change. Also comment 14 was never answered.
Daniel: Darin is not checking the bug mail.(You can confirm by posting the comment.)
> Darin - can you comment on regression risk to non-win98 platforms. Sorry, I missed this bugmail go by... In my opinion the risk is extremely low. We've been running with this patch for several months now on the trunk without any problems. If we care at all about the auto-update experience for Japanese users on Win9x, then this patch is a great one to take.
thank you, that's the kind of information we need.
Flags: blocking1.8.0.2? → blocking1.8.0.2+
Comment on attachment 204502 [details] [diff] [review] v2.1 patch a=dveditz
Attachment #204502 - Flags: approval1.8.0.2? → approval1.8.0.2+
Whiteboard: [rft-dl]
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: