linuxmint / linuxmint/nemo

Nemo displays files of subfolder as part of current folder

Open
#3,402 2 comments 0 reactions 0 assignees View on GitHub

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
  1. Create a new folder and in it a subfolder.
  2. Fill the subfolder with plenty of files which take a while to load due to their count
  3. View the subfolder contents from within the main folder by opening the folder preview dropdown list
  4. Close the preview while folder contents are still enumerated
  5. 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

recording.webm

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.