Closed
Bug 72687
Opened 24 years ago
Closed 24 years ago
link title mouseover display truncates at ~80 characaters
Categories
(Core :: XUL, defect)
Tracking
()
VERIFIED
INVALID
People
(Reporter: jblosser-moz, Assigned: hewitt)
References
()
Details
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.14-15mdk i686; en-US; 0.8.1)
Gecko/20010312
BuildID: 2001032008
<a> tags with the 'title' attribute display the text that is the value of this
attribute when you mouse over, but if the text is long, it truncates. It
happens at around 80 chars, but appears to be more based on absolute # of pixels
than any # of chars. I've seen words truncated in the middle of letters.
Posting this from 2001031221, but I dl'ed 2001032008 (latest as I write this) to
verify it's still there.
Reproducible: Always
Steps to Reproduce:
1. View a page with links that use the title attribute, such as
http://jblosser.firinn.org/tmp/long_link_title.html
2. Mouseover the links.
3. Note that the text is truncated.
4. Note that on the above page's "bar" link, the truncation is in the middle of
the second letter 'e' in 'here' (on my display at least).
Actual Results: Link title mouseovers are truncated.
Expected Results: Entire link title displayed, possibly wrapped as needed.
Obviously link titles this long aren't necessarily ideal design, but I think
they should be handled anyway. Designers are trying to use these standard basic
HTML elements instead of other things like JS layers/etc. to allow for short
link text w/more descriptive titles as mouseovers. Long titles like this are
displayed entirely and wrap as needed on IE 5+ on MS PCs and Macs, and it works
fine in NS 4.x on MS PCs, though not on NS 4.x on Macs or Linux PCs.
| Reporter | ||
Comment 1•24 years ago
|
||
This bug does *not* appear to be present on the Macintosh, tested on build
2001032008. It *is* present on MSWin build 2001032004.
Comment 2•24 years ago
|
||
This may be window-manager specific on X. On a CVS build for today, both
popups show the full text for me; however, the first popup spills
outside the Mozilla window, and if the Mozilla window is too close to the
right hand side of the screen, it pops up at the top left corner instead
of over the link. (If you move the Mozilla window far enough to the right,
the long string will pop up to the left, but at 1280x1024 it has to be
pushed mostly off the screen.)
(Environment: fvm2, XFree86 4.0.2, x86 RH 6.2 Linux.)
| Reporter | ||
Comment 3•24 years ago
|
||
I get identical results using enlightenment, kwm, and twm. In any case, my
window is normally wide enough that it shows as much as it shows well inside the
window, and truncates it well before reaching the full width of the window. If
I move the mozilla window off the screen to the right, it does pop up to the
left of the mozilla window, but it's still truncated at the same place.
widgets?
Assignee: clayton → trudelle
Component: HTML Element → XP Toolkit/Widgets
QA Contact: bsharma → jrgm
Comment 5•24 years ago
|
||
->pink
Assignee: trudelle → pinkerton
Status: UNCONFIRMED → NEW
Ever confirmed: true
Updated•24 years ago
|
Target Milestone: --- → Future
Comment 6•24 years ago
|
||
This still happens. I am using Windows, build 2001-12-18.
I think hewitt is king of tooltip land, so reassigning to him.
Assignee: pinkerton → hewitt
Severity: minor → normal
Keywords: mozilla0.9.9
OS: Linux → All
Target Milestone: Future → ---
Comment 7•24 years ago
|
||
This is intentional. Tooltips have a max-width and they crop right; they do
not wrap.
It used to be the case where this was not uniform between modern and classic,
and there may formally have been some windowmanager dependency, but that is
no longer the case in current builds. The current behaviour on Linux is as
intended.
But, inevitably, someone will file the bug for the RFE: Perhaps tooltips should
wrap (or not). So, I filed it as bug 116142.
But this bug is dead.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•