Hirohito Higashi wrote:
> Hi Bram, Kazunobu Kuriyama and list,
>
> Related on this thread.
> https://groups.google.com/d/msg/vim_dev/2oLpiSiztwo/U_rSKcCQDgAJ
>
> Above report is 100% reproduced even at 8.0.1290.
>
>
> I found another reproducing procedure.
>
> I configured following one.
> $ ./configure --enable-gui=gnome2 --enable-fail-if-missing
>
> Step to reproduce:
> - Run gvim with term
> $ vim --clean -g +term
> - After changing the height of the terminal window with the mouse, keep the
> drag for about 4 seconds.
>
> Expected behavior:
> - I can input terminal window.
>
> Actual behavior:
> - I can NOT input terminal window and I see flickering cursor.
>
>
> Investigation result:
> I found flickering and stucking mechanism.
>
> - Normal window cursor blinking request to gui_mch_set_blinking() with arg.
> waittime:700, on:1700, off:700
> - ui_mch_start_blink() is called by something trigger.
> (timeout_add() called and callback is blink_cb())
> - Move current window to terminal window.
> - Terminal window cursor blinking request to gui_mch_set_blinking() with arg.
> waittime:0, on:0, off:0
> (Global variable `blink_waittime`, `blink_ontime` and `blink_offtime` is
> changed to zero
> !)
> - Because it timed out, blink_cb() is called.
> - blink_cb() is referenced to `blink_ontime` and `blink_offtime` (It's Zero!)
> - Make stuck by blink_cb() in timeout_add(0, blink_cb, NULL).
>
>
> I make a patch. (Check in blink_cb() avoiding stucking)
Thanks. We can make it a bit more generic by calling
gui_mch_stop_blink() when one of the values becomes zero.
> This bug does not occur because GTK3 has workaround in gui_mch_set_blinking().
> However, if this patch is included, it may be better to turn off that
> workaround.
>
> Kazunobu Kuriyama (Mr.GTK3)>
> Please tell us your opinion.
--
BEDEVERE: Why do you think she is a witch?
SECOND VILLAGER: She turned me into a newt.
BEDEVERE: A newt?
SECOND VILLAGER: (After looking at himself for some time) I got better.
"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/ \\\
\\\ 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].
For more options, visit https://groups.google.com/d/optout.