Closed Bug 317974 Opened 19 years ago Closed 18 years ago

backspace over italic characters or deleting previous characters leaves artifacts

Categories

(SeaMonkey :: Composer, defect)

x86
Windows 2000
defect
Not set
trivial

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 96041

People

(Reporter: bill, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b2) Gecko/20050702
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b2) Gecko/20050702

Backspacing over an italic character while composing does not clear the entire character box; artifacts or garbage is left in upper right corner of character area when a thick font such as "System", "Fixedsys", or some others are in use. 

It appears that when a final italic character is deleted or shifted left, the width of a normal character is blanked rather than by that of a wider italic character, leaving artifacts beyond the end of the text line. The extraneous garbage is not included with the text, and disappears if the page is redrawn by  minimizing and restoring.   

Also fails in Netscape 7.2 

Reproducible: Always

Steps to Reproduce:
1. Open a new Compose page, go to text input area 
2. Set font to "System" or "Fexedsys" and turn on Italic
3. Type a number of wide characters, for example HHHHHHHHHHHH
4. Backspace repeatedly over the final characters, or use Delete key from the beginning 
Actual Results:  
As the line becomes shorter, extraneous pixels are left beyond the end of the text.

Expected Results:  
As the line becomes shorter, the area following the text should be blanked.

The text itself is not corrupted, but the visual effect is messy and can be confusing.

Found originally in Thunderbird 1.5RC1 and reproduced in Mozilla 1.8b2 and Netscape 7.2 on Windows 2000 Pro.

Does not fail in Outlook Express 6 on Windows 2000 Pro.
Related to/duplicate of Core bug 210398 -> Core bug 197129 -> Core bug 96041?
It's definitely a dupe of bug 210398; I'll assume the duplicates are correct.

*** This bug has been marked as a duplicate of 96041 ***
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.