Duplicate subdirectory items if deleted and restored quickly after collapsing
Affected Version
- Version: 45.2.1
- Distribution: Fedora Workstation 39
- Also happens with development version: Yes
Steps to reproduce
- Enable expandable folders (in Preferences)
- In list view, expand a folder.
- Select the expanded folder.
- Collapse the selected folder, then quickly press Delete, then press CtrlZ.
- Expand the folder again one or two times.
Expected Behavior
The expanded folder content doesn't change.
Actual Behavior
Sometimes, the contents are duplicated.
Additional Information
This is a corner case bug in to the delayed subdirectory unloading code.