Closed
Bug 23851
Opened 25 years ago
Closed 24 years ago
IME-Adding spaces at beginning of line needs two spaces when IME is on
Categories
(Core :: Internationalization, defect, P3)
Tracking
()
M18
People
(Reporter: teruko, Assigned: mozeditor)
References
Details
(Whiteboard: [nsbeta2-])
Attachments
(2 files)
2.33 KB,
patch
|
Details | Diff | Splinter Review | |
2.33 KB,
patch
|
Details | Diff | Splinter Review |
This is related to bug 11994, but this happen at the beginning of the line.
When the spaces are added to the next line, the caret does not move one space bar (need to hit space bar twice) at
the beginning of the next line.
Steps of reproduce
1. Open Composer by selecting menu Task|Composer
2. Turn on the IME by Alt+~ and change the Zenkaku Hiragana mode
3. Hit the Space bar several times until go to the next line
The carret moves fine, but at the beginning of the next line, you need to hit space twice to move one carret.
Tested 2000011108 Win32 build under Winnt4.0J and 2000011208 Win32 build under Win95J.
Assignee | ||
Updated•25 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 3•25 years ago
|
||
fixed, i think.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 4•25 years ago
|
||
This still happen in 2000041009-M15 and 2000041106-M15 Win32 build.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 5•25 years ago
|
||
I don't think this is a blocker for M15 so moving to M16
Summary: IME-Adding spaces at the beginning of the line needs hit space bar twice when IME is on → IME-Adding spaces at beginning of line needs two spaces when IME is on
Target Milestone: M15 → M16
Assignee | ||
Comment 6•25 years ago
|
||
Frank, I cannot reproduce this. When I try, I get an assert: mIMECompString is
null, widget/src/windows/nsWindow,cpp line 3675. I'm assuming you want to look
at this assert. This is on NT4.
On mac I dont see either the assert or the problem reported here.
Assignee: jfrancis → ftang
Status: REOPENED → NEW
Updated•25 years ago
|
Status: NEW → ASSIGNED
Comment 8•25 years ago
|
||
reassign this back to jfrancis.
joe- I can reproduce this under English mode. I think this is a general composer
issue and nothing do with IME. teruko- am I right ? Can you see the same problem
under English keyboard ?
Assignee: ftang → jfrancis
Status: ASSIGNED → NEW
Assignee | ||
Comment 9•25 years ago
|
||
ok, i'll look at this some more. Let me know if you ever see this on anything
besides windows. windows only non-IME probs are actually pretty unlikely to be
editor problems. Maybe it's another text rendering problem.
Status: NEW → ASSIGNED
Assignee | ||
Comment 11•25 years ago
|
||
Something strange is going on here. The editor is generating the correect
content, but as soon as you hit enough spaces to get to the next line, your caret
only moves after every second space. Type an x or something, and good behavior
returns until you space to the next line again. I suspect something is wrong
with text width measuring a text node wraps across lines.
Steve, can you forward this to the right layout person?
Assignee: jfrancis → buster
Status: ASSIGNED → NEW
Comment 13•25 years ago
|
||
The problem is caused by the leading whitespace. It is skipped in
layout rendering, and that's the right behavior. In oder to keep
those space, editor has function called
"nsHTMLEditRules::DoTextNodeWhitespace" to handle this. But this
function failed to handle the leading space correctly. Some
modification in this function will make it work. Fix will be
posted below.
Comment 14•25 years ago
|
||
Comment 15•25 years ago
|
||
steve, you can reassign the bug to me, I will take care of it.
Comment 17•25 years ago
|
||
Comment 18•25 years ago
|
||
Michael, could you review my fix for this bug?
Updated•25 years ago
|
Status: NEW → ASSIGNED
Comment 19•25 years ago
|
||
reassign the bug to mjudge.
Michael,
Please review my fix and check it in if you believe it is OK.
Assignee: shanjian → mjudge
Status: ASSIGNED → NEW
Comment 20•25 years ago
|
||
I just find out that mjudge is not the right owner.
But the system does not allow me to change it. I may need
to ask someone help me to do it.
Comment 21•25 years ago
|
||
reasigning this back to jfrancis, Joe can you review the patch?
Assignee: mjudge → jfrancis
Assignee | ||
Comment 22•25 years ago
|
||
This is a dup of 43030, which I am working on. I think I have to do more than
just what is done in the patch here. I'll make sure I understand what you've
done and why it works for you... thanks.
*** This bug has been marked as a duplicate of 43030 ***
Status: NEW → RESOLVED
Closed: 25 years ago → 25 years ago
Resolution: --- → DUPLICATE
Reporter | ||
Comment 24•24 years ago
|
||
This is still reproduciable in 2000-09-18-05 Win32 build. Reopenning.
Status: VERIFIED → REOPENED
Resolution: DUPLICATE → ---
Comment 25•24 years ago
|
||
marking as a dup again -- please do not reopen the bug unless the the dup'ed bug
has been resolved and verified as fixed
this has been marked as a dup of 43030, that has been marked as a dup of 47015.
Bug 47015 is still very much open
*** This bug has been marked as a duplicate of 43030 ***
Status: REOPENED → RESOLVED
Closed: 25 years ago → 24 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•