[Qt 3.2.x Regression] Text wrap madness

Marc Mutz mutz at kde.org
Tue Oct 7 22:45:40 BST 2003


Hi!

See http://bugs.kde.org/show_bug.cgi?id=63766

Someone decided it might be cool to break lines not only at whitespace, 
but also at (certain?) non-alnum characters. You know, I could 
_potentially_ understand wrapping lines after hyphens. But that looks 
fishy already, since hyphens at the end of the line typically are 
hyphenations, but here, they're not.

But what happened to me yesterday is _so_ mad that I do think this is a 
bug in the implementation or simply a feature that went berzerk.

Consider: foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo C+
+ foo foo foo foo

What I did was to type "Consider: C++ foo foo foo foo", then went back 
to just after the colon and added foo's until the C++ would be pushed 
in the next line. But guess what? It's wrapped _inside_ the word!

I can reproduce it using examples/textedit in the same way as above, so 
it's not a bug in KMail.

Please make this feature available through a separate enum value for 
WrapPolicy and restore the Qt 3.1 behaviour of wrapping at whitespace 
characters only for AtWordBoundary (or de-deprecate AtWhitespace)

Marc

-- 
Ich gegen meinen Bruder.
Ich und mein Bruder gegen unseren Cousin.
Ich, mein Bruder und unser Cousin gegen unsere Nachbarn.
Wir alle gegen den Fremden.
                                      -- Beduinen-Sprichwort
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: signature
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20031007/8c530251/attachment.sig>


More information about the kde-core-devel mailing list