Closed Bug 336428 Opened 18 years ago Closed 18 years ago

[regression] Caret problems (turds and positioning)

Categories

(Core :: DOM: Editor, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: stevee, Assigned: mozeditor)

References

()

Details

(Keywords: regression)

Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a1) Gecko/20060502 Minefield/3.0a1 ID:2006050216

1. Go to gmail
2. Click compose
3. Enter a load of spaces
4. Hold the delete key and observe the caret isn't undrawn.

Actual: Lots of caret images left on the text area ("|||||||||||")
Expected: No caret images left on the text area

also

1. Go to gmail
2. Click compose
3. Enter "firefox " (without the quotes, but with the trailing space) and hit return.
4. Press left arrow once.

Expected: Caret should appear after the "firefox " (note space) (eg: "firefox |")
Actual: Firefox appears to ignore the space and draws the caret after "firefox" (eg: "firefox|")

I've filed these two bugs as one since I suspect they are caused by the same problem.
Assignee: nobody → mozeditor
Component: General → Editor
Product: Firefox → Core
QA Contact: general
Is this in a rich editor or the textarea? This sounds related to bug 335858.
Blocks: 287813
Don't know if google use a rich text editor, but this only started happening to me today.
I check a patch in today that could fix this sort of bug. Could you re-test with tomorrow's builds? Thanks.
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a1) Gecko/20060504 Minefield/3.0a1 ID:2006050401

OK the turd problem seems to have gone (I assume bug 335834 fixed this) but the positioning bug is still there. I'll resolve this fixed and refile the caret positioning portion of the original report as a new bug.

(I would make this bug depend/block bug 335834 but I never know which filed to use)
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
In general, when a bug is fixed by a patch in some other bug, it depends on that bug.
When a patch in some other bug caused the bug, the bug is blocking the other bug with the patch.
Depends on: 335834
> When a patch in some other bug caused the bug, the bug
> is blocking the other bug with the patch.

Which has never made any logical sense to me at all.  (That's the tail wagging the dog.)  It's the patch that's blocking the correct behaviour.  If the patch is fixed (backed out / modified), then the bug will be fixed. :)
Thanks martin! I've saved that little nugget somewhere accessable for future reference :)

And the other positioning bug I was seeing was bug 336408.
You need to log in before you can comment on or make changes to this bug.