Closed
Bug 56168
Opened 25 years ago
Closed 24 years ago
Missing character after closing inline tag which spans lines
Categories
(Core :: DOM: Editor, defect, P3)
Core
DOM: Editor
Tracking
()
VERIFIED
FIXED
mozilla0.8
People
(Reporter: sfraser_bugs, Assigned: mozeditor)
Details
(Keywords: dataloss)
Attachments
(2 files)
|
3.93 KB,
patch
|
Details | Diff | Splinter Review | |
|
4.03 KB,
patch
|
Details | Diff | Splinter Review |
I see a case where a character typed after closing an inline tag disappears. To
repro:
1. type abc
2. Hit cntrl-B for bold
3. type 123
4. Hit return for a new line
5. type 456
6. Hit cntrl-B to turn off bold
7. Type a single char, e.g. 'a'.
Note that the char does not appear, and the caret goes into an odd place
8. Type another char. That one will show up.
This only seems to happen if the style spans lines.
| Reporter | ||
Comment 2•25 years ago
|
||
Seen on the branch, debug and opt builds.
| Assignee | ||
Comment 3•25 years ago
|
||
i see it too; accepting bug; investigating...
Status: NEW → ASSIGNED
Updated•25 years ago
|
OS: Mac System 8.5 → All
Hardware: Macintosh → All
| Assignee | ||
Comment 5•25 years ago
|
||
| Assignee | ||
Comment 6•25 years ago
|
||
simon, kin: ready to walk you through the review. do we want this for rtm?
fairly low risk but not totally trivial. it is on important html typing path,
but will only be executed while removing styles while typing.
Whiteboard: fix in hand
| Assignee | ||
Comment 7•25 years ago
|
||
attaching a new diff that is appropriately more paranoid about null values
| Assignee | ||
Comment 8•25 years ago
|
||
Comment 9•25 years ago
|
||
add rtm need info on status whiteboard to get it in some bugzilla queries
Whiteboard: fix in hand → [rtm need info]fix in hand
Comment 10•25 years ago
|
||
PDT marking [rtm-] because (1) it's somewhat of an edge case that the inline
style would span <br>s (2) you can easily reposition the insertion point with
the mouse when that one character moves the insertion point to a bad place.
Whiteboard: [rtm need info]fix in hand → [rtm-]fix in hand
| Reporter | ||
Comment 11•25 years ago
|
||
This isn't just a case of the insertion point moving to the wrong place, it's
data loss (albeit of 1 char). The first character I type after closing the style
goes into the abyss.
However, given the size of the patch, I agree that some caution is justified.
Comment 12•25 years ago
|
||
requesting re-evaluation of this bug; I'm a touch typist and don't notice that
Composer ate some of the letters/characters I type.
Due to the size of the change/diff, maybe PDT would be more re-assured with more
reviewers than the standard 2?
Joe--can you check this in on the trunk so it could be tested there?
Keywords: dataloss
Whiteboard: [rtm-]fix in hand → [rtm+]fix in hand
Comment 13•25 years ago
|
||
PDT says rtm-, patch looks too large for marginal benefit.
Whiteboard: [rtm+]fix in hand → [rtm-]fix in hand
| Assignee | ||
Comment 14•25 years ago
|
||
well, i was requested not to check in on the trunk for the mean time, in order to
better keep the trunk and branch in sync...
Comment 15•25 years ago
|
||
moving to future since pdt deems it not rtm critical
Target Milestone: M18 → Future
| Assignee | ||
Updated•25 years ago
|
Target Milestone: Future → mozilla0.9
| Assignee | ||
Comment 16•25 years ago
|
||
moz 0.9
| Assignee | ||
Comment 17•24 years ago
|
||
this will definitely land in time for 0.8
Target Milestone: mozilla0.9 → mozilla0.8
| Assignee | ||
Comment 18•24 years ago
|
||
fixed
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Keywords: rtm
Resolution: --- → FIXED
Whiteboard: [rtm-]fix in hand
You need to log in
before you can comment on or make changes to this bug.
Description
•