onivim / oni

Oni: Modern Modal Editing - powered by Neovim
https://www.onivim.io
MIT License
11.35k stars 300 forks source link

Graphic glitches in editor #2667

Open luator opened 5 years ago

luator commented 5 years ago

Oni Version: 0.3.7 Neovim Version (Linux only): 0.3.1 Operating System: Ubuntu 16.04

Issue: There are several minor graphic glitches in the editor.

Expected behavior: No glitches.

Actual behavior: oni_graphic_glitches_annotated

  1. The text width indicator line has varying width
  2. When searching for something and then clearing the search, the highlighting is not removed completely (thin lines remain above and below). In the example I first searched for "ullamco" and then for "qui".
  3. The character that is marked by the cursor is not properly aligned with the other text, it is a bit moved down.

Steps to reproduce: Open a file, scroll around a bit, search for some words.

In case it is relevant: I am using the solarized dark theme, font is Bitstream Vera Sans Mono, 13pt (however the issue remained when changing them).

CrossR commented 5 years ago

This sounds like #1083 I think?

It was "fixed" by us moving to the more performant webgl based renderer, but the default canvas renderer still has that problem. You can enable the newer renderer with "editor.renderer": "webgl", in your Oni config.

luator commented 5 years ago

@CrossR Thanks a lot, this indeed fixes issues 1 and 2. However, 3 still persists: oni_cursor_char_jump

It is not a big issue in my opinion, though. Just a bit irritating.