Nemo displays files of subfolder as part of current folder
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 1.6k
- Forks
- 368
- Avg merge
- 4d 4h
- Merged PRs (30d)
- 2
Description
Distribution
Linux Mint 21.3 Cinnamon
Package version
6.0.2
Frequency
Always
Bug description
Nemo displays files of subfolder as part of current folder.
Note: This hints at a bunch of related (yet undiscovered) bugs, which all have this loading mechanism in common: apparently the core issue is asyncronously computing something and updating the view without checking for conflicting events in the meantime.
Issues I could imagine to be possible for the same reason are:
- skipped entries
- redundant entries
- mixing of entries
...
Steps to reproduce
- Create a new folder and in it a subfolder.
- Fill the subfolder with plenty of files which take a while to load due to their count
- View the subfolder contents from within the main folder by opening the folder preview dropdown list
- Close the preview while folder contents are still enumerated
- Observe the bug: The loaded folder contents are now placed as items within the current folder instead of the dropdown preview
Expected behavior
- Any ongoing operation (like subfolder enumeration) should be aborted when the view which triggered it becomes obsolete or the computation is part of another operation which got canceled
Additional information
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with a folder containing many files, then trace Nemo's asynchronous subfolder enumeration and what happens when the preview closes. Done means canceled or obsolete enumeration results no longer appear in the current folder, while the existing reproduction steps no longer show the bug.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100