-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Brackets rendered unusable if current project folder is deleted between launches, and Getting Started folder has been deleted in the past #6505
Comments
This is an unfortunate known issue - Brackets currently can't deal with having no open project, and it would be nontrivial work to fix that (see https://trello.com/c/RFi7TFyj). However, @dangoor pointed out that we could have a relatively simple stopgap fix, which is that if we detect that there's no Getting Started folder, pop up the Open Folder dialog. Opening to me, low priority. |
Nominating for 1.0 since some other folks have run into this and the potential temp fix should be easy. |
Also marking "needs review" since we went past this bug in the 1.0 review. |
Proposed flow:
|
@redmunds Good thoughts! I bet step 1 will actually cover 99% of the cases. For the final step, I'd been picturing just cycling the user back into the Open Folder dialog again -- but that's actually bad since it prevents quitting. Throwing them into the install folder seems like a better approach, even if it's still kinda ugly. |
Can't we just show the empty screen (with the Brackets logo in the background, just like no file is opened) as 4. step? |
Yeah, it's not a UI problem - it's the fact that other code in Brackets or extensions might blow up if there's no current project. Just an issue we need to fix that we haven't gotten around to. |
Reviewed, leaving in 1.0. |
I tested these cases with pr #9372
|
@JeffryBooher Can this be closed now that the fix is merged? It has a "pick me up" label but no Waffle column label... but it looks like the fix has landed already. |
Apologies. I wanted to confirm if we needed to keep it open or not with @redmunds before closing. |
@JeffryBooher I think it's been tested enough, so I'm good with closing it. |
Method:
Result:
When Brackets fails to load the New Project, it falls back to the Getting Started folder, and gets stuck in a prompt loop that makes UI unusable, requires an End Task, and re-install of Brackets or re-creation of an empty "Getting Started" or the previously deleted "New Project" Folder.
Suggested workarounds:
Reference this commit for possible bug:
d6b86f9
The text was updated successfully, but these errors were encountered: