Skip to content

Bug: Incorrect number of files in Recycle Bin #16304

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jano23 opened this issue Oct 4, 2024 · 9 comments
Closed

Bug: Incorrect number of files in Recycle Bin #16304

jano23 opened this issue Oct 4, 2024 · 9 comments

Comments

@jano23
Copy link

jano23 commented Oct 4, 2024

Description

Files Insider Preview 3.7.9.0 is showing the wrong amount of items in the Recycle Bin. I am sending screenshots of both Files versions.
I have tried uninstalling and reinstalling and running only Insider Preview version.

Steps To Reproduce

  1. Open Files Insider Preview
  2. Click on Recycle Bin
    Files3 7 7 0
    FilesPreview3 7 9 0

Requirements

  • e.g. Fix crash that occurs when...

Files Version

3.7.9.0

Windows Version

10.0.22631.4249

User ID

files-community

Log File

debug.log

@jano23 jano23 added the bug label Oct 4, 2024
@Josh65-2201 Josh65-2201 changed the title Incorrect number of files in Recycle Bin Bug: Incorrect number of files in Recycle Bin Oct 4, 2024
@firelabs-io
Copy link

im no coder here, is probally on src/Files.App.Storage/Watchers/RecycleBinWatcher.cs or something like that

@0x5bfa
Copy link
Member

0x5bfa commented Oct 6, 2024

What version is that (the first one)?

@jano23
Copy link
Author

jano23 commented Oct 6, 2024

What version is that (the first one)?

3.7.7
The latest in production.
And it coincides with what Windows Files Explorer reports

@yaira2
Copy link
Member

yaira2 commented Oct 6, 2024

@0x5bfa do you think this is related to #15773?

@yaira2 yaira2 moved this from 🆕 New to 🔖 Ready to build in Files task board Oct 6, 2024
@0x5bfa
Copy link
Member

0x5bfa commented Oct 6, 2024

But I introduced it even before 3.7.7. Feel weird that these show different numbers. @jano23 can you try clean all items, recycle some times and see if the same issue persists?

@jano23
Copy link
Author

jano23 commented Oct 6, 2024

But I introduced it even before 3.7.7. Feel weird that these show different numbers. @jano23 can you try clean all items, recycle some times and see if the same issue persists?

I moved all the files from Recycle Bin to a temp folder and cleaned up some duplicates so that the Recycle Bin was empty. I then deleted the files in that temp folder. Ver 3.7.7.0 shows the correct amount of files in the Recycle Bin (172). Ver 3.7.9.0 shows the folder as empty. "This folder is empty" I've hit the Refresh icon multiple times

@jano23
Copy link
Author

jano23 commented Oct 6, 2024

Additional information: I have the Recycle Bin pinned to the Sidebar and I also have "Calculate folder sizes" enabled. When I hover over the Recycle Bin in the Sidebar, ver 3.7.9.0 shows the correct files size for the current contents in the Recycle Bin. And the file size for the folder is 3.13GB - could it be related to the total size of the contents?

@jano23
Copy link
Author

jano23 commented Oct 6, 2024

BAM! 3.7.10 fixed the problem!!

@yaira2
Copy link
Member

yaira2 commented Oct 6, 2024

Thanks for letting us know

@yaira2 yaira2 closed this as completed Oct 6, 2024
@github-project-automation github-project-automation bot moved this from 🔖 Ready to build to ✅ Done in Files task board Oct 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

4 participants