It is currently October 19th, 2018, 12:28 pm

RecycleManager does not hook inside RecycleBin

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

RecycleManager does not hook inside RecycleBin

thatsIch » September 1st, 2013, 6:40 pm

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: 18104
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: RecycleManager does not hook inside RecycleBin

jsmorley » September 1st, 2013, 7:46 pm

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: 464
Joined: August 7th, 2012, 9:18 pm

Re: RecycleManager does not hook inside RecycleBin

thatsIch » September 2nd, 2013, 5:15 pm

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.