WPF app with transparent windows and remote desktop causing popunders
I have a WPF application with AllowsTransparency="True" because we like funky borders.
When I remote desktop into a computer and run our application, menus and right click menus in textboxes are popping up behind the application. I verified this by making the background semi transparent. Here's a screen shot:
We're using .net 3.5 SP1 on XP SP3. I've read some blogposts that this is supposed to fix some things with rendering but this is a bug for us. Anyone know of any solutions or am I just out of luck on this?
There is a known bug related to controls popping up behind their parent window discussed in this MSDN post. There is a hotfix for XP mentioned in the article but some people still experience the issue after applying the hotfix.
You shouldn't use AllowsTransparency="True", it causes a lot of strange bugs and poor performance, if you want funky borders you should do it the old way - calling SetWindowRgn via interop.
look at the end at the section titled "Office 2007 without Aero – Or, you are responsible for everything".