[Issue N32570] [Qt 3.2.x Regression] Text wrap madness
Ingo Klöcker
kloecker at kde.org
Thu Nov 20 19:54:34 GMT 2003
Hi!
On Monday 20 October 2003 13:42, qt-bugs at trolltech.com wrote:
> On Thursday, 16. Oct 2003 11:13 Ingo Klöcker wrote:
> > On Wednesday 15 October 2003 20:15, Martijn Klingens wrote:
> > > On Wednesday 15 October 2003 18:12, Ingo Klöcker wrote:
> > > > The solution is obviously not to break after '/'. If someone
> > > > writes
> > > > two/ three he can easily add a space after the '/' in case he
> > > > wants
> > > > a line break after the '/'. In fact that's what I've been doing
> > > > all
> > > > the time. If OTOH Qt breaks after '/' then there's nothing the
> > > > user
> > > > can do to prevent this (unless he completely disables
> > > > wordwrapping).
> > >
> > > That breaks the automatic formatting though. If you remove text
> > > in that paragraph (causing a reformat) you'd end up with an
> > > unwanted (and typographically incorrect) space.
> >
> > Of course, I anticipated this (absolutely correct) reply. ;-)
> >
> > [snip]
> >
> > > In other words, the best would be the text wrapping recognizing
> > > URLs and adjusting its behaviour.
> >
> > I agree. But I didn't propose this because AFAIU the implementation
> > it's
> > completely agnostic about the context. So the only solution I can
> > see is a OnlyBreakAtWhiteSpace mode (which is basically what Marc
> > requested).
>
> After thinking about it once again, I think the best is to revert to
> 3.1.x behaviour for slashes. I might reevaluate the whole thing for
> Qt4, but before that, we're probably better off like this.
>
> Lars
>
> --
> Lars Knoll, Senior Software Engineer
> Trolltech AS, Waldemar Thranes gt. 98, N-0175 Oslo, Norway
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.
Regards,
Ingo
-------------- 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/20031120/e36ec518/attachment.sig>
More information about the kde-core-devel
mailing list