Closed
Bug 53542
Opened 25 years ago
Closed 2 years ago
Strange caret position in urlbar text box
Categories
(Core :: DOM: Editor, defect, P3)
Tracking
()
RESOLVED
WORKSFORME
Future
People
(Reporter: tenthumbs, Unassigned)
Details
(Keywords: helpwanted, platform-parity, Whiteboard: [caret][correctness])
Attachments
(3 files)
I hope I've got the right component; change it if I'm wrong.
I've been testing with a number of the standard X fonts and I've turned
up this anomaly. See the attached image and note the caret position.
Then note the caret position after I backspace three times.
For comparison, look at the Adobe Courier font. It appears much better
but look more closely and you'll see that the caret is actually sitting
over the last part of the past letter. Now this is with monospaced fonts
but proportional fonts also show problems. With the standard Helvetica
font, the caret is on top of the 'l' in "html".
This may or may not be related to bug 47582 which describes a vertical
alignment problem.
The images are from an 0918 build but an 0920 build does the same thing.
Comment 2•25 years ago
|
||
->editor
Assignee: trudelle → beppe
Component: XP Toolkit/Widgets → Editor
QA Contact: jrgm → sujay
setting milestone to 0.9, want to try and pick this up for 6.5
anthonyd
ps.
also adding kin to cc list, since this may be related to one of his bugs (47582)
Status: NEW → ASSIGNED
Target Milestone: Future → mozilla0.9
Comment 7•25 years ago
|
||
moving to moz0.9.1, added correctness
Keywords: correctness
Target Milestone: mozilla0.9 → mozilla0.9.1
Comment 8•25 years ago
|
||
I wanted to capture in the bug a response I recieved from the reporter:
It's still there with a 2001-01-19-08 trunk build. I have screenshots if you
want them.
I discovered this because two things coincided:
1) I find it difficult to read proportional fonts in the urlbar and there too
small anyway so I have
#urlbar {
font-family: "Andale Mono",monospace !important;
font-size: 12pt !important;
}
in userChrome.css.
The important point is using monospaced fonts. For my tests, Andale Mono
wasn't available and no default monospace font was specified so Mozilla found
the Bitstream font.
2) I've been testing Mozilla with a variety of font paths to see how it
performs. In particular, I tested how it works with no bitmap fonts available.
As you may know, Mozilla greatly prefers bitmap fonts over scalable ones.
You may have to reorder your X server's font path to see this, remove the
bitmap font paths, or specify the font directly. (BTW, it's very convenient to
run Mozilla in an Xnest server if you plan on messing with the font path.)
This font is also quite old so it's been around for a while and it works in
other apps. There doesn't seem to be anything particularly odd about its
metrics.
Now, normally, I would say this is just one particular font so why bother, but
it is included in all the X distributions so it will eventually be used.
Moreover, it is the only scalable Courier font in the normal distribution. I
would say it's necessary to determine what's going on here.
Comment 9•24 years ago
|
||
move to mozilla1.0
Keywords: helpwanted,
pp
Target Milestone: mozilla0.9.1 → mozilla1.0
Comment 11•24 years ago
|
||
Bulk move of mozilla1.0 bugs to mozilla.1.0.1. I will try to pull some of these
back in if I can.
Target Milestone: mozilla1.0 → mozilla1.0.1
Comment 12•19 years ago
|
||
Bug still appears in Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060418 Firefox/3.0a1
Comment 13•19 years ago
|
||
This bug still appears in the latest trunk:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060418 Firefox/3.0a1
Comment 14•19 years ago
|
||
This bug still appears in the latest trunk:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060418 Firefox/3.0a1
I tried to select the "."-sign of the url.
Updated•19 years ago
|
Attachment #218971 -
Attachment description: Still appears in the latest trunk. → DOUBLE, please remove
Comment 15•19 years ago
|
||
Updated•18 years ago
|
QA Contact: sujay → editor
Updated•18 years ago
|
Assignee: kinmoz → nobody
Comment 16•7 years ago
|
||
Moving to p3 because no activity for at least 1 year(s).
See https://github.com/mozilla/bug-handling/blob/master/policy/triage-bugzilla.md#how-do-you-triage for more information
Priority: P2 → P3
Updated•3 years ago
|
Severity: normal → S3
Comment 17•2 years ago
|
||
I think that this was caused by the old gfx and the old nsTextFrame
. I mark this as WFM. Please reopen a new bug as text layout issue if you still see similar issue.
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•