Faculty of Information Technology
Software Engineering Group

Opened 6 years ago

Closed 6 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 6 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 6 years ago.
A swap of GDI resources and User resources.

Download all attachments as: .zip

Change History (6)

Changed 6 years ago by Patrik Svestka

Attachment: User_GDI_objects.jpg added

Process explorer is showing the values other way around

comment:1 Changed 6 years ago by Jan Vrany

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

comment:2 Changed 6 years ago by Patrik Svestka

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 Changed 6 years ago by Patrik Svestka

Status: newtesting

comment:4 Changed 6 years ago by Jan Vrany

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