daa84 / neovim-gtk

gtk ui for neovim
GNU General Public License v3.0
716 stars 57 forks source link

Cursor is transparent #99

Closed slavoutich closed 6 years ago

slavoutich commented 6 years ago

After the recent changes to cursor rendering (commit 2dc10aa, I guess), cursor is transparent, which makes GUI completely unusable. Visually a symbol under cursor is blinking in normal mode and part of it (covered by vertical line cursor) is blinking in input mode.

(Linux x86-64, latest master version)

daa84 commented 6 years ago

Maybe this is related to #96. Can you try to run with env NVIM_GTK_DOUBLE_BUFFER=1 ?

slavoutich commented 6 years ago

I do precisely that. Without it i successfully reproduce #96. (Setting NVIM_GTK_DOUBLE_BUFFER=0 does not help the cursor, though.)

daa84 commented 6 years ago

Looks like need to revert this changes and rewrite them. Can you provide screen shot or video with problem?

slavoutich commented 6 years ago

Screencast is here. https://slavoutich.ocloud.de/index.php/s/y6P5ksEixmMRwqD

slavoutich commented 6 years ago

Confirm now, everything works. I guess that the issue may be closed. (Not only "default" colorscheme was affected, I just made an empty configuration to make sure that issue is not due to my init.vim.)

galvao commented 4 years ago

The bug resurfaced on Fedora 31. NVIM_GTK_DOUBLE_BUFFER doesn't help. Any ideas?

dkuteynikov commented 3 years ago

same issue in Ubuntu 20.04.2 LTS, on the latest master of Neovim-Gtk (c03649276ee47caa9bc7beb68f6c800b8c97651a)