Nemo does not update empty folder status after moving a file

Open
#2,537 24 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
55/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
c
Domain
desktop

Research direction

Reproduce the issue in Nemo's List view by moving a file into an empty folder and observe the folder status and contents arrow. Trace the update path triggered by the move, then verify that the folder immediately shows its non-empty state without reopening or refreshing the parent directory.

Written by the indexing model from the issue text.

Description

BUG
 * Nemo version 4.6.5
 * Is issue with desktop or windowed nemo?
 * Distribution - Linux Mint 20 Ulyana
 * NVIDIA GeForce RTX 2060 | Driver: 450.80.02
 * 64 bit

Issue
If you have an empty folder in List view and move a file into it, Nemo still indicates that the folder is empty. The arrow to the left showing the folder's contents will not appear until you re-open or refresh the directory containing the now non-empty folder.

output

Steps to reproduce

  1. Have Nemo open in List view.
  2. Navigate to a directory with an empty folder or create an empty folder.
  3. Move a file into the empty folder. This can be a newly created file.
  4. The folder still shows that it's empty.

Expected behaviour
After moving the file inside the folder, the folder updates to show that there is now a file inside it.

Dominant language
C
Stars
1.6k
Forks
368
Avg merge
4d 4h
Merged PRs (30d)
2

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.

More from linuxmint/nemo

All issues in linuxmint/nemo

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.