Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attempting to change project when there are unsaved files makes Brackets unresponsive #18

Open
rolivav opened this issue Nov 25, 2015 · 5 comments
Labels

Comments

@rolivav
Copy link

rolivav commented Nov 25, 2015

I work with big projects and this plugin helps a lot when changing between them. Thing is, I have to remember to save all files before changing or else
1- It won't change to the other project
2- The editing window becomes unclickable and I can't modify anything. The open projects button disables too.

Was this the expected result?

It would be great to have a prompt to save the files before changing or something like that. If I find some time I'll try to add it myself.

Brackets v1.4

@dnbard
Copy link
Owner

dnbard commented Nov 25, 2015

Thanks for report! Could you please provide the error in development tools if you see them ?

Also, as quick solution you can have an extension that will autosave your files when you switch to another file (I have installed such extension a long ago and maybe this is a case why I didn't see that issue).

@dnbard dnbard added the bug label Nov 25, 2015
@rolivav
Copy link
Author

rolivav commented Nov 26, 2015

Yeah, I opened devtools and there is no error, other than:
Failed to load resource: the server responded with a status of 503 (Service Temporarily Unavailable)
http://online-dnbard.rhcloud.com/tick/542ba89acfe5e6c4c60000e2/71ee7f0e4e728891ad5ad5d00c249e72

By the way, what is that? I get that error when I run Brackets, everytime, but everything works perfectly.

Anyway, when I "crash" the plugin it doesn't show any error, it just doesn't let me do anything except displaying the options in the menu bar.

@dnbard
Copy link
Owner

dnbard commented Nov 27, 2015

  1. This is the anonymous statistics server.
  2. I'm going to stop using it from the next version of this extension.

Regarding the issue: will try to reproduce it myself.

@xtoq
Copy link

xtoq commented Dec 2, 2015

Also happens to me. If it helps, here are the steps to reproduce:

  1. Open a project.
  2. Open a file.
  3. Make some changes but do not save the file.
  4. Press alt+p to open the projects modal.

Expected outcome:
5. Brackets should ask if I want to save or discard changes.
6. After the choice is made, the projects modal should pop up.

Actual outcome:
5. Projects modal opens.
6. Choose a project.
7. Projects modal closes, but no changes can be made to files open and menus work erratically. Refreshing or restarting Brackets solves the issue.

As @rolivav commented, there are no errors in the developer's console.

@rolivav
Copy link
Author

rolivav commented Dec 3, 2015

Exactly what @xtoq describes.

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

No branches or pull requests

3 participants