Brackets: File tree collapses by itself when opening directories.

Created on 12 Mar 2019  路  13Comments  路  Source: adobe/brackets

When I open a subdirectory in the file tree, it completely collapses, and I have to uncollapse the directory I was working in. Basically, when I open or close a directory, the whole file tree collapses. This is really annoying, and I really need help fixing it.

Here's a GIF showing what's happening:
2019-03-12_13-49-35

Most helpful comment

Looks like moving the original state.json file away from the Brackets appdata folder fixed it. Thank you guys so much for helping me fix this.

All 13 comments

Is anyone going to help fix this? It's been 13 days, and it's really bugging me.

Okay, it's been more than a month? Has this been fixed yet?

@sykeben Did you try reloading brackets without extensions? Looks to me a problem caused by some extension which is modifying file tree DOM.

Ill take a look, I tried that before but I don't remember it working, but I'll check again for my own sanity.

So, I reloaded without extensions (through the debug menu) and the issue still happens. If you need to know, the version I have is windows-release-1.13.1 fc2ebbeea.

Thanks for reporting this @sykeben. We're looking into the issue at the moment. Meanwhile can you help us by checking the console in developer tools, and report if there are any warnings or errors logged.

Also, can you provide us with the list of extensions that you currently work with. Thanks again for reporting. Allow us sometime to debug the issue.

I'll take a look at the logs, and send you my list of extensions. Thanks a ton for looking into this!

Below are the logs (I couldn't copy-paste or use the "save as..." menu item from the console so I had to insert screenshots).

With Extensions
image
image
image

Without Extensions
image
image
image
image

Once again, thanks for all your help!

Thanks a ton for the error logs. I'll take a look into this. Also, do provide me with list of extension if you can.

Here's a list of non-default extensions I'm currently running:

Thanks.

I am not able to reproduce this on my machine. But, this might be due to a corrupted state.

Try this:

  • Completely close Brackets (very important)
  • Open Run Command Box (Win + R)
  • Paste %appdata%
  • Open Brackets Folder
  • Copy the state.json to some safe location, and then delete it from the Brackets folder
  • Relaunch Brackets

You'll start over from a fresh state.
Check if the problem is solved. If so then probably something went wrong with the serialization of your existing state.

If the problem still occurs, close Brackets again (important) and restore your original state.json back.

Looks like moving the original state.json file away from the Brackets appdata folder fixed it. Thank you guys so much for helping me fix this.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

zaggino picture zaggino  路  4Comments

rugk picture rugk  路  4Comments

macjabeth picture macjabeth  路  3Comments

Bluefirecracker picture Bluefirecracker  路  4Comments

theman1616 picture theman1616  路  4Comments