Skip to content

[Bug] Folder Rainbow Colors when the folder tree is long #345

@meet-v

Description

@meet-v

Describe the bug
When the folder tree is long and in open state, (i.e., some folder is open to show all the sub-folders and files in it, and the list makes the tree go beyond the visible length of the file explorer), and then if you scroll down such that the parent folder row is no longer visible in the tree, then the rainbow colors reset and render as if the current folder is the first folder in the tree.

To Reproduce
Steps to reproduce the behavior:

  1. Have enough folders and files in a folder under /root (have this folder third or fourth in the list) that when in open state, the file tree goes beyond the file explorer visible length on screen.
  2. Scroll down on the file explorer window.
  3. Rainbow color will change.

Expected behavior
The sub-folders and files inside the parent folder should keep the same color (with this toggle on in the style settings). Even when we scroll down in the file explorer, still the folder color should not change.

Actual behavior
The color of the file explorer changes as soon as we scroll down and the folders before the parent folder in the root are no longer visible.

Additional context
This particular bug was hard to explain, however, I hope it is clear.

Screenshot

Image

Image

Image

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions