![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
| |
| | #1 (permalink) |
| | 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 Specs![]() |
| | #2 (permalink) |
| | Re: WPF ShowModal windows and popups appear behind parent On Wed, 24 Sep 2008 05:02:59 -0700 (PDT), James <jim_ej@xxxxxx> wrote: Sorry, my English is poor, I can't understand what you talk very clearly, but I experience the Modal dialog behind parent. my solution is : ModalWindow dialog = new ModalWindow(); dialog.Owner = parentWindow; dialog.ShowModal(); Quote: >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 Specs![]() |
| | #3 (permalink) |
| | RE: WPF ShowModal windows and popups appear behind parent Hi James, I'm experiencing the same problems. Did you ever found a solution to this? /Carl "James" wrote: Quote: > 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 Specs![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Parent Process ID | PowerShell | |||
| Am having a couple of problems, popups and windows automatic updat | .NET General | |||
| Windows Live Messenger and Windows Installer popups | Live Messenger | |||
| windows defender popups keeps popping up telling me i have blocked | Vista General | |||
| On Vista, IE stops working when using multiple windows (opening popups) after a certain amount of time | Vista General | |||