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

Micro lagg on first save #121

Closed
dvcrn opened this issue Jan 26, 2016 · 6 comments
Closed

Micro lagg on first save #121

dvcrn opened this issue Jan 26, 2016 · 6 comments
Labels

Comments

@dvcrn
Copy link
Owner

dvcrn commented Jan 26, 2016

One of the plugins we integrate is probably hooking on the save event. Right now, the first save on a new file takes around 1-2s. Saves after the first one are back to instant.

@dvcrn dvcrn added the bug label Jan 26, 2016
@rxx
Copy link

rxx commented Mar 4, 2016

Yes, I have same thing

@rxx
Copy link

rxx commented Mar 4, 2016

Sometimes I can't save with SPC f s, it openes file opener with SPC f f

@richarddewit
Copy link
Contributor

@maksim-litvinov - Ive encountered that also. It seems what happens is that the first letter is registered twice, so you press SPC f and it immediately opens the file opener, as if SPC f f is pressed. Same goes for anything with functions with 2 of the same keys consecutively, like SPC b b.


Edit:
I can't seem to reproduce it right away.


Edit2:
I just encountered it again. SPC f acts as SPC f f, SPC b acts as SPC b b, etc. This happened after reloading Proton.
For some reason the first character after SPC gets caught twice. Maybe the keypress listener gets registered a second time when reloading Proton.

@dvcrn
Copy link
Owner Author

dvcrn commented Mar 29, 2016

Did you use the reloading keybinding by chance (SPC _ r) before this started to happen?

@richarddewit
Copy link
Contributor

@dvcrn - Yes I did

@dvcrn
Copy link
Owner Author

dvcrn commented Mar 29, 2016

Hrrm. I think we are not cleaning the entire state correctly when reloading proton

@dvcrn dvcrn closed this as completed Sep 26, 2016
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