OS2 World Community Forum
WebSite Information => Comments, Suggestions & Questions => Topic started by: Remy on July 22, 2025, 06:36:12 am
-
Hi !
Since I've got the icon bug (which occurs from time to time and seems to be related with xcenter use) after dynamic icon update, The Trash can icon no more changes from empty to full !
Any idea to restore this object icons ?
Thanks
-
The Trash can icon no more changes from empty to full ! Any idea to restore this object icons ?
The easiest way is to replace it.
From a commandline, run this to delete the existing one:
oo /d "<XWP_TRASHCAN>" f
Then, run this to recreate it. This is all on one line:
oo /n XWPTrashCan TrashCan "<WP_DESKTOP>" DEFAULTVIEW=DETAILS;ALWAYSSORT=YES;DEFAULTSORT=9;DETAILSCLASS=XWPTrashObject;SORTCLASS=XWPTrashObject;OBJECTID="<XWP_TRASHCAN>";
-
Hi!
Trashcan was deleted and created again using previous command.
But I'm surprised that this didn't resolve the problem which happens since I installed the new dynamic png
The Trashcan always show empty TrashCan while I put into it several elements and when opening it, elements are into it but the TrashCan icon show empty !
Regards
-
Here is a screenshot.
The trashcan on the desktop shows empty while the opened trashcan view has files into it and the left corner icon (near mouse pointer) has the correct full trashcan ico !
Note: I found that my problem about lost icon on some folder which are added as a widget into my xcenter could be related to the use of OS4 PMMERGE
I put back original PMMERGE, restarted and re-installe + re-registered dynamic ico update followed by a WPS restart.
Then checked the trashcan, deleted it. Restart and then created it but the problem is the same as you can see into this screen cap
-
I suppose, the trash can is derived from WPFolder. I would hope that its settings notebook has two pages for closed and opened object. Maybe you can reselect the icons.
-
I suppose, the trash can is derived from WPFolder. I would hope that its settings notebook has two pages for closed and opened object. Maybe you can reselect the icons.
No, there is no icon (open or close) settings
-
I just uninstalled dynamic ico 2.5.6 and trashcan works again !
The culprit is dynamic ico 2.5.6
(all new issue are linked to this package - lost of folder icons, trashcan full not working... each uninstall/install of this package provided the same bugs)
What is the purpose of WPPngCache class which doesn't exist under 2.5.2.2 ?
Returning to 2.5.2.2 under which all works very well without any bugs.
I'll reinstall 2.5.6 when a corrective is available
Could it be possible something into it doesn't work as supposed?
-
I just uninstalled dynamic ico 2.5.6 and trashcan works again !
Could it be possible something into it doesn't work as supposed?
Given that no one else has reported this problem, nor your original problems with D.I. 2.56, nor other WPS issues we've worked on in the past, I have to assume there is something seriously non-standard about your system that is causing these issues.
It could be alternate versions of PMWP, PMMERGE, the various SOM dlls (possibly from installing VACPP), or some add-on you've been using for years. It's up to you to determine what _you_ did to _your_ system to trigger (not "cause") this bug. Without that info, there's almost nothing I can do to fix it because neither I nor seemingly anyone else can duplicate it.
What is the purpose of WPPngCache class which doesn't exist under 2.5.2.2 ?
WPPngCache is the first new SOM/WPS code in at least 10 years that actually _does_ something beside put pages in a notebook.
The first time any class or object is asked to display its unique icon, it creates a cache object to manufacture and cache multiple sizes of its icon. Some of these cache objects are private to the object that created them (e.g. PM exe's) while others are shared among all objects that use the same icon (e.g. VIO exe's). The result is a 90+% reduction in memory usage over v2.52 (plus the ability to use different sized icons in Icon and Tree views).
-
Hello Remy
I can not reproduce your problem. I remember that long, long time ago sometime that problem shows in ArcaOS 5.0, but I no longer experienced that problem.
Do you have some other WPS Enhancer like eSchemes or Imagination? Anything else ?
Maybe you can run "ClassLst > remyClass.txt (https://hobbesarchive.com/Home/Download?path=/Hobbes/pub/os2/util/wps/ClassLst_2001-02-14.zip) and compare it with mine (Attached) to see any rare registered class.
Regards
-
I just uninstalled dynamic ico 2.5.6 and trashcan works again !
Could it be possible something into it doesn't work as supposed?
Given that no one else has reported this problem, nor your original problems with D.I. 2.56, nor other WPS issues we've worked on in the past, I have to assume there is something seriously non-standard about your system that is causing these issues.
It could be alternate versions of PMWP, PMMERGE, the various SOM dlls (possibly from installing VACPP), or some add-on you've been using for years. It's up to you to determine what _you_ did to _your_ system to trigger (not "cause") this bug. Without that info, there's almost nothing I can do to fix it because neither I nor seemingly anyone else can duplicate it.
What is the purpose of WPPngCache class which doesn't exist under 2.5.2.2 ?
WPPngCache is the first new SOM/WPS code in at least 10 years that actually _does_ something beside put pages in a notebook.
The first time any class or object is asked to display its unique icon, it creates a cache object to manufacture and cache multiple sizes of its icon. Some of these cache objects are private to the object that created them (e.g. PM exe's) while others are shared among all objects that use the same icon (e.g. VIO exe's). The result is a 90+% reduction in memory usage over v2.52 (plus the ability to use different sized icons in Icon and Tree views).
Hi,
I do not use alternate version except PMMERGE used from OS4 bujt knowing it, I did test using the AOS original PMMERGE but the problem always occurs and eco runtimes. AOS xcenter seems seems involved due desktop icons having ramdomly issue have a widget into AOS xcenter lite. Other objects have no issue except the trashcan for which the full icon doesn't appear for the desktop icon only
Could cpu T° monitoring have an impact on D.I ?
Whe will 2.5.2.2 perfectly work without any issue and the latest build not ? logic will suppose it is into the changed or added code
May it possible WPPngCache is cahing wrong icons ?
I only see this option which is new and could create problems
-
Hello Remy
I can not reproduce your problem. I remember that long, long time ago sometime that problem shows in ArcaOS 5.0, but I no longer experienced that problem.
Do you have some other WPS Enhancer like eSchemes or Imagination? Anything else ?
Maybe you can run "ClassLst > remyClass.txt (https://hobbesarchive.com/Home/Download?path=/Hobbes/pub/os2/util/wps/ClassLst_2001-02-14.zip) and compare it with mine (Attached) to see any rare registered class.
Regards
Do you have some other WPS Enhancer like eSchemes or Imagination? Anything else ?
Nothing added.
My desktop is as it was provide by AOS, just organised it in an other way and some added programs
There are some differences and a few more entries into mine but I don't know what it will do.
Here it is:
-
Hello Remy
I checked your WPS classes list and I haven't found anything strange. I even install some of the ones you have to try it out and I was not able to replicate the issue.
Regards
-
Could os2 ini file size have an impact ?
Mine is very big and it can't be reduced a lot having it reduced several times.
Any debug or log file available during the install time ?
or could a build without "WPPngCache class" be provided to check if this could be the culprit ?
I display png icons for the elements placed on the desktop and ico into folders.
The ugly is that it always show png for icons under properties despite I set it to ico and would like use ico only when seen under folders
-
Hi Remy,
I don't know if this intentional or not but on your system "WPPngCache" class is not registered.
But it is easy enough to register via XWP by specifying "WPPngCache" as the class name and "C:\SYS\DLL\PNGDESK.DLL" as the SOM DLL containing the class.
Or had you backlevelled to 2.5.2.2 while you where dumping the class list ?
-
Hi Remy,
I don't know if this intentional or not but on your system "WPPngCache" class is not registered.
But it is easy enough to register via XWP by specifying "WPPngCache" as the class name and "C:\SYS\DLL\PNGDESK.DLL" as the SOM DLL containing the class.
Or had you backlevelled to 2.5.2.2 while you where dumping the class list ?
Yes, I took the class list dump after having backleveled to 2.5.2.2