dvcrn / proton

space-atom. spacemacs and sublimious style editing in atom
GNU General Public License v3.0
565 stars 56 forks source link

Installation woes #234

Open newres opened 8 years ago

newres commented 8 years ago

One issue that I ran into a few times when I aimed to try out Proton is how heavy and sluggish the install feels.

It takes a really long time before Proton as a whole is installed,, and in the meanwhile Atom is completely unresponsive. Even the list of what is being installed goes halfway outside the window midway during install..

I tried the install multiple times on two different machines, both from the published version and from the source, but I still had this issue..

I was wondering if this was the normal install experience or if I ran into some issue that I do not know about.

dvcrn commented 8 years ago

That is indeed a problem but also not easy to solve.

proton can only fully work when all packages have been installed and applied. Before that if we allow using the editor normal, you might experience some very weird behavior.

One idea would be to just deny all SPC commands until initialization is done and move the window into one of the corners without the modal block. Would that help with this issue for you?

Pinging @geksilla for thoughts

geksilla commented 8 years ago

I'm agree that installation process takes a lot of time. Probably we can make installation in background, do not block user on editing and prioritize package/layer installation. A lot of layers defines keybindings under appropriate package so they will appear in proton-modal only after package become installed. I can take a look how we can optimize this case, but I don't promise to resolve this ASAP. Unfortunately I'm limited on time.

newres commented 8 years ago

I think perhaps a possible solution would be if instead of current checklist of installed packages I could see a terminal, with a more verbose output. I had a couple of installs when atom hanged, or felt like it hanged, but could not tell for sure either way. And if something goes wrong during install it would help to pinpoint the issue.

vi-cat commented 7 years ago

I would be happy if I could install it from a terminal window.

dvcrn commented 7 years ago

@virginc you can run apm install proton-mode to install proton, but this will not take care of the dependency installation triggered through proton

armed commented 7 years ago

+1 for shell script with all apm installs in it.

geksilla commented 7 years ago

We may use status bar instead of modal panel to display installation progress. I think that good approach will be using busy-signal package. What do you think?

agustif commented 7 years ago

Yup, I think busy-signal and a discrete load is the best approach, after all you don't need to block the ui until all the dependencies are installed and ready to load. The -normal- or default editor is enough