ToolTips and Automatic Formatting

vedant agarwala vedant.kota at gmail.com
Sun Aug 18 08:36:00 UTC 2013


On Sun, Aug 18, 2013 at 11:38 AM, Yuri Chornoivan <yurchor at ukr.net> wrote:

> п'ятниця, 16-сер-2013 10:44:45 Mark Kretschmann написано:
> > Heya,
> >
> > as we noticed recently, many of Amarok's ToolTips look very ugly and
> > have readability issues because they are not formatted. Therefore a
> > longer ToolTip is being rendered as one giant long line. The Qt API
> > offers automatic formatting with line-breaks for ToolTips, but there
> > is an ugly API quirk: The formatting can only be switched on by adding
> > a <html> tag to the string. In theory a wrapper could be created for
> > QWidget::setToolTip() and friends, but this wouldn't play nice with Qt
> > Designer.
> >
> > I think for consistency's sake it would be ideal to simply switch on
> > automatic formatting for *all* of our ToolTips, and not bother with
> > manual line-breaks. This is also because with translations it's
> > impossible to know the final length and look of the strings. The
> > downside is, we would have to change nearly all ToolTip strings in
> > Amarok (this could be done with some clever sed use).
> >
> > What do you think is the best way to go forward?
>
> Hi,
>
> There are no objections from me if it works beter way than before
> (regardless
> to the method chosen). However, it would be good to have some time to adopt
> the new formatting in the translations and not push the changes right
> before
> the release (like it was with docs).


IMO this should not happen. We are in string freeze and this work should
take a few days.
-Vedant

>
>
Thanks for your work.
>
> Best regards,
> Yuri
> _______________________________________________
> Amarok-devel mailing list
> Amarok-devel at kde.org
> https://mail.kde.org/mailman/listinfo/amarok-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/amarok-devel/attachments/20130818/1947584c/attachment.html>


More information about the Amarok-devel mailing list