Closed Bug 618753 Opened 15 years ago Closed 7 years ago

Cursor disappears when placed at the end of a long URL in location bar

Categories

(Firefox :: Address Bar, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED INACTIVE

People

(Reporter: justin.lebar+bug, Unassigned)

Details

STR: * Enter the following into your location bar: > http://localhost:8888/read&disk=disk3.img&file=/include/i686/openssl/blowfish.h and resize the window so the whole URL doesn't fit. * Focus the location bar and press <end>. Actual results: * Cursor disappears. Expected results: * Cursor doesn't disappear. Ubuntu 10.10, Mozilla/5.0 (X11; Linux x86_64; rv:2.0b8pre) Gecko/20101212 Firefox/4.0b8pre
The STR is a little finicky. I find I have to resize the window two or three times until I can reproduce.
Mozilla/5.0 (X11; Linux i686; rv:2.0b9pre) Gecko/20101229 Firefox/4.0b9pre Able to reproduce.
I can only reproduce this sometimes, and I've only seen it happen on OSX, not Windows. I thought it might have to do with padding on the input element, but messing with that didn't fix anything. Perhaps it's a problem with the input widget.
I've found that I can always reproduce on Linux if I fiddle with the window size for a bit. Focus the location bar, reduce the window's width, press <end>. Strange if that's not your experience on OSX...
I can repro this consistently with a fixed string on OS X, but it doesn't not occur with every string. It seems to be dependent on some rounding, since as I continue to type more characters, the cursor will appear and disappear depending on the input. My guess would be that it's either an input widget bug or a layout/CSS rounding bug. Would ehsan and/or dbaron know better?
oops. s/doesn't not/does not/
(In response to comment 5) > I can repro this consistently with a fixed string on OS X, but it does not > occur with every string. Do you have a fixed string which reproduces the bug regardless of the window width, or a fixed string which works for a single window width?
(In reply to comment #7) > Do you have a fixed string which reproduces the bug regardless of the window > width, or a fixed string which works for a single window width? Fixed string, single width. Whether the cursor shows up seems to be dependent on exactly these two variables: 1. the input string (seems to be just the width of it) 2. the input element's width (which of course changes when the window is resized)
(In reply to comment #8) > 1. the input string (seems to be just the width of it) For example, on OS X, the font used has the same glyph width for 'b' and 'd' with no kernings of which I'm aware, so appending a 'b' to a given input string will result in the same cursor visibility as appending a 'd' (removing that 'b' first, of course).
Per policy at https://wiki.mozilla.org/Bug_Triage/Projects/Bug_Handling/Bug_Husbandry#Inactive_Bugs. If this bug is not an enhancement request or a bug not present in a supported release of Firefox, then it may be reopened.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.