Open core-ai-bot opened 3 years ago
Comment by peterflynn Thursday Jul 19, 2012 at 01:15 GMT
@
tvoliter, looks like this comes from the new if (selected && selected.isDirectory)
check in ProjectManager. I wonder if we could replace that with a a flag so that we just ignore "documentSelectionFocusChange" events while calling setFileSelectionFocus(). (Since the goal of that call is only to notify WorkingSetView, not the project tree that has already responded to the click).
This isn't that easy to hit, but I preliminarily tagged it Sprint 11 since it's a regression (afaict).
Comment by peterflynn Saturday Jul 21, 2012 at 20:21 GMT
Ugh, Github again.... reopening to actually verify it
Issue by peterflynn Thursday Jul 19, 2012 at 01:09 GMT Originally opened as https://github.com/adobe/brackets/issues/1280
(You can also repro this by clicking the header link in inline editors, or by using File > Open)
Result: Folder remains selected in project tree. No selection highlight shown for the file that you just opened.
Expected: Selection highlight moves to the file you just opened.
This is a regression from the #1117 fix (pull #1269).