Recycle Bin status

Things you’d like to miss in the future...
Forum rules
You might want to read this if you're looking for priority service

:info: Please Include The Following Information
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: Use Your Profile Or Signature
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
Post Reply
admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Recycle Bin status

Post by admin »

So when you say status you are just talking about the icon, right?

BTW, I just emptied the Recycle Bin in File Explorer, just to see how it does it. Wow, failed miserably: The list was not emptied, and the icon disappeared completely. :mrgreen:

Nighted
Posts: 463
Joined: 21 Jan 2007 01:58
Location: Gitmo Nation North, Win 7/10/Linux/(x64)

Re: Recycle Bin status

Post by Nighted »

Did the water go clock-wise or counter clock-wise?
I want XY to serve soft ice cream. Please Don, make XY serve soft ice cream.

VeeGee

Re: Recycle Bin status

Post by VeeGee »

Latest official release, Windows 10 x64 1803.

I currently have a Recycle Bin CTB as follows :
Name : Empty Recycle Bin
Icon : %recycler%
On Left Click : #642

Here are some scenarios that I am running into :
If I open XY and my Recycle Bin is empty - the icon is correct on the toolbar (empty).
If I open XY and my Recycle Bin has items in it - the icon is correct on the toolbar (full).
If the icon on the toolbar is empty and I delete a file within XY, the icon does not update to full (stays empty). If I restart XY, the icon is correct.
If the icon on the toolbar is full and I use the CTB (above), the Recycle Bin empties but the icon does not update (stays full). If I restart XY, the icon is correct.

Is it possible to update XY so that the Recycle Bin icon/status is updated as necessary ? Empty icon when emptied, full icon after a delete, etc. ? or is there some other method that I should be using on my CTB, e.g. some other command or icon setting ?

jupe
Posts: 3570
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Recycle Bin status

Post by jupe »

I haven't tested this so it might not work, I assume your problem is because toolbar icons are cached, if you add the following in the left click action it might force a refresh, at least for when you click it, live updating after a delete operation is another problem though.

Code: Select all

#642; wait 1000; ctbicon('%recycler%');
I don't want to empty my recycle bin to test it, but you might.

highend
Posts: 15016
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Recycle Bin status

Post by highend »

The OP reused the first posting of the thread to advertise -> Banned. Splitted all postings into a new thread with a new title...
One of my scripts helped you out? Please donate via Paypal

Marco
Posts: 2354
Joined: 27 Jun 2011 15:20

Re: Recycle Bin status

Post by Marco »

Don't feel like opening a new thread for this, anyway when I empty the RB, the icon in the Tree is updated but the List is not. On latest beta (19.10.0002).
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Recycle Bin status

Post by admin »

This should be fixed with v19.10.0102.

Post Reply