Nemo 2.0.x not refreshing correctly in Treeview window

Open
#486 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

Research direction

Start by reproducing the issue in Nemo's Treeview after creating a subfolder inside an initially empty parent folder, including pressing F5 and using the expand/collapse arrows. Trace the Treeview refresh path and compare behavior for empty and already-populated folders. Done means the new subfolder appears without closing Nemo or manually collapsing and expanding the tree.

Written by the indexing model from the issue text.

Description

BUG

When creating a new folder in Nemo, in a folder without any existing sub-folders, the Treeview window does not refresh correctly until you close Nemo, or you click the down arrow icon before the Home folder to hide all the sub-folders. Next, you have to click the right arrow icon by the Home folder to view all the sub-folders which refreshes the Treeview window.

selection_004

This was not an issue in Nemo 1.8.x, as all the folders in Nemo 1.8 had the right arrow icon showing before each folder, even if there were no sub-folders. In Nemo 2.x this changed, as empty folders do not show right arrow icons by them, and because of this when creating new sub-folders in empty parent folders, the Treeview window will not refresh correctly.

As you can see in the picture below, folders that do not have sub-folders do not show the right arrow icon as seen by the 0-Test folder, while folders with existing sub-folders like the Downloads folder is showing the right arrow icon by it. When I create the "Test1" sub-folder in the 0-Test parent folder, the Treeview window does not refresh, but when I create the "test2" sub-folder in the Downloads folder the Treeview window correctly refreshes, and shows the "test2" subfolder in the Treeview window.

selection_005

The 0-Test folder will not refresh correctly if I hit the F5 key or If I click the "Reload the current location button" Only after I click on the down arrow icon by the home folder, to hide the sub-folders, then clicking the right arrow button by the home folder to view all the sub-folders will the treeview window refresh correctly.

selection_006

selection_007

There is a lot of productivity lost due to this, as I have to go through three or more extra mouse clicks to refresh the treeview window whenever I have to create new sub-folders.

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.