-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Computer feature: add sidebar action "Refresh directory tree" #12908
Conversation
cbfcac7
to
e943a72
Compare
remove cached 'hasChildren' state for all sub-dirs in order to allow expanding items that have sub-dirs added after the items have been shown the first time.
e943a72
to
9e6b543
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did the following:
- Opened a folder with Mixxx
- Added a file using a file manager.
- Select Refresh form the context menu.
Expected: File is shown
Actual: nothing happens.
Refreshing the folders works. The menu is missing for "Quick access" folders |
I have also intuitive pressed F5, but that has a different meaning. |
I added that. |
Yeah, F5 in the tracks view would also be cool. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you. Works good
This allows to show newly added directories when the parent had no directories when it was first added to the tree.
This works around the caching of the 'hasChildren' state of each tree item.
based on #12893