Sergey Vlasov wrote:
> I tried to split and distribute the execution as much as possible but
> I still struggle with the issue. I don't know what else to try.
> Splitting it even further will turn my code into an unmaintainable
> spaghetti mess.
>
> I lowered the sleep time and timer frequency to make it is much easier
> to reproduce, basically this way it happens almost on every click:
> ```
> vim --clean -g \
> +'call timer_start(100, {->system("sleep 0.1")}, #{repeat: -1})' \
> +'call popup_create("hello", {})' \
> README.txt
> ```
>
> The problem doesn't happen if there are no popups visible.
This indeed makes it happen much more often. My assumption that this
was caused by recognizing a double click is wrong. I did some digging,
but it's complicated. The mouse codes don't really support mouse
position change by itself. I'll have to invent a new one.
--
ARTHUR: The swallow may fly south with the sun, or the house martin or the
plover seek warmer hot lands in winter, yet these are not strangers to
our land.
SOLDIER: Are you suggesting coconuts migrate?
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ 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/202106081804.158I4287897256%40masaka.moolenaar.net.