Hi Tony,

2020/5/17 Sun 22:11:11 UTC+9 Tony Mechelynck wrote:
>
> gvim 8.2.773 (Big) with GTK3 GUI 
> :echo exists('+errorbells') exists('+visualbell') answers 1 1 
> My vimrc includes the following: 
>   if exists('+errorbells') && exists('+visualbell') 
>     set errorbells visualbell 
>     if has('gui_running') 
>       au GUIEnter * set t_vb= ^[\|250f 
>     endif 
>   endif 
>
> (in the autocmmand, the ^[ is a real Esc) and when I ask :verbose set 
> vb? t_vb? in the GUI the answer is 
>
>   visualbell 
> Last set from ~/.vimrc line 437 
>   t_vb=^[|250f 
> Last set from ~/.vimrc line 439 
>
> with the ^[ in blue and the rest in black 
> and yet, when I hit Esc in Normal mode in the GUI, nothing happens. No 
> sound, no temporary inversion of the background. 
>
> If I comment away the autocommand, t_vb is et at is defaut i.e ^[|f 
> but I still don't see any visualbell 
>
> Oh, and BTW 'belloff' is at its default (empty). 
>
> With the same vimrc and the same executable but invoked as "vim" in an 
> xterm, I see 
>   t_vb=^[[?5h$<100/>^[[?5l 
>
> and there is a faint but discernible visualbell. In a konsole, t_vb 
> has the same value as in xterm and the visualbell is much more 
> visible. 
>
> Best regards, 
> Tony. 
>

gui_mch_flash() is not implemented for GTK3:
https://github.com/vim/vim/blob/ed37d9b3241abe7c302c7ac606df80037aecdb46/src/gui_gtk_x11.c#L5941-L5943

Regards,
Ken Takata

-- 
-- 
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 vim_dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/e2e5e059-4fcc-4765-add7-ed928ee11dda%40googlegroups.com.

Raspunde prin e-mail lui