Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Startup loop #7626

Closed
maxwowpow opened this issue Apr 24, 2014 · 8 comments
Closed

Startup loop #7626

maxwowpow opened this issue Apr 24, 2014 · 8 comments

Comments

@maxwowpow
Copy link

Hello,

if the folder of last working project is relocated or deleted the error dialog with single OK button pops up, clicking OK reiterates the attempt to load the project, so the same error dialog pops up. Menus are useless (no closing / opening), the app cannot be closed at all, the process should be killed.
http://screencast-o-matic.com/watch/c2fZq9nvh8

Win8.1U1x64DE,
Regards,
Max

@njx
Copy link
Contributor

njx commented Apr 24, 2014

That's bad. It's supposed to fall back to the Getting Started project in that case. I wonder if this broke recently.

@njx
Copy link
Contributor

njx commented Apr 24, 2014

FWIW, I can't repro this on the Mac - if I delete the folder while it's the open project folder, I don't get any error in Brackets; switching to another folder and then back gives me the error once, and then it falls back to Getting Started. If I quit Brackets while it's the open project folder, delete it, then restart Brackets, I also just get the error once and it falls back. So maybe this is Windows-specific for some reason.

@maxwowpow
Copy link
Author

I'm sure latest updates didn't break anything, I removed the getting started project, but the problem is with logic... If no project exists even default nothing should be opened or the error should be booled out and go away after 1 try IMHO.

Regards,
Max

@njx
Copy link
Contributor

njx commented Apr 24, 2014

Oh, yes, that's a known issue: #6505. The problem is that Brackets doesn't currently support having no folder open. However, there might be a quick fix to make it so we just pop up the Open Folder dialog in this case.

(Just to be clear - when you said "I removed the getting started project", did you mean you deleted the actual folder containing it from disk (as opposed to just removing it from the dropdown in the files panel? I think we've been assuming that people wouldn't delete the actual folder on disk, especially since it lives in or near the executable, which is why we haven't bothered to fix this yet.)

@peterflynn
Copy link
Member

The getting started folder is basically part of the installation package, so it definitely seems like people shouldn't mess with it... but that won't stop everyone :-) I like the simple fix proposed in #6505 - just force people into the Open Folder dialog in this case. Should we close this one as a dupe?

@njx
Copy link
Contributor

njx commented Apr 24, 2014

Yes, though I want to get verification from @maxgrass that he deleted the actual folder first :)

@maxwowpow
Copy link
Author

Yes, that's the folder.
I mean it's not a template so people could use is, it's a welcome message, so people read it one time and never read it again, I'm not insisting, that it does not belong to installation package, the idea of having a. binary renderer b. plain code in js for extensions is ok, examples are some "optional" files which "essentiallity" I would question. So in this sense fix 6505 would i.e. resolve this problem as well, allowing people to keep the "clean" version of software.

P.S. I care, because I'm keeping all potential portable apps in sync, so having installed it @ work (these 2200 files) I have automatically app ready @ home. Brackets has that potential, but my heart bleeds when I have to have what I do not actually need.

@njx
Copy link
Contributor

njx commented Apr 24, 2014

OK, thanks for the confirmation. Agreed that the current behavior is bad - just something we hadn't gotten around to yet. But we can bump up the priority now that we know people are actually running into it.

Closing as a dupe of #6505. I'll nominate that one for 1.0.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants