Closed Bug 77952 Opened 25 years ago Closed 25 years ago

Edit boxes display the blinking caret wrong

Categories

(Core :: XUL, defect)

x86
Windows 98
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 48602

People

(Reporter: mail, Assigned: trudelle)

Details

If you type text in an empty edit box, the blinking caret is "over" the last letter you have typed and not on the right of it. For example, if you type an "i" you can see that the caret is on the "i", and so the "i" is blinking. (You can best see this effect with sans-serif fonts and small text sizes. Take the URL box for testing.) This only happens if you want to type something on the end of the text, it doesn't happen elsewhere. For me it would be quite an enhancement to the look and feel of Mozilla - because with this bug you have the feeling that you don't "see" what you have typed. And it shouldn't be too difficult to check if the cursor is on the end of the text and then shift the caret position right by one pixel.
This worksforme on 2001042704 Win2k. The cursor is only "over" the letter "i" if I move it to the left of the letter. But that seems to be ok, as the cursor is 1 pixel wide and the letter "i" is 1 pixel wide, too. Could you provide a list of steps to reproduce (i.e. which keys to press when the cursor is in an empty URL bar)?
Steps to reproduce: Just click in an empty URL bar and type the "i". It works on Win2k because Win2k uses Tahoma as default system font. The width of the "i" in Tahoma is larger than in the font "MS Sans Serif" (which Win9x uses). Actually, the width of the "i" is 1 pixel in both fonts, but in Tahoma there's also a 1 pixel space on both sides of the "i". If you switch to MS Sans Serif you should see this bug too. And it's also important that you don't have "big fonts" enabled (right click on desktop -> Properties -> Settings -> Advanced).
man, did it take me a while to find this duplicate ... *** This bug has been marked as a duplicate of 48602 ***
Status: UNCONFIRMED → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
verified.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.