Word Wrap Problem

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
simeon.mattes
Level 2
Level 2
Posts: 11
Joined: Wed Dec 31, 2008 6:47 am

Word Wrap Problem

Post by simeon.mattes »

Hi,

I have installed openSuse 11.1, which uses wine 1.1.11. I had already used wine with openSuse 10.3 which, I think, had the version 1.0.

I have a dictionary for windows which doesn't work well in wine 1.1.11 but it worked with a small problem, but not so big, in 1.0.

As in all dictionaries, the explanation of a word is shown in a text box. When the explanation is too long the text box automatically wrap the words or it shows a horizontal scollbar or something equivalent so as to read the rest text. This doesn't happen in my case. For example let say that the text box has 5 cm width

This is a very long long long long long long long
long long long long long long long long long long
long long long long long long long long long long
long long long long long long long long long long
long long long long long long long long long long
text.

In my case, after the first sentence nothing is shown since everything is hidden. The problem is not only that the words are not wrapped but also that the cursor doesn't move on so as to reveal the hidden words.

I didn't have this problem in wine 1.0. What I had was that although the words were wrapped when the text reached the hight of the toolbox everything again were hidden. Nevertheless, I could move the cursor downwards and see the rest text.

Is there anything I could do?
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

Word Wrap Problem

Post by austin987 »

On Wed, Dec 31, 2008 at 6:11 AM, simeon.mattes
<[email protected]> wrote:
Hi,

I have installed openSuse 11.1, which uses wine 1.1.11. I had already used wine with openSuse 10.3 which, I think, had the version 1.0.

I have a dictionary for windows which doesn't work well in wine 1.1.11 but it worked with a small problem, but not so big, in 1.0.

As in all dictionaries, the explanation of a word is shown in a text box. When the explanation is too long the text box automatically wrap the words or it shows a horizontal scollbar or something equivalent so as to read the rest text. This doesn't happen in my case. For example let say that the text box has 5 cm width

This is a very long long long long long long long
long long long long long long long long long long
long long long long long long long long long long
long long long long long long long long long long
long long long long long long long long long long
text.

In my case, after the first sentence nothing is shown since everything is hidden. The problem is not only that the words are not wrapped but also that the cursor doesn't move on so as to reveal the hidden words.

I didn't have this problem in wine 1.0. What I had was that although the words were wrapped when the text reached the hight of the toolbox everything again were hidden. Nevertheless, I could move the cursor downwards and see the rest text.

Is there anything I could do?





Try native richedit.

--
-Austin
James Mckenzie

Word Wrap Problem

Post by James Mckenzie »

On Wed, Dec 31, 2008 at 6:11 AM, simeon.mattes
<[email protected]> wrote:
Hi,

I have installed openSuse 11.1, which uses wine 1.1.11. I had already used wine with openSuse 10.3 which, I think, had the version 1.0.

I have a dictionary for windows which doesn't work well in wine 1.1.11 but it worked with a small problem, but not so big, in 1.0.

As in all dictionaries, the explanation of a word is shown in a text box. When the explanation is too long the text box automatically wrap the words or it shows a horizontal scollbar or something equivalent so as to read the rest text. This doesn't happen in my case. For example let say that the text box has 5 cm width

This is a very long long long long long long long
long long long long long long long long long long
long long long long long long long long long long
long long long long long long long long long long
long long long long long long long long long long
text.

In my case, after the first sentence nothing is shown since everything is hidden. The problem is not only that the words are not wrapped but also that the cursor doesn't move on so as to reveal the hidden words.

I didn't have this problem in wine 1.0. What I had was that although the words were wrapped when the text reached the hight of the toolbox everything again were hidden. Nevertheless, I could move the cursor downwards and see the rest text.

Is there anything I could do?
Try native richedit.
This appears to be a regression. Since there were many releases between Wine 1.0 and Wine 1.1.11 running a regression test would be a lengthy process. However, can you attempt to install a lower development Wine release version, something like Wine 1.1.7 or Wine 1.1.6 to see if the problem exists there?

Thank you.

James McKenzie
simeon.mattes
Level 2
Level 2
Posts: 11
Joined: Wed Dec 31, 2008 6:47 am

Post by simeon.mattes »

Thanks both for your response.

Could you please Austin give me some tips about native richedit, maybe some sites or tutorials?
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

simeon.mattes wrote:Could you please give me some tips about native richedit, maybe some sites or tutorials?

Code: Select all

wget http://www.kegel.com/wine/winetricks
sh ./winetricks riched20
See http://wiki.winehq.org/winetricks for more details.
simeon.mattes
Level 2
Level 2
Posts: 11
Joined: Wed Dec 31, 2008 6:47 am

Post by simeon.mattes »

I don't believe it....Everything worked....Thanks
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

Word Wrap Problem

Post by austin987 »

On Thu, Jan 1, 2009 at 4:59 AM, simeon.mattes <[email protected]> wrote:
I don't believe it....Everything worked....Thanks





Please file a bug at http://bugs.winehq.org. Be sure to attach a
+richedit log (with builtin, not native).

--
-Austin
simeon.mattes
Level 2
Level 2
Posts: 11
Joined: Wed Dec 31, 2008 6:47 am

Post by simeon.mattes »

Sorry for my ignorance. It's the first time I do something like this what do you mean by "Be sure to attach a +richedit log (with builtin, not native)."?
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

Word Wrap Problem

Post by austin987 »

On Thu, Jan 1, 2009 at 5:31 PM, simeon.mattes <[email protected]> wrote:
Sorry for my ignorance. It's the first time I do something like this what do you mean by "Be sure to attach a +richedit log (with builtin, not native)."?





$ WINEDLLOVERRIDES="riched20=b" WINEDEBUG=+richedit wine program.exe
&> /tmp/log.txt

Then attach /tmp/log.txt to the bug.


--
-Austin
simeon.mattes
Level 2
Level 2
Posts: 11
Joined: Wed Dec 31, 2008 6:47 am

Post by simeon.mattes »

Ok...I sent it. Thanks again
User avatar
André H.
Moderator
Moderator
Posts: 207
Joined: Sun Dec 07, 2008 8:33 am

Post by André H. »

which bug number is it?
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

Word Wrap Problem

Post by austin987 »

2009/1/2 André H. <[email protected]>:
which bug number is it?





http://bugs.winehq.org/show_bug.cgi?id=16723

--
-Austin
Locked