Closed Bug 57599 Opened 24 years ago Closed 22 years ago

Mozilla doesn't line-break tooltips

Categories

(Core :: XUL, defect, P3)

defect

Tracking

()

VERIFIED DUPLICATE of bug 45375
Future

People

(Reporter: karl, Assigned: mikepinkerton)

References

()

Details

(Keywords: helpwanted, Whiteboard: [xul1.0-layout-popups])

Attachments

(1 file)

(Don't know if this is the right component.)

When displaying long tooltips, Mozilla doesn't do linebreaking, making the 
tooltip flow past the end of the screen (or at least making the tooltip very 
difficult to read with overly long lines). You can see an example at 
<URL:http://home.no.net/huftis/> (hover over the text with green underlining).

I propose that Mozilla should break lines in tooltips so there's only ~66 
characters on each line.
->future
Status: NEW → ASSIGNED
Target Milestone: --- → Future
Blocks: 42764
*** Bug 59224 has been marked as a duplicate of this bug. ***
Note this comment from duplicate bug 59224. Changing OS to "All" -


------- Additional Comments From Phil Schwartau 2000-11-06 11:05 -------

Confirming bug using commericial binaries 20001105xx on WinNT, Linux, and Mac. 
Changing OS to "All". Note the behavior on all three platforms is different.
On Linux, long titles get truncated when we reach the edge of the screen;
on the other two platforms, the title continues off the screen.
OS: other → All
Hardware: Other → PC
->xpapps
Assignee: trudelle → vishy
Status: ASSIGNED → NEW
Component: XP Toolkit/Widgets → XP Apps
QA Contact: jrgm → sairuh
QA Contact: sairuh → tpreston
nav triage team:

Nice to have, but don't think we'll get to it for beta1, marking nsbeta1-
Keywords: nsbeta1-
*** Bug 42764 has been marked as a duplicate of this bug. ***
I have an example of this in xpfe.  Will create an image attachment to 
illustrate.  Multiline tooltips are not handled.
Keywords: helpwanted
toolkit -> trudelle should find owner.
Might be post-1.0.
Assignee: vishy → trudelle
Component: XP Apps → XP Toolkit/Widgets
->pinkerton, still future
Assignee: trudelle → pinkerton
Blocks: 83268
Hardware: PC → All
*** Bug 85741 has been marked as a duplicate of this bug. ***
In the context of XUL tooltips, you can limit the width of your tooltip by 
specifying a hardcoded width.

<popup id="aTooltip" 
    class="tooltip" 
    oncreate="return koFillInTooltip(document.tooltipNode);">
    <html id="TOOLTIP-tooltipText" class="tooltip-label" flex="1" width="300"/>
</popup>

It wraps, but the other lines are chopped (tooltip, not text). The attachment on 
this bug is a good example of how it looks.
This is probably related to bug 92093 in that if you fix 92093 this will in
effect be fixed as well.
Keywords: oeone
Whiteboard: [xul1.0-layout-popups]
Should be fixed in 1.0.
Target Milestone: Future → mozilla1.0
Tom Mraz: did you just volunteer to fix this bug? if not you should not be 
messing w/ the target milestone field, that's reserved for the assignee's use 
to indicate when the assignee hopes to fix the bug.
Target Milestone: mozilla1.0 → Future
Sorry about that, my mistake, I'll never do that again :-)
*** Bug 111590 has been marked as a duplicate of this bug. ***
Blocks: advocacybugs
This is a duplicate of bug 45375, isn't it???

*** This bug has been marked as a duplicate of 45375 ***
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Verified dupe
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: