> I'm also really enjoying the popups. I have a screencast here, but it > demonstrates a problem rather than acts as a showcase I think: > > https://asciinema.org/a/ARcxLcTKZepZfnBTsBjFqv88y > > The flickering of both the popupmenu and the 'info' popup are quite > extreme. Admittedly this example is also extreme in the sense that there > are many settings and plugins in use here, including text properties being > used to semantically highlight the buffer. But my efforts to reduce the > issue to any one plugin or option have failed - there is always _some_ > flickering in a completion menu with 'info' and `completeopt+=popup`, and > the more highlights and text_properties in the buffer, the more obvious the > flickering becomes. > > Does the popupmenu have to be destroyed and recreated as the selection > changes? Or can redrawing perhaps be disabled during this period?
It should not flicker that much. Especially now that a mask is used to only redraw what is needed. Perhaps your code somehow marks the menu in a way it's destroyed and recreated? Can you make a simplified example (with dummy data) to illustrate the problem? If you have an async way of updating, you can use a timer to simulate that. -- hundred-and-one symptoms of being an internet addict: 237. You tattoo your email address on your forehead. /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/201912092106.xB9L6fHa025388%40masaka.moolenaar.net.
