-
-
Notifications
You must be signed in to change notification settings - Fork 40
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
PUM flickers #148
Comments
It is the feature of deoplete and deoplete-jedi. deoplete supports the asynchronous completion and deoplete-jedi uses the feature. |
I think you have used the huge module. |
To clarify from my end: I am currently not able to use the PUM with deoplete-jedi. If I press Are you saying this is expected behavior, and to not interact with the PUM using deoplete except for accepting first item? Because that would be weird considering that you have an animation on the deoplete readme that demonstrate PUM iteraction. Do you mind clarifying what you mean by "the huge module"? Is this something I could change on my end? |
So I checked the difference between a simple small file and a larger project, and there behavior is not reproducible in smaller projects. Perhaps that is what you meant with "the huge module". Is there anyway to mitigate this? Obviously I can not stop working on larger code bases. |
Yes. Please upload the huge examples. I think it is hard to fix. |
You must wait the input if you want to select the completion. |
You can change |
I may fix the problem in pararell branch. |
Unfortunately, the code that causes the problem is propitiatory, so I am not able to share. I will need to narrow down the problem to see if there is a specific module that causes it, or if it is the accumulation. I will post the code here if I can reduce the problem to something I can publish. The I will take a look at your parallel branch and see if it help. |
You can upload other open source modules instead.
The implementation is imcomplete. |
I've been able to replacate the problem when using the repo numpy/numpy, branch master.
In the case of numpy the effect is only temporary. Letting it lingers for about 6-7 seconds, and the problem disappears for some reason. I would like to note that this is not the case in my private repo. |
OK. I will test it later. |
Because, deoplete-jedi finished the completion. |
I have implemented the feature. |
I've tried switching to the parallel branch (
Using a non-minimal init file, I catch the following message:
In either case, completion does not work. |
Please use the latest version instead. |
I pulled the newest version of |
I cannot reproduce the error. The child process seems crashed. |
I am tinkering with it now. Looks like I just needed to update deoplete-jedi as well and the crashes stopped. I'll leave it be with that. However the "flicker" problem still persists. And by the looks of it, the rate is up to about 14 times a second: |
Hm. OK. |
Really? I cannot reproduce the problem. |
I think the completion is very slow. The feature is implemented. |
Ah, that did it! By setting delay to above 100, the flickers disappear. Thank you for your patient diagnosing this problem. It is much appreciated. |
I may change the default value. |
The text editor is my life. |
I have reproduced probem in master. |
It is bug of deoplete. |
Problem summary
When deoplete PUM/dropdown menu pops up, it starts to flicker about every second or so. Iterating down the list, the selected item "aborts" in the sense that it jumps to the top again. this makes it difficult to select anything except the first item.
The minimal init file under reproduces the problem. Removing
deoplete-jedi
removes the problem, so I believe the problem is not withdeoplete
.Expected
It should not flicker.
Environment Information
Ubuntu 17.04
Provide a minimal init.vim with less than 50 lines (required)
Generate logfiles if appropriate
Then look at and attach the files
/tmp/nvim-log_{PID}
and/tmp/deoplete.log
here.Steps to reproduce the issue after starting Neovim (required)
Just start typing anything that has known completion.
Upload the logfile(s)
deoplete.log
nvim-log_py3_rplugin.log
nvim-log_py3_script.log
The text was updated successfully, but these errors were encountered: