<div dir="ltr">Hello.<div class="gmail_extra">I think the best way to go forward is, as you have said, changing all the ToolTip strings, since we have nothing better. Doing it manually would be very boring but I think it wouldn't take more than a few hours. We would just have to find setToolTip (and similar functions) and change them.</div>

<div class="gmail_extra">I have no experience with sed but it seems like a nice tool and so I would love to use it though I am pretty sure it would take me more than a few hours with sed.</div><div class="gmail_extra">After a few more opinions (i.e. in a couple of days), if we don't have a better solution, I would like to get started on this using sed.</div>

<div class="gmail_extra"><br></div><div class="gmail_extra">Cheers<br><br><div class="gmail_quote">On Fri, Aug 16, 2013 at 2:14 PM, Mark Kretschmann <span dir="ltr"><<a href="mailto:kretschmann@kde.org" target="_blank">kretschmann@kde.org</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Heya,<br>
<br>
as we noticed recently, many of Amarok's ToolTips look very ugly and<br>
have readability issues because they are not formatted. Therefore a<br>
longer ToolTip is being rendered as one giant long line. The Qt API<br>
offers automatic formatting with line-breaks for ToolTips, but there<br>
is an ugly API quirk: The formatting can only be switched on by adding<br>
a <html> tag to the string. In theory a wrapper could be created for<br>
QWidget::setToolTip() and friends, but this wouldn't play nice with Qt<br>
Designer.<br>
<br>
I think for consistency's sake it would be ideal to simply switch on<br>
automatic formatting for *all* of our ToolTips, and not bother with<br>
manual line-breaks. This is also because with translations it's<br>
impossible to know the final length and look of the strings. The<br>
downside is, we would have to change nearly all ToolTip strings in<br>
Amarok (this could be done with some clever sed use).<br>
<br>
What do you think is the best way to go forward?<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Mark Kretschmann<br>
Amarok Developer<br>
Fellow of the Free Software Foundation Europe<br>
<a href="http://amarok.kde.org" target="_blank">http://amarok.kde.org</a> - <a href="http://fsfe.org" target="_blank">http://fsfe.org</a><br>
_______________________________________________<br>
Amarok-devel mailing list<br>
<a href="mailto:Amarok-devel@kde.org">Amarok-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/amarok-devel" target="_blank">https://mail.kde.org/mailman/listinfo/amarok-devel</a><br>
</font></span></blockquote></div><br></div></div>