It is currently March 29th, 2024, 3:45 pm

RecycleManager does not hook inside RecycleBin

Report bugs with the Rainmeter application and suggest features.
User avatar
thatsIch
Posts: 446
Joined: August 7th, 2012, 9:18 pm

RecycleManager does not hook inside RecycleBin

Post by thatsIch »

Using a simple measure like this, I can see when the RecycleManager is changing its value. Its all fine if you delete files/folders or if you move files/folders directly into the RecycleBin, but it neither does if you move/delete files manually out of the RecycleBin nor if you restore files from your RecycleBin.

Using OnUpdateAction you can doublecheck the current value if you want.

Code: Select all

[MeasureBin]
Measure = Plugin
Plugin = RecycleManager
RecycleType = Count
OnChangeAction = [!Log Changed]
User avatar
jsmorley
Developer
Posts: 22628
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: RecycleManager does not hook inside RecycleBin

Post by jsmorley »

This is a known issue with the Windows API that examines the contents of the Recycle Bin. In the context of an app like Rainmeter, if we have it watching the bin for the actions you described, it becomes a hideous CPU hog. There is no solution in sight at this time.
User avatar
thatsIch
Posts: 446
Joined: August 7th, 2012, 9:18 pm

Re: RecycleManager does not hook inside RecycleBin

Post by thatsIch »

jsmorley wrote:This is a known issue with the Windows API that examines the contents of the Recycle Bin. In the context of an app like Rainmeter, if we have it watching the bin for the actions you described, it becomes a hideous CPU hog. There is no solution in sight at this time.
Ok, maybe a note in the manual would be a good alternative.