Bug 162185 - tooltip is too long
Summary: tooltip is too long
Status: RESOLVED FIXED
Alias: None
Product: krfb
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Thomas Reitelbach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-16 22:18 UTC by Markus Grob
Modified: 2009-09-24 11:47 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
picture with long tooltipp (13.00 KB, image/png)
2008-05-16 22:20 UTC, Markus Grob
Details
Screenshot showing the help text without line breaks (232.07 KB, image/png)
2008-12-21 01:12 UTC, Ronny Standtke
Details
patch using richtext for the toolip (5.51 KB, text/plain)
2009-09-24 11:47 UTC, Burkhard Lück
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Grob 2008-05-16 22:18:55 UTC
Version:           4.0.4 (using KDE 4.0.4)
Installed from:    SuSE RPMs
OS:                Linux

If you choose personal invitation, the tooltipp for help and "how to choose a connection" is too long (picture will be given). The tooltipp for "more over invitations" is set right.
Comment 1 Markus Grob 2008-05-16 22:20:05 UTC
Created attachment 24796 [details]
picture with long tooltipp

shows the error
Comment 2 Ronny Standtke 2008-12-21 01:11:22 UTC
I have a similar issue, the help text "how to connect" in German contains no line breaks and therefore is not completele readable. I will attach a screenshot
Comment 3 Ronny Standtke 2008-12-21 01:12:12 UTC
Created attachment 29504 [details]
Screenshot showing the help text without line breaks
Comment 4 Ronny Standtke 2009-01-15 13:04:47 UTC
This bug is still present in KDE-4.2rc1.
Comment 5 Ronny Standtke 2009-01-28 21:14:33 UTC
This bug is still present in KDE-4.2 final.
Comment 6 Michael Leupold 2009-09-12 14:25:22 UTC
I can reproduce on 4.3.1 as well.
Comment 7 George Goldberg 2009-09-12 14:49:02 UTC
I can't reproduce this with English KDE, which suggests it's probably a bug with the German translation. Reassigning appropriately.
Comment 8 Frederik Schwarzer 2009-09-12 17:43:22 UTC
SVN commit 1022803 by schwarzer:

add some newlines to avoid the tooltip exceeding the screen limit

BUG: 162185

 M  +10 -10    krfb.po  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1022803
Comment 9 Frederik Schwarzer 2009-09-12 17:46:25 UTC
SVN commit 1022804 by schwarzer:

add some newlines to avoid the tooltip exceeding the screen limit

This is now fixed in trunk and 4.3.x.

Thanks for the reports.

CCBUG: 162185

 M  +10 -10    krfb.po  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1022804
Comment 10 Burkhard Lück 2009-09-24 11:45:56 UTC
This bug was fixed by the german team by adding some missing newlines to the 
translations.

But I think, that is not a proper solution for these long texts in QToolTip.
Consider a different screen resolution or size, greater font size for the 
tooltip text etc.
Then this will be displayed wrong even in english.

The attached patch for trunk seems to be a better fix for this bug, it uses 
richtext with a few <br> tags for new paragraphs for the tooltips, then the 
line breaks are automatically done by Qt - properly for each resolution/font 
size/language.
Comment 11 Burkhard Lück 2009-09-24 11:47:34 UTC
Created attachment 37147 [details]
patch using richtext for the toolip