Skip to content

fix: update Recents tab when renaming or moving file to trash - #1962

Open
MikhailValerie wants to merge 3 commits into
pop-os:masterfrom
MikhailValerie:master
Open

fix: update Recents tab when renaming or moving file to trash#1962
MikhailValerie wants to merge 3 commits into
pop-os:masterfrom
MikhailValerie:master

Conversation

@MikhailValerie

@MikhailValerie MikhailValerie commented Aug 8, 2026

Copy link
Copy Markdown

Refresh the Recents tab when renaming a file, moving a file to Trash and restoring a file from Trash. This prevents visual confusion with the Recents tab due to changes made inside and outside of the Recents tab.

Related to: #1941


  • [✅] I have disclosed use of any AI generated code in my commit messages.
    • If you are using an LLM, and do not fully understand the changes it is making to the code base, do not create a PR.
    • In our experience, AI generated code often results in overly complex code that lacks enough context for a proper fix or feature inclusion. This results in considerably longer code reviews. Due to this, AI authored or partially authored PRs may be closed without comment.
  • [✅] I understand these changes in full and will be able to respond to review comments.
  • [✅] My change is accurately described in the commit message.
  • [✅] My contribution is tested and working as described.
  • [✅] I have read the Developer Certificate of Origin and certify my contribution under its conditions.

@MikhailValerie
MikhailValerie marked this pull request as ready for review August 9, 2026 04:42
Trigger rescanning the Recents tab when deleting a file, forcing it to no longer display the deleted file
Trigger rescanning the Recents tab when deleting a file.
Trigger rescanning the Recents tab after processing each completed operation, and when watching the Trash.

This allows it to cover:
 - Moving a file to Trash from anywhere
 - Restoring a file from Trash
 - Renaming a file from anywhere
@MikhailValerie

Copy link
Copy Markdown
Author

Rebased onto epoch-1.8.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant