Refresh directory without requiring a re-scan after delete #4
Open
opened 1 year ago by InvertedRabbit
·
3 comments
Loading…
Reference in new issue
There is no content yet.
Delete Branch '%!s(<nil>)'
Deleting a branch is permanent. It CANNOT be undone. Continue?
Basic information
Description
Deleting a file/folder in a currently scanned directory will gray out the scan, disabling interactions which requires another scan to fix. Filelight should instead remove the successfully deleted file in question from view instead of requiring a new scan to update, without disabling interactions within the view.
I've attached a video recording of the issue below. You can see that tooltips no longer show up after deleting a file. It may not be clear, but I do right-click too with no avail.
Steps to reproduce
Screenshots
This is a good idea, although may be not as simple as simply deleting the entity from the graph. It will be important to make sure of what files are deleted and what not and update the graph accordingly
How does modern Filelight do it? Might be worth investigating that to see if we can recreate the method.
Not sure about what "modern" filelight does, but I guess checking its behavior and looking at backporting some of the code does not hurt :-)
If you can have a look and report on its behavior, we can then decide whether to backport some code or not.