[ros-bugs] [Bug 1567] Taskmanager still showing processes while they are already closed
ReactOS.Bugzilla at www.reactos.org
ReactOS.Bugzilla at www.reactos.org
Sun Jun 8 20:54:01 CEST 2008
http://www.reactos.org/bugzilla/show_bug.cgi?id=1567
b4dc0d3r <b4dc0d3r at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |b4dc0d3r at gmail.com
--- Comment #4 from b4dc0d3r <b4dc0d3r at gmail.com> 2008-06-08 20:54:00 CET ---
Still in 33861. To reproduce, there must be 1 application - task manager does
not refresh the list when that last one disappears. "End Task" or closing the
application does not make a difference.
EnumWindowsProc() seems to be where the list gets updated, but that only gets
called if there are windows to enumerate. If the app is task manager, or other
types of ignored windows, EnumWindowsProc returns. Then AddOrUpdateHwnd() is
called. There is where we get to the part:
/* Check to see if we need to remove any items from the list */
So there are many things that have to happen before the list is checked for
outdated windows. A simplified check for IsWindow() on each item would resolve
this in most cases, unless the hWnd value were reused. Doing the whole check
to see if items need removed on every refresh would add lots of checking. So
maybe we need "Does the window still exist? and is it the same window we had
before? (same app or window text or something).
Leaving what I found in case it is useful for someone else, or even myself,
later.
--
Configure bugmail: http://www.reactos.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the Ros-bugs
mailing list