View Single Post
Old 09-24-2008   #1 (permalink)
James


 
 

WPF ShowModal windows and popups appear behind parent

I'm main developer on a WPF project which is in the early stages of
being rolled out to a large number of customers. A few maybe 5% of
customers are experiencing an issue where windows are appearing behind
other windows when they should not. This has happened both with
Popups and windows opened with ShowModal, and is occurring on XP
machines. I've heard reports that rebooting the machine can solve the
problem!

The application is structured with a large container window that is
the Owner of the other windows created in the app. One reproducible
bug I've encountered is that closing one of these child windows can
leave the container in a non-active state causing another application
to become activated and show in front of the container window.

Window z-ordering in win XP has always seemed flaky to me, is WPF
interacting with it in an unpleasant way? Anyone experienced this?
Any work arounds gratefully received.

James
My System SpecsSystem Spec