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

Popups flickers with asynchronous backend and caching disabled #510

Closed
Yevgnen opened this issue May 9, 2016 · 2 comments
Closed

Popups flickers with asynchronous backend and caching disabled #510

Yevgnen opened this issue May 9, 2016 · 2 comments

Comments

@Yevgnen
Copy link

Yevgnen commented May 9, 2016

Hi,

Thanks for the awesome package !

I find that what when grouping a asynchronous backend with other backends, the company candidate menu flashes quite often each time I type a single char. This behavior is not occurred with manual completion.Details can be found in emacsorphanage/company-jedi#16

In my opinion, grouping backends is still quite useful even the 'main backend' works fine in most situations. So, if I want to use auto completion and grouping backends, is it possible or will it be difficult to fix this ?

Any help will be appreciated :)

@dgutov
Copy link
Member

dgutov commented May 9, 2016

Thanks for the report, it's a somewhat known problem, see also #337 and the linked discussion.

When there is a grouped backend in a group, the whole group works asynchronously. If at least one of the backends in it disables caching, the caching is disabled, again, for the whole group.

The async+no-cache combination currently leads to flickering.

@dgutov dgutov changed the title Problem when grouping asynchronous backend with other backends Popups flickers with asynchronous backends and caching disabled May 9, 2016
@dgutov dgutov changed the title Popups flickers with asynchronous backends and caching disabled Popups flickers with asynchronous backend and caching disabled May 9, 2016
dgutov added a commit that referenced this issue Feb 9, 2018
@dgutov dgutov closed this as completed in 307b620 Feb 11, 2018
@dgutov
Copy link
Member

dgutov commented Feb 11, 2018

Should work better now. Also see #654 for some related comments (at the end).

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

No branches or pull requests

2 participants