Open Bug 1067778 Opened 10 years ago Updated 2 years ago

Tooltip with large, unwrappable text drawn incorrectly

Categories

(Core :: Layout, defect)

defect

Tracking

()

People

(Reporter: richardgodbee, Unassigned)

Details

Attachments

(2 files)

(I'm not sure if this belongs in XUL or Layout or something else...)

While changing a setting in Firefox 33.0 beta 3 (OS X)'s about:config, my mouse pointer came to rest on top of a string that is very long (498 chars) and doesn't have any whitespace (or other characters to wrap on) in it.  The tooltip that appeared was drawn incorrectly: the tooltip's solid yellow box was the same width as the Firefox window, but the box was drawn against the left side of the screen and the tooltip text spanned the entire screen width (2560 px), meaning lots of text was drawn outside the bounds of the tooltip.  (See first attached screenshot.)

Moving the mouse pointer over a string in about:config that's a whopping 9296 characters long and also has no characters to wrap on produces even weirder behavior: a pile of renderings of previously displayed tooltips is shown.  (See second attached screenshot.)

This bug only seems to be tickled by strings that are very long and don't have any characters to wrap the text on.  Tooltips with very long strings that can be wrapped before the tooltip width exceeds the Firefox window's width are rendered correctly.
Is this a new bug in Firefox33 or can you reproduce the same issue with Firefox32 ?
There is a fix for tooltips from bug 957396 in Firefox33
Flags: needinfo?(richardgodbee)
(In reply to Matthias Versen [:Matti] from comment #2)
> Is this a new bug in Firefox33 or can you reproduce the same issue with
> Firefox32 ?
> There is a fix for tooltips from bug 957396 in Firefox33

I can reproduce this in the current nightly release (20140916133141), the current beta (33.0b4), the current release (32.0.1), and the current ESR (31.1.0).
Flags: needinfo?(richardgodbee)
there is bug 805039 but that one is different
Component: Untriaged → Layout
I can't reproduce the exact same symptoms on Linux, but I can reproduce a related issue (probably the Linux manifestation of the same bug):
STR:
 1. Create about:config pref with a 3000-char string as its value. (e.g. aaaaaaaaaaaaa[...]a)
 2. Hover that pref's value, to see what kind of tooltip shows up.

ACTUAL RESULTS:
 The tooltip that shows up is just a subtle transparent shadow; there's no actual visible tooltip.

Nightly version: 35.0a1 (2014-09-17)
UA string: Mozilla/5.0 (X11; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Mac OS X → All
Hardware: x86_64 → All
Version: 33 Branch → Trunk
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: