Opened 7 years ago

Closed 7 years ago

#133 closed defect (fixed)

Printing `WinWorkstation printGuiResourceCounts` exchanges user objects vs. GDI objects

Reported by: patrik.svestka@… Owned by:
Priority: major Milestone:
Component: default Keywords:
Cc: Also affects CVS HEAD (eXept version): no

Description

I wanted to view the resources from within StX and found out that
Peak User objects and GDI objects are probably showing wrong values. It seems that they are cross matched - see the screenshot.

Attachments (2)

User_GDI_objects.jpg (402.6 KB ) - added by patrik.svestka@… 7 years ago.
Process explorer is showing the values other way around
libview_fix_1_of_1_rev_653376a94c8f_Issue__133_Printing__WinWorkstation_printGuiResourceCounts__exchanges_user_objects_vs__GDI_objects_.patch (1.5 KB ) - added by patrik.svestka@… 7 years ago.
A swap of GDI resources and User resources.

Download all attachments as: .zip

Change History (6)

by patrik.svestka@…, 7 years ago

Attachment: User_GDI_objects.jpg added

Process explorer is showing the values other way around

comment:1 by jan vrany, 7 years ago

Right, that's fairly easy to fix, see mismatch in #printGuiResourceCounts and #getGuiResources. One of them has to be fixed...

comment:2 by patrik.svestka@…, 7 years ago

Yeas this is dead simple. Did not have time to create directly a patch.

I'm including it now. I have fixed #getGuiResources as that is where the Array is created.

comment:3 by patrik.svestka@…, 7 years ago

Status: newtesting

comment:4 by jan vrany, 7 years ago

Resolution: fixed
Status: testingclosed
Note: See TracTickets for help on using tickets.