FIX: Results List Uses 100% of CPU on Idle

ID: Q171845

The information in this article applies to:

SYMPTOMS

When you do a search and then select an item toward the end of a large search Results List, many subsequent activities will be slowed noticeably. For example, typing response in the Developer Studio Editor may be slowed by a second or more.

The performance tab in the Windows NT Task Manager can show 100% CPU usage when you would expect little activity.

CAUSE

On-idle processing is being used to determine when to enable or disable the next/previous button in the Results list. This problem becomes most noticeable when there are several thousand items in the Results List and one of the last items is selected.

STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This bug has been fixed in Visual Studio 97 Service Pack 2.

For more information on the Visual Studio 97 Service Pack 2, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q170365
   TITLE     : INFO: Visual Studio 97 Service Packs - What, Where, and Why

MORE INFORMATION

Steps to Reproduce Behavior

In Developer Studio:

1. From the Help menu, select Search and do a query on "Windows."

2. When the Results List appears (this may take a while), select the last

   topic.

3. In Windows NT, bring up the Task Manager and select the Performance tab.

4. In Developer Studio, open a text file and type in some text.

5. Note that at every pause in your typing, on-idle processing will start

   and can delay processing of your next keystroke by over a second.

Additional query words: MSDEV.EXE responsiveness
Keywords          : kbVS97sp2fix 
Version           : WINDOWS NT:5.0,97
Platform          : NT WINDOWS
Issue type        : kbbug
Solution Type     : kbfix

Last Reviewed: June 7, 1999