Closed
Bug 113161
Opened 23 years ago
Closed 19 years ago
Color/background-color of preedit string is always default(we should not use invert)
Categories
(Core :: Internationalization, defect, P1)
Core
Internationalization
Tracking
()
RESOLVED
FIXED
mozilla1.9alpha1
People
(Reporter: kazhik, Assigned: masayuki)
References
(Blocks 1 open bug)
Details
(Keywords: inputmethod, intl)
Attachments
(2 files, 9 obsolete files)
453 bytes,
text/html
|
Details | |
28.59 KB,
patch
|
roc
:
review+
roc
:
superreview+
|
Details | Diff | Splinter Review |
Color/background-color of preedit string is always default color. <style> textarea,input { background-color:#909090; color:#ffffff; } </style> In textarea or input with this style, color/background-color of preedit string should be changed from default. Original report in Bugzilla-jp: http://bugzilla.mozilla.gr.jp/show_bug.cgi?id=1540
Comment 1•23 years ago
|
||
I'm not very familiar with Linux nor Mac IME APIs. so cc'ing shanjian and nhotta.
Status: NEW → ASSIGNED
Priority: -- → P3
Updated•23 years ago
|
Target Milestone: --- → mozilla0.9.8
Updated•23 years ago
|
Target Milestone: mozilla0.9.8 → mozilla1.0.1
Comment 2•23 years ago
|
||
please put a test cases here.
Reporter | ||
Comment 3•23 years ago
|
||
Assignee | ||
Updated•20 years ago
|
Assignee | ||
Updated•20 years ago
|
Summary: Color/background-color of preedit string is always default → Color/background-color of preedit string is always default(we should not use invert)
Assignee | ||
Updated•20 years ago
|
Assignee: yokoyama → masayuki
Status: ASSIGNED → NEW
QA Contact: teruko → amyy
Target Milestone: mozilla1.0.1 → ---
Assignee | ||
Updated•19 years ago
|
Assignee | ||
Updated•19 years ago
|
Priority: P3 → P1
Assignee | ||
Comment 4•19 years ago
|
||
Attachment #202062 -
Flags: superreview?(roc)
Attachment #202062 -
Flags: review?(roc)
Assignee | ||
Comment 5•19 years ago
|
||
Comment on attachment 202062 [details] [diff] [review] Patch rv1.0 Sorry. This patch has warning message.
Attachment #202062 -
Flags: superreview?(roc)
Attachment #202062 -
Flags: review?(roc)
Attachment #202062 -
Flags: review-
Assignee | ||
Comment 6•19 years ago
|
||
Attachment #202062 -
Attachment is obsolete: true
Attachment #202064 -
Flags: superreview?(roc)
Attachment #202064 -
Flags: review?(roc)
Assignee | ||
Comment 7•19 years ago
|
||
This patch uses the system IME composition string color in nsTextFrame.cpp. And this removes dirty non-XP code from |PaintTextDecorations|.
Assignee | ||
Comment 8•19 years ago
|
||
And this fixes both this and bug 170951.
The code that converts foreColor and lineColor should be factored out into its own function. The per-IME-index values should be a single array of structs. Other than that it looks pretty good!
Assignee | ||
Updated•19 years ago
|
Attachment #202064 -
Flags: superreview?(roc)
Attachment #202064 -
Flags: review?(roc)
Attachment #202064 -
Flags: review-
Assignee | ||
Comment 10•19 years ago
|
||
Attachment #202064 -
Attachment is obsolete: true
Attachment #202780 -
Flags: superreview?(roc)
Attachment #202780 -
Flags: review?(roc)
Assignee | ||
Comment 11•19 years ago
|
||
Comment on attachment 202780 [details] [diff] [review] Patch rv1.2 Sorry.
Attachment #202780 -
Flags: superreview?(roc)
Attachment #202780 -
Flags: review?(roc)
Assignee | ||
Comment 12•19 years ago
|
||
Attachment #202780 -
Attachment is obsolete: true
Attachment #202781 -
Flags: superreview?(roc)
Attachment #202781 -
Flags: review?(roc)
Comment 13•19 years ago
|
||
Off-Topic: Masayuki, this latest Bugzilla version automatically cancels pending review requests when you mark the patch as obsolete, so no need to manually remove review requests if you're going to mark it as obsolete anyway.
Assignee | ||
Comment 14•19 years ago
|
||
Caleb: Thank you.
Assignee | ||
Comment 15•19 years ago
|
||
Comment on attachment 202781 [details] [diff] [review] Patch rv1.2 Sorry. I don't like this patch. There is no reason for using index of array. We should use pointer for the struct instead.
Attachment #202781 -
Flags: superreview?(roc)
Attachment #202781 -
Flags: review?(roc)
Attachment #202781 -
Flags: review-
Assignee | ||
Comment 16•19 years ago
|
||
Attachment #202781 -
Attachment is obsolete: true
Attachment #202950 -
Flags: superreview?(roc)
Attachment #202950 -
Flags: review?(roc)
Assignee | ||
Comment 17•19 years ago
|
||
Attachment #202950 -
Attachment is obsolete: true
Attachment #202951 -
Flags: superreview?(roc)
Attachment #202951 -
Flags: review?(roc)
Attachment #202950 -
Flags: superreview?(roc)
Attachment #202950 -
Flags: review?(roc)
Assignee | ||
Comment 18•19 years ago
|
||
Attachment #202951 -
Attachment is obsolete: true
Attachment #202952 -
Flags: superreview?(roc)
Attachment #202952 -
Flags: review?(roc)
Attachment #202951 -
Flags: superreview?(roc)
Attachment #202951 -
Flags: review?(roc)
Why not just have GetIMEColor do the initialization if it hasn't been done already, instead of forcing its callers to check that?
Assignee | ||
Comment 20•19 years ago
|
||
Attachment #202952 -
Attachment is obsolete: true
Attachment #203495 -
Flags: superreview?(roc)
Attachment #203495 -
Flags: review?(roc)
Attachment #202952 -
Flags: superreview?(roc)
Attachment #202952 -
Flags: review?(roc)
Assignee | ||
Comment 21•19 years ago
|
||
Comment on attachment 203495 [details] [diff] [review] Patch rv1.5 Oops. This may make bustage with VC6.
Attachment #203495 -
Flags: superreview?(roc)
Attachment #203495 -
Flags: review?(roc)
Attachment #203495 -
Flags: review-
Assignee | ||
Comment 22•19 years ago
|
||
Attachment #203495 -
Attachment is obsolete: true
Attachment #203496 -
Flags: superreview?(roc)
Attachment #203496 -
Flags: review?(roc)
+ if (aIMEColor->mInit) + return PR_TRUE; + Just assert !aIMEColor->mInit. The only caller guarantees this. +nsTextPaintStyle::Get40PercentColor(nscolor aForeColor, nscolor aBackColor) Make it a static helper function or just move it up to the caller. + if (!mInit && mTypes) { mTypes is guaranteed to be non-null here. Remove the check. + mInit = PR_TRUE; Move this up inside the if block. + // if this retrun "return"
Assignee | ||
Comment 24•19 years ago
|
||
Attachment #203496 -
Attachment is obsolete: true
Attachment #203751 -
Flags: superreview?(roc)
Attachment #203751 -
Flags: review?(roc)
Attachment #203496 -
Flags: superreview?(roc)
Attachment #203496 -
Flags: review?(roc)
Attachment #203751 -
Flags: superreview?(roc)
Attachment #203751 -
Flags: superreview+
Attachment #203751 -
Flags: review?(roc)
Attachment #203751 -
Flags: review+
Assignee | ||
Comment 25•19 years ago
|
||
checked-in. Thank you!
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•14 years ago
|
Keywords: inputmethod
You need to log in
before you can comment on or make changes to this bug.
Description
•