Closed Bug 295769 Opened 19 years ago Closed 13 years ago

when pasting a large URL, the location bar renders text over itself (overlap)

Categories

(Firefox :: Address Bar, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 257660

People

(Reporter: vlad, Unassigned)

References

Details

Attachments

(2 files)

Deer Park Preview 1 (0527 build)

I accidentally had a large chunk of text selected (the body of my gmail inbox),
and middle-clicked in a new window.  I got an error from googe (default
are-you-feeling-lucky search), but the location bar text was badly misrendered.

To reproduce:
1. Select large amount of text on some page (select all on news.google.com works)
2. Control-C to copy
3. Open new tab
4. Control-L Control-V <enter> to paste into location bar
5. See misrendered location bar
WFM on windows.

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050527
Firefox/1.0+ ID:2005052712
I swear I'm not crazy.	Could be linux-only :)
1. have you tried in -safe-mode to rule out any extension ?
2. did you try the official build ?
This also happens for tooltips for long bookmarks (e.g. javascript scriptlets).

No extensions installed, I'm running the official DP Alpha 1 build.

Can someone attempt to verify this on linux?  It could just be a Gtk gfx problem.
*** Bug 334614 has been marked as a duplicate of this bug. ***
*** Bug 338510 has been marked as a duplicate of this bug. ***
Blocks: longlines
Summary: when pasting a large URL, the location bar renders text over itself → when pasting a large URL, the location bar renders text over itself (overlap)
The overlap problem is not just from pasting a long URL. It can also result from a long URL derived from an HTTP GET operation. The instructions in bug 338510 explain how I was able to cause overlapped text consistently.
This is very similar in effect to the bug I'm seeing on Mac: bug 348202, which only became apparent since fixing the vanishing-long-line problem (bug 237085). It appears that if you have a long line of text with no breaks or whitespaces, at a certain length vs text size the end of the text begins to be drawn over the start, and vice versa. The text is also still drawn in its original position, so it's not like it's being wrapped around... it's just a copy of it that appears where it shouldn't. The more you increase the window text size, the more of the long line is covered by the duplicate text.
I can confirm this happening in the address bar, in input fields and in page content. I'm using mozilla-firefox-1.5.0.6 on Gentoo Linux.
I have replicated this as well using a poorly written cgi script for a web-based email system.

The cause was clicking a hyperlink containing a very large URL (>4k, and possibly >8k - my cut/paste buffer in xfce is only 4k).  This happened because the code embedded the entire body of an email message in the URL itself.

Apart from garbling the address bar, on a Dell Lattitude D620 (using an nVidia card with the proprietary nVidia drivers), mousing over the address bar seems to "reliably" cause X to crash.


Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.8.0.5) Gecko/20060731 Ubuntu/dapper-security Firefox/1.5.0.5
This is a duplicate of bug 257660.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: