Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Performance > Owned window errantly made a topmost window.

Reply
Thread Tools Display Modes

Owned window errantly made a topmost window.

 
 
Chris Rehfeldt
Guest
Posts: n/a

 
      10-12-2006
I work on a set of applications where there is one main application that is
the owner window of the windows for the other applications. Everything works
fine initially, however, an interesting bug occurs when: I minimize the main
application (which minimizes the owned window application also as expected),
close the main application (which closes the owned applications as expected),
and restart the main application (which restarts the owned applications as
expected). At this point, the owned window becomes a topmost window and
doesn't minimize when the main window is minimizes. This becomes a problem
because any of the popups displayed by the owner window (and all other
applications that are not topmost) are hidden behind this topmost owned
window. This state persists no matter how many times you open or close the
main application, which does close the owned window applications, too. If you
restart the machine the state of the windows returns to normal. Here's the
real kicker on this unusual behavior: the window states return to normal if
any other application's window is restored from being minimized while the
problem application is not running.

What does all this mean? This is most definitely a bug with Windows Vista
and how it handles owner and owned window relationships. I had found another
location on the MSDN where a Microsoft representative admitted that there was
an issue with owner and owned windows with Alt-TAB on Vista. The really wierd
part of all this is that it only occurs with on subsequent instantiations of
the application after the application was minimized.

Finally, we're testing our software on 2 machines. A set of panasonic
toughbook CF-18's and Dell D620's. The toughbooks only meet minimimum
requirements because we put more memory in them. The Dell is "Window Vista
Capable". The bug does NOT occur on the toughbooks and does occur on the Dell
D620's. Even worse, the bug didn't occur with one of the three Dell D620's
and build release 5728.
 
Reply With Quote
 
 
 
 
Chris Rehfeldt
Guest
Posts: n/a

 
      11-09-2006
I've determined that this issue only occurs with windows Aero. In fact, if
the system is in a bad state when Aero is turned off, the system never leaves
the bad state. If the system is in a good state when Aero is turned off, the
system won't enter the bad state.
 
Reply With Quote
 
Ivo Manolov [MS]
Guest
Posts: n/a

 
      11-15-2006
Thanks for the reported issue, Chris!
We are currently working with Chris offline to get reproduce the problem in
our lab.

Ivo


"Chris Rehfeldt" wrote:

> I've determined that this issue only occurs with windows Aero. In fact, if
> the system is in a bad state when Aero is turned off, the system never leaves
> the bad state. If the system is in a good state when Aero is turned off, the
> system won't enter the bad state.

 
Reply With Quote
 
Ivo Manolov [MS]
Guest
Posts: n/a

 
      11-17-2006
Chris,
I sent you a couple of emails today, but I think your email server rejected
them, so I am pasting my email here:

--------------

Hi Chris,
There are tools in the OS that allow capturing some system information, but
in this particular case I think we would a repro application in order to be
able to investigate the problem.

So let me see whether I understand the repro steps correctly:

Steps to reproduce the problem
1. Let’s call the two rocesses PA and PB.
2. You run PA
3. PA creates window A (CreateWindow)
4. PA starts PB (CreateProcess)
5. PB creates window B, passing the HWND of window A as the hWndParent of
window B (in the CreateWindow call for window B)

Result
If you repeat these steps, you end up in a situation where window B becomes
a topmost window


Is my understanding correct?

Thanks:
Ivo

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
New Window? retired4good214 Windows Vista General Discussion 1 02-03-2008 06:39 PM
new window opens behind previous window Eugene Windows Vista Performance 0 12-31-2007 03:43 AM
How to fix a window? marienschatten Windows Vista General Discussion 3 08-01-2007 10:30 PM
Window Previews/Mini-Window Not Working Jeremiah Windows Vista General Discussion 0 07-31-2007 06:18 AM
Vista gets owned Nina DiBoy Windows Vista General Discussion 24 02-19-2007 09:51 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59