-
Notifications
You must be signed in to change notification settings - Fork 0
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
[CLOSED] Fix MacOS folder icon handling. Fixes #12789 #10908
Comments
Comment by ficristo If you change instead |
Comment by petetnt
But the regexp doesn't catch it for some reason (tried it with the If you have any ideas on how to get it working, I'd totally be into changing the check to that 👍 |
Comment by ficristo With one slash does it work? |
Comment by petetnt Agh, of course the |
Comment by petetnt
|
Comment by hadome Thank's but how I execute this command? |
Issue by petetnt
Thursday Sep 29, 2016 at 19:06 GMT
Originally opened as adobe/brackets#12807
This PR handles an rare edge case where MacOS folder icon breaks down the whole FileTreeView. For repro steps see #12789
Background from superuser.com:
This PR checks for the existence of an file called
Icon\r
, and bails out of rendering the saidfileNode
if it's name matches it. This is relatively safe, because you shouldn't be able to create filenames with such special characters yourself.There's an side effect of failing to create a file called "Icon" if
Icon\r
already exists in the same folder, but the behaviour matches MacOS Finder, which also fails (silently).The PR includes adds
Icon\r
to the default exclusion listpetetnt included the following code: https://github.com/adobe/brackets/pull/12807/commits
The text was updated successfully, but these errors were encountered: