-
Notifications
You must be signed in to change notification settings - Fork 251
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
Files fail to refresh icons after deletion and recreation #490
Comments
Thanks for the kind words. ;) I'm afraid this is tied down to atom/tree-view#966. Atom's |
Just mentioning that the same issue occurs when renaming a parent folder - all contained files are without icons. Keep up the great work :) |
@jeyj0 Can you give me the steps to reproduce? Renaming a folder closes it in tree-view, and its contents have correct icons once it's opened. |
Okay, I've tried everything. There's really no way to fix this without introducing new problems. Those interested in tracking the state of this issue are advised to follow Until that's merged, there's nothing (safe) we can do. 😞 |
@Alhadis As atom/tree-view#1049 was merged, are there any remaining obstacles to fix this issue ? |
@MatthieuLemoine I'm currently without a laptop with a graphical display, which means I'm unable to do anything Atom-related for a while. :( I don't know how long I'm going to be like this, because I don't exactly have the money to afford a new MacBook. |
@Alhadis I'm willing to make a PR. As you tried to fix it, can you give me some leads on how it could be fixed ? |
It largely ties down to the |
Hey there, I submitted a PR to fix this issue but I'm not familiar at all with the Atom ecosystem. Please let me know what you think about it! Cool plugin by the way, thanks for all the work you've done ;) |
The `FileSystem` module wasn't being notified on resource deletion which resulted in an inconsistent state of the resource cache. By subscribing to deletion notifications for files in the project and destroying the resource if it's cached in the `FileSystem` module, we solve that issue. Fixes #490
This is a weird issue, but I noticed that a file failed to automatically refresh it's icon when it was deleted and then recreated.
Atom Version
1.12.7
Steps to reproduce
index.js
and observe that it correctly has a folder icon.index.js
folderindex.js
and observe that it erroneously has a folder icon.index.js
file correctly has a javascript file icon.Custom Styles
I have very few custom styles associated with my IDE, but I will add them here:
Great plugin! Appreciate the work you're doing here. I think it's a necessary plugin. Let me know if there's anything I can do to help debug this issue further.
The text was updated successfully, but these errors were encountered: