Skip to content
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

Bug: Home page widget recent files doesn't refresh after clearing all items #16658

Open
NoxStellans opened this issue Dec 27, 2024 · 6 comments

Comments

@NoxStellans
Copy link

Description

Before version 3.8.0.0, I could clear the recent files list on the home screen by right-clicking an item on the list and selecting 'Clear all items'. This no longer works; nothing happens if I press the button. Closing and reopening Files also doesn't do anything to clear the list.

Steps To Reproduce

  1. Open Files.
  2. Right-click an item in the recent files list.
  3. Choose 'clear all items'.

Files Version

3.8.0.0

Windows Version

10.0.19045.5247

User ID

964c0dea-8575-4c4e-a05b-17ac3469f72c

Log File

debug.log

@0x5bfa
Copy link
Member

0x5bfa commented Dec 27, 2024

While we have changed P/Invoker from Vanara to CsWin32, haven't made changes to Clear All recent files functionality itself.

Before:

Shell32.SHAddToRecentDocs(Shell32.SHARD.SHARD_PIDL, (string)null);

After:

PInvoke.SHAddToRecentDocs((uint)SHARD.SHARD_PIDL, null);

I wonder what's the cause.

@Josh65-2201
Copy link
Member

Josh65-2201 commented Dec 28, 2024

It does clear it for me just doesn't update the widget and a full restart is needed. @NoxStellans can you confirm that it's cleared if you close Files from the system tray and reopen.

@Josh65-2201 Josh65-2201 added the needs - additional info Needs more information from the reporter label Dec 28, 2024
@NoxStellans
Copy link
Author

Hi, the icon doesn't show in the system tray for me, even when I have that option enabled in advanced settings.

@0x5bfa
Copy link
Member

0x5bfa commented Dec 29, 2024

Can you kill the Files process from Task Manager?

@NoxStellans
Copy link
Author

Yes, and that updates it.

@Josh65-2201 Josh65-2201 changed the title Bug: Files no longer clears recent files Bug: Home page widget recent files doesn't refresh after clearing all items Dec 29, 2024
@Josh65-2201 Josh65-2201 removed the needs - additional info Needs more information from the reporter label Dec 29, 2024
@yaira2
Copy link
Member

yaira2 commented Dec 31, 2024

I can't reproduce this in v3.8, clearing all recent files updates the widget even without a restart.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🆕 New
Development

No branches or pull requests

4 participants