FIX: The contents of layered windows for a WPF-based application do not appear after Windows resumes from sleep or hibernation or several issues when you render graphics in the .NET Framework 3.5 SP1

Symptoms

Consider the following scenario:

  • You run a Windows Presentation Foundation (WPF)-based application that uses the .NET Framework 3.0 Service Pack 2 (SP2) on a computer that is running a Windows operating system.

  • You set the Window.AllowsTransparency property to True. When the True value is set, the application uses layered windows.

  • The operating system enters and then resumes from sleep or from hibernation.

  • After the system resume, WPF tries to render the contents of the layered windows.

In this scenario, the contents of the layered windows do not appear.

Notes

  • The .NET Framework 3.0 SP2 is included in the .NET Framework 3.5 Service Pack 1 (SP1).

  • Other issues that this hotfix resolves are described in the following Microsoft Knowledge Base (KB) article:

    967634 FIX: You may experience several issues when you render graphics by using Windows Presentation Foundation (WPF) in a .NET Framework 3.5 SP1-based application

Cause

This issue occurs because the graphics subsystem of the operating system may not be ready immediately after a POWERBROADCAST window notification occurs. Therefore, the layered windows do not appear.

Resolution

To resolve this issue, apply the hotfix package that is described in the following Microsoft Knowledge Base article:

2667241An update rollup is available for Windows Presentation Foundation (WPF) for Microsoft .NET Framework 3.5

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

More Information

For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates

Additional file information

Additional file information for Windows Vista and for Windows Server 2008

Additional files for all supported x86-based versions of Windows Vista SP2 and of Windows Server 2008 SP2

File name

Msil_presentationframework_31bf3856ad364e35_6.0.6002.22528_none_791a147a0a499f11.manifest

File version

Not Applicable

File size

3,187

Date (UTC)

19-Nov-2010

Time (UTC)

16:14

File name

Msil_windowsbase_31bf3856ad364e35_6.0.6002.22528_none_998168e845f07b4f.manifest

File version

Not Applicable

File size

3,137

Date (UTC)

19-Nov-2010

Time (UTC)

16:15

Additional files for all supported x64-based versions of Windows Vista SP2 and of Windows Server 2008 SP2

File name

Amd64_presentationcore_31bf3856ad364e35_6.0.6002.22528_none_0ab22c385e9e9e4b.manifest

File version

Not Applicable

File size

9,413

Date (UTC)

19-Nov-2010

Time (UTC)

16:24

File name

Amd64_wpf-presentationframework_31bf3856ad364e35_6.0.6002.22528_none_cd0775ff24a0bc78.manifest

File version

Not Applicable

File size

14,891

Date (UTC)

19-Nov-2010

Time (UTC)

16:25

File name

Amd64_wpf-presentationhostdll_31bf3856ad364e35_6.0.6002.22528_none_ce8c8731eea99096.manifest

File version

Not Applicable

File size

9,603

Date (UTC)

19-Nov-2010

Time (UTC)

16:26

File name

Amd64_wpf-windowsbase_31bf3856ad364e35_6.0.6002.22528_none_b5ee26dd1670744e.manifest

File version

Not Applicable

File size

16,296

Date (UTC)

19-Nov-2010

Time (UTC)

16:29

File name

Msil_presentationframework_31bf3856ad364e35_6.0.6002.22528_none_791a147a0a499f11.manifest

File version

Not Applicable

File size

3,187

Date (UTC)

19-Nov-2010

Time (UTC)

16:14

File name

Msil_windowsbase_31bf3856ad364e35_6.0.6002.22528_none_998168e845f07b4f.manifest

File version

Not Applicable

File size

3,137

Date (UTC)

19-Nov-2010

Time (UTC)

16:15

File name

X86_presentationcore_31bf3856ad364e35_6.0.6002.22528_none_ae9390b4a6412d15.manifest

File version

Not Applicable

File size

9,655

Date (UTC)

19-Nov-2010

Time (UTC)

16:10

File name

X86_wpf-presentationframework_31bf3856ad364e35_6.0.6002.22528_none_70e8da7b6c434b42.manifest

File version

Not Applicable

File size

5,589

Date (UTC)

19-Nov-2010

Time (UTC)

16:12

File name

X86_wpf-presentationhostdll_31bf3856ad364e35_6.0.6002.22528_none_726debae364c1f60.manifest

File version

Not Applicable

File size

9,557

Date (UTC)

19-Nov-2010

Time (UTC)

16:13

File name

X86_wpf-windowsbase_31bf3856ad364e35_6.0.6002.22528_none_59cf8b595e130318.manifest

File version

Not Applicable

File size

10,546

Date (UTC)

19-Nov-2010

Time (UTC)

16:15

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

Thank you for your feedback!

Thank you for your feedback! It sounds like it might be helpful to connect you to one of our Office support agents.

×