RE: Dealing with zero-sized windows.

2000-08-03 Thread Stephane Lussier

Gerard wrote:
 While this patch makes some of my test apps work better,one
 exhibits a regression :
 winhelp. I use Nt4 Sp3,the file is dated from 1997; I did not
 test other versions.

 The problem is that the first window appears behind all other
 non-Wine windows,
 so it seems  to vanish. If I bring it to the foreground it is
 functional as before.

 Of course the way this app is displaying is very specific.

 If you want traces, etc, I'll take one week of holidays this
 Friday so don't waste time
 if you are interested. Or later (in 10 days :-))

 Anyway, I would not be surprised if other versions of winhelp
 have the same
 problem, so it's possible you will be able to reproduce it.


I presume this is what's happenning:
1. The window is created with widht=0 and heigh=0
2. The window is then activated/put on the foreground
3. Then the size of the window is changed to something that make sense.

I'm not sure how to fix this problem yet, I will need to think about it. I
should be able to find the right winhelp reproducing this behvior. I've got
just a couple quick questions on your setup:

Are you using any native DLL?
Which desktop/WM are you using? (KDE? Gnome?) Some Window managers are very
sensitive to Z ordering with Wine.

Stephane Lussier
Macadamian Technologies






RE: Dealing with zero-sized windows.

2000-08-03 Thread gerard patel

At 09:20 AM 8/3/00 -0400, you wrote:
Gerard wrote:

snip something better to be forgotten :-/

I presume this is what's happenning:
1. The window is created with widht=0 and heigh=0
2. The window is then activated/put on the foreground
3. Then the size of the window is changed to something that make sense.

I'm not sure how to fix this problem yet, I will need to think about it. I
should be able to find the right winhelp reproducing this behvior. I've got
just a couple quick questions on your setup:

Ooops.
I think it's not needed :-((( I must have done a big mistake, forgotten to
remove test patches from my temporary work(dump) wine tree or some other
stupid error. After zapping it and creating it again from my clean Cvs image,
I can't reproduce the problem. Sorry, it was probably a false alarm...

Gerard