| Summary: | tooltip is too long | ||
|---|---|---|---|
| Product: | [Applications] krfb | Reporter: | Markus Grob <snoopy> |
| Component: | general | Assignee: | Thomas Reitelbach <tr> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | grundleborg, lemma, lueck, Ronny.Standtke |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | openSUSE | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: |
picture with long tooltipp
Screenshot showing the help text without line breaks patch using richtext for the toolip |
||
|
Description
Markus Grob
2008-05-16 22:18:55 UTC
Created attachment 24796 [details]
picture with long tooltipp
shows the error
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 Created attachment 29504 [details]
Screenshot showing the help text without line breaks
This bug is still present in KDE-4.2rc1. This bug is still present in KDE-4.2 final. I can reproduce on 4.3.1 as well. I can't reproduce this with English KDE, which suggests it's probably a bug with the German translation. Reassigning appropriately. 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 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 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. Created attachment 37147 [details]
patch using richtext for the toolip
|