adobe / brackets

An open source code editor for the web, written in JavaScript, HTML and CSS.
http://brackets.io
MIT License
33.25k stars 7.63k forks source link

File tree does not update on 0.39.0-12914 (release b74889180) #8097

Open petetak opened 10 years ago

petetak commented 10 years ago

I have made a QuickCast of the issue:

http://quick.as/yefx0l

This is running in conjunction with Mixture (which I'm a dev of if you have any questions) which uses FSEvents to detect changes. Only one event fires in Mixture - which triggers the minification of the js - however this is not seen in the file tree - even though it's there on disc and even when I refresh the file tree you don't see it.

njx commented 10 years ago

Interesting. It's unlikely to be the timestamp resolution issue, since the file actually didn't exist before.

/cc @peterflynn Any thoughts? Might want to download a trial of Mixture to try to repro.

@petetak Does this bug generally happen with all the different kinds of processing that Mixture does, or does it seem specific to this case?

petetak commented 10 years ago

I will supply more details today

bzuillsmith commented 10 years ago

I get the same issue. Just want to add the right-click > Refresh File Tree doesn't work to fix the issue either. I have to close and reopen the program.

njx commented 10 years ago

Nominating for consideration to investigate in depth soon. https://trello.com/c/S94cLTCO

dangoor commented 10 years ago

Reviewed high priority to @bchintx

dangoor commented 10 years ago

Reassigning to @ingorichter because he's been able to reproduce this.

ingorichter commented 10 years ago

@petetak Do you have any extension installed? Do you see any error in the console? Would you mind sharing this information with us? This would help us to figure out the root cause. Thanks.

dangoor commented 10 years ago

Ingo clarified that he could reproduce this, but only with his extensions enabled. By running without extensions (Debug :arrow_right: Reload Without Extensions) he did not see this problem.

We actually have regular manual tests that we do that verify the basic operation of our file watchers.

Given all of this, I'm going to add the label "extension problem" and reduce the priority. If we hear back with more information regarding extensions and whether there are messages logged in the console (Debug :arrow_right: Show Developer Tools) then we can re-evaluate.

petetak commented 10 years ago

Sorry for the slow reply - it's the same for me - reloading without extensions solves the issue

ninthart commented 10 years ago

I had this problem as well, but seeing the comments above spurred me to test every extension I was running to see if it causing the problem. Eventually, after a lot of un- and reinstalling, I narrowed it down to the Themes for Brackets extension found here. Once I uninstalled that particular extension, the file tree updated once again.

Update - I also tested two other theme extensions found in Extensions Manager to see if they created the same problem. Of the two I tested, Themes had the same effect (i.e. the file tree refresh stopped working), but Brackets-darker allowed the file tree refresh to carry on working. I hope this helps.

bzuillsmith commented 10 years ago

Doesn't seem to be limited to theme extensions though. I've never used one. Seems a lot of extensions can cause this which is a sign of a deeper problem. Unfortunately I don't have access to my computer with the problem at the moment.

dangoor commented 10 years ago

Note that there is possibly a connection between this issue and #7638. I'd say that it's not clear that there's an extension involved with this problem (or which extension is the problem).