Bug 120063 - auto wrapping of text
Summary: auto wrapping of text
Status: CONFIRMED
Alias: None
Product: kolourpaint
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: HI wishlist
Target Milestone: ---
Assignee: kolourpaint-support
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-13 21:14 UTC by Tobias Ernst
Modified: 2014-09-30 21:11 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Ernst 2006-01-13 21:14:55 UTC
Version:            (using KDE KDE 3.4.0)
Installed from:    Gentoo Packages

I would like to have text automatically wrap according to the size of the box. If I resize the box before finishing it, the text should automatically rewrap.

Of course this feature should be an option, as in other situations it might be preferable to manually enter thei line breaks instead.

I need this feature when translating the titels and labels in scanned technical drawings.
Comment 1 Clarence Dang 2006-01-15 11:40:36 UTC
Do you mean like "Dynamic Word Wrap" in KWrite/Kate?

If so, I hope to implement this this year for KDE 4.

I don't think there needs to be an option to turn this new proposed behaviour off as you will still be able to explicitly specify line breaks like in KWrite.  Do you agree/disagree?
Comment 2 Tobias Ernst 2006-01-17 12:44:50 UTC
Hi

> Do you mean like "Dynamic Word Wrap" in KWrite/Kate?


To be honest, I don't know the other KDE applications at all (I just 
didn't find any non-KDE paint program that suits me - kolourpaint is the 
best one even without word wrap).

What I mean is the default behaviour of any text box or "text frame" in 
e.g. OpenOffice or (just installed it to check) KWord. You create a text 
box, type some text, and the text wraps according to the borders of the 
box. Whereas in kolourpaint, the text doesn't wrap, but just disappears 
behind the right margin when the line is longer than the width of the box.

Of course, if the text box is resized (prior to finalizing, that is), 
the text should of course re-wrap to always optimally fit within the box.

My workflow using <Jehova>MS Paint</Jehova) is like this: I identify one 
label in my drawing, say, a three line text like

"flexible tubing
  connector for
  gas inlet"

I then use the text tool and open up a text box that exactly covers the 
old label. In side the text box, I type the German translation of that 
string, which is automatically wrapped as needed. Sometimes my 
translation will be longer than the original, so I then experiment with 
the size of the text box until everything fits in well. When done, I 
click outside the text box window to finalize it. After that, the text 
can't be edited/reflowed any more, which is fine for me.

> If so, I hope to implement this this year for KDE 4.


That would be great!

> I don't think there needs to be an option to turn this new proposed
> behaviour off as you will still be able to explicitly specify line
> breaks like in KWrite.  Do you agree/disagree?


I'm sure there's someone out there who likes the fact that there isn't 
any automatic wrapping at all, and that superfluous text just disappears 
behind the right margin. Then again, you could first leave out the 
option and see if anybody complains. Surely most tasks I could think of 
cound be handled with automatic wrapping enabled and without a need for 
switiching to the old behaviour.

Regards
Tobias
Comment 3 Clarence Dang 2006-12-17 04:26:27 UTC
Reassigning bugs to KolourPaint support email address.