Glider frozen as try to read the "User" directory

Hi.

By mistake, when selecting to open a project, I double clicked my Users folder (Windows) and Glider now try it to open as project but it gets stuck trying to open it (I don’t know if it the directory is too big or because it is protected).

So, any suggestion on how can I delete that “project”? Glider already open trying to read it so I am not able to do anything inside the IDE (like closing the project). I already tried to uninstall and install it again but that also didn’t work.

PS: I would highly suggest to change that behavior of double-click to select a directory a directory as project. Several times I did the double-click to get inside the dir and Glider try to open it as a project. Only that in this time now it frozen forever…

Thanks!

Renato

Hello Renato,

Sorry about this. You can force close all projects by doing the following:

  1. open up your user configuration directory

C:\Users\<username>\AppData\Roaming.luagliderv19\dev\config

  1. Delete or rename the “Preferences” folder.

We will put some safeguards to ensure this does not happen again.

On a related note you can always drag and drop folders into the Editor are to open them in Glider. We find that this is a much more convenient approach if you have the folder already opened in windows explorer/finder.

Regards,

M.Y. Developers

Yes. That solved the problem. Thanks

Hello Renato,

Great! Please let us know if you come across any issues.

Regards,

M.Y. Developers

Hello Renato,

Sorry about this. You can force close all projects by doing the following:

  1. open up your user configuration directory

C:\Users\<username>\AppData\Roaming.luagliderv19\dev\config

  1. Delete or rename the “Preferences” folder.

We will put some safeguards to ensure this does not happen again.

On a related note you can always drag and drop folders into the Editor are to open them in Glider. We find that this is a much more convenient approach if you have the folder already opened in windows explorer/finder.

Regards,

M.Y. Developers

Yes. That solved the problem. Thanks

Hello Renato,

Great! Please let us know if you come across any issues.

Regards,

M.Y. Developers

Hi MY.

Just happened to me again that same problem, so I guess you guys haven’t attacked that issue yet in the last version. Please don’t forget to add that to the To Do list.

Thanks

Hello Renato,

We changed the definition of a “project” in the most recent version as any folder that contains a main.lua file. This should prevent users from accidentally opening a huge folder as a project. Is this feature not working as expected for you?

Regards,

M.Y. Developers

Hi.

I noticed that some directories (like the User) indeed are not showing that problem. But glider is still recognizing my Dropbox as a project, so if I make two clicks on it the Glider try to open it (and since it is a big directory, it got stuck).

Image attached.

Ah. sorry guys. It is my fault. I found a GliderProperties.proj file lost inside the Dropbox folder, that why Glider considered it to be a project folder.

I deleted the file and now it is everything working fine.

Hello Renato,

Yes any folder with either main.lua or gliderproperties.proj will open as a glider project. You can force glider to open a folder without a main.lua by creating a blank gliderproperties.lua

Regards,
M.Y. Developers

Hi MY.

Just happened to me again that same problem, so I guess you guys haven’t attacked that issue yet in the last version. Please don’t forget to add that to the To Do list.

Thanks

Hello Renato,

We changed the definition of a “project” in the most recent version as any folder that contains a main.lua file. This should prevent users from accidentally opening a huge folder as a project. Is this feature not working as expected for you?

Regards,

M.Y. Developers

Hi.

I noticed that some directories (like the User) indeed are not showing that problem. But glider is still recognizing my Dropbox as a project, so if I make two clicks on it the Glider try to open it (and since it is a big directory, it got stuck).

Image attached.

Ah. sorry guys. It is my fault. I found a GliderProperties.proj file lost inside the Dropbox folder, that why Glider considered it to be a project folder.

I deleted the file and now it is everything working fine.

Hello Renato,

Yes any folder with either main.lua or gliderproperties.proj will open as a glider project. You can force glider to open a folder without a main.lua by creating a blank gliderproperties.lua

Regards,
M.Y. Developers