MSDN > フォーラム ホーム > Windows Presentation Foundation (WPF) > WPF Rendering Issues on Windows 7
質問する質問する
 

全般的な情報交換WPF Rendering Issues on Windows 7

  • 2009年7月2日 2:10srinikat ユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダル
     
    Our application is very heavily using PNG Graphics for WPF UserControl backgrounds and WPF Window background . Our MainWindow hosts different WPF UserControls depending on the user selection just like TabControl. MainWindow and UserControls use different PNG images for background. We see rendering issues when the application is minimized and restored. We see some garbage getting rendered before the main window appears. This more like a bar code.

    I was able to capture the rendering issue, please click this link http://cid-a93b20e2f136913a.skydrive.live.com/self.aspx/.Public/Capture.png

    I was able to video capture the issue too, http://cid-a93b20e2f136913a.skydrive.live.com/self.aspx/.Public/capture-3.avi, Please note that this video only capture few frames with rendering issue, but we see this issue very consistenty.

    Our application runs fine on Windows XP and Window Vista, but we wee this issue on Windows 7.

    This to me more looks like rendering issue. Did anyone see this kind of issue?.



    srini

すべての返信

  • 2009年7月2日 5:34Sasikumar D.R. ユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダル
     
    Hi Srinikat,

    I also faced same problem when I was using Windows 7 beta version. I don't know what is reason for this. But after upgrading from Beta to RC everything went fine..

    I think problem may be with display adapter or with built-in framework.

  • 2009年7月2日 23:49srinikat ユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダル
     
    Thank U for the input.

    I used Windows 7 Build# 7229 but I still see the issue. Which version did you use?. 
    srini
  • 2009年7月3日 5:20Sasikumar D.R. ユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダル
     
    Oh seems you are using leaked version. Sometimes problem might be with that version. I'm not sure of that. When I was using beta version that was also leaked version.

    Now I am using Windows 7 build# 7100. Everything works fine here.
  • 2009年7月8日 6:55Hua ChenMSFT, モデレータユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダル
     
    Hello Srini,

       Could you please try the new RC to see if it works?

       http://www.microsoft.com/windows/windows-7/download.aspx

      Thanks.
    Please mark the replies as answers if they help and unmark them if they provide no help
  • 2009年7月13日 22:33srinikat ユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダル
     
    I downloaded Windows 7 build from above link and I tried it , but I still see the issue.
    srini
  • 2009年7月14日 3:55Sasikumar D.R. ユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダル
     
    Srini.. Have u tried same application on some other computer. Probably problem might be with your display adapter.

    and also try to run same on vista and xp and check if there isany error.
  • 2009年7月14日 16:47SRINIVAS K ユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダル
     
    Thank U.

    Yes, I tried this on multiple PCs in our Lab and we can reproduce it very consistently.  We don't see this issue on Windows-Vista and Windows-XP where it works great.
  • 2009年7月15日 5:35Sasikumar D.R. ユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダル
     
    Srini, This seems Interesting.

    I think problem might be with windows 7. As Hua Chen marked this might be an issue with RC version of Windows 7.

    If possible can you post code for checking on my System? 
  • 2009年7月15日 21:10srinikat ユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダル
     
    Thank U and Sure,
    Our application is tightly coupled to API developed on the top of our driver. I need to create dummy version of this application and send it to you.
    srini
  • 2009年7月16日 0:34srinikat ユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダル
     
    I stripped down the application and posted it to http://cid-a93b20e2f136913a.skydrive.live.com/self.aspx/.Public/Windows%207%20Issue.zip
    You can try this application as-is to see the issue.

    Just minimize the application and maximize it multiple times to see the stripes.

    Hua Chen,
    Do you mind tying this application on Windows 7 to see what is happening?. 




    srini
  • 2009年7月16日 5:47Sasikumar D.R. ユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダル
     
    Srini,

    I'm also getting your problem while running application. 

    It seems the problem is with Windows 7 and I suggest you to post same issue to Windows 7 team.
  • 2009年7月16日 10:09Hua ChenMSFT, モデレータユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダル
     
    Hello Srini,

      Hua Chen, 
     
        Do you mind tying this application on Windows 7 to see what is happening?.

        Very sorry I haven't a test environment by hand.   

       You can also report an issue on the  https://connect.microsoft.com/VisualStudio?wa=wsignin1.0


       Thanks.

        
    Please mark the replies as answers if they help and unmark them if they provide no help
  • 2009年7月23日 21:11jhhhj ユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダル
     

    I get similar issue on Windows XP. I also have WPF app with png graphics and transparent layers, when minimizing and restoring, or just clicking somewhere absolutely randomly I get a bunch of garbage pixels, not just stripes. Like if you scramble pixels into Gaussian noise.

  • 2009年7月24日 19:27jhhhj ユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダル
     
    srinikat,

    try to set SnapsToDevicePixels to false for all the controls on the form. I just did it and have not seen the issue anymore. May be it will fix it.



    if it helped you, please mark this as an answer.
  • 2009年9月15日 18:28jhhhj ユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダル
     
    There is a work around available now from http://support.microsoft.com/kb/963021

    But in my case I resolved the issue by installing new driver for video card.