[Issue N32570] [Qt 3.2.x Regression] Text wrap madness

qt-bugs at trolltech.com qt-bugs at trolltech.com
Fri Nov 21 10:32:49 GMT 2003


Hi,
On Thursday, 20. Nov 2003 20:54 Ingo Klöcker wrote:
> Could you please revert to the 3.1.x behavior for all characters that
> can occur in URLs. In http://bugs.kde.org/show_bug.cgi?id=68479 a
> KMail
> user reports:
> "Link handling in the composer window in kmail 1.5.93 has improved,
> but
> this link is broken across two lines after the % character.
>
> Even enclosing the whole link in <..> characters doesn't help.
>
> http://www.mail-archive.com/video4linux-list%
> 40listman.redhat.com/msg06262.html"
>
> Note, that this message demonstrates the bug (in the bug report the
> URL
> was in one line). I'm using Qt 3.2.3 FWIW.

I missed this one. The attached patch should fix this (and will be in
the next Qt release). I hope we have fixed all cases of characters
commonly used in URLs now. There are three cases I do not want to
change (but maybe you have some very good arguments for doing so), as
they would make line breaking for for asian languages behave rather
badly and they are not usually used in URLs. These cases are:

1(
)1
)(

Line breaks are still allowed between these characters.

Lars

--
Lars Knoll, Senior Software Engineer
Trolltech AS, Waldemar Thranes gt. 98, N-0175 Oslo, Norway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: text/x-diff
Size: 1814 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20031121/dce97e76/attachment.diff>


More information about the kde-core-devel mailing list