SAP Knowledge Base Article - Preview

2521077 - CPU consumption by idle Crystal Reports WPF viewer in Visual Studio

Symptom

I am observing the following: Given a simple WPF application that uses Crystal Reports WPF viewer (CR Runtime for Visual Studio SP20 installed): as soon as the report is loaded in the viewer, the application starts consuming CPU (2-5% on two-core machine), and that load persists for as long as the WPF form with WPF viewer remains on screen.

The load is not observed when the viewer is on screen without the report. Apparently, that load is caused by the viewer's load animation (gradient bagel which is shown by CR WPF report viewer while the report is being loaded), which continues counting and updating the rotation transformation even after the report is loaded and the animation is collapsed.

This is observed at least on Win 10 Anniversary Update with .NET 4.7 and on Windows 2012 R2 with .NET 4.6.1 Questions:

  1. Is it a known problem?
  2. If so -- are there ways we could apply in the application utilizing the CR WPF report viewer to avoid that CPU load?  

 


Read more...

Environment

  • Crystal Reports for Visual Studio SP 20
  • VS 2015
  • Windows 10

Product

SAP Crystal Reports, developer version for Microsoft Visual Studio

Keywords

cr for vs, WPF viewer, animation , KBA , BI-DEV-NET , BI Software Development Kits (SDKs) - .NET or Other , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.