oni icon indicating copy to clipboard operation
oni copied to clipboard

Changing themes results in flashing, and theme doesn't get set

Open lukakerr opened this issue 8 years ago • 3 comments

Oni Version: 0.3.7.6458 Neovim Version (Linux only): (i'm using neovim version 0.2.2 set with the "debug.neovimPath" key, not sure if it relevant) Operating System: macOS Mojave 10.14.1

Issue: Changing themes results in window flashing forever, and theme doesn't get set. A related bug is also that selecting the theme with the mouse (not the arrow keys) doesn't result in the flashing, but doesn't actually set the theme, it just closes the command pallet.

In the console I don't get any errors/warnings, but this is some of the output

bundle.js:1 [NeovimEditor] Colors changed: nord - background: #2e3440 foreground: #d8dee9
bundle.js:1 [NeovimEditor] Colors changed: gruvbox - background: #282828 foreground: #ebdbb2
bundle.js:1 [NeovimEditor] Colors changed: nord - background: #2e3440 foreground: #d8dee9
bundle.js:1 [NeovimEditor] Colors changed: gruvbox - background: #282828 foreground: #ebdbb2
bundle.js:1 [NeovimEditor] Colors changed: nord - background: #2e3440 foreground: #d8dee9
bundle.js:1 [NeovimEditor] Colors changed: gruvbox - background: #282828 foreground: #ebdbb2
bundle.js:1 [NeovimEditor] Colors changed: nord - background: #2e3440 foreground: #d8dee9
bundle.js:1 [NeovimEditor] Colors changed: gruvbox - background: #282828 foreground: #ebdbb2
bundle.js:1 [NeovimEditor] Colors changed: nord - background: #2e3440 foreground: #d8dee9
bundle.js:1 [NeovimEditor] Colors changed: gruvbox - background: #282828 foreground: #ebdbb2
bundle.js:1 [NeovimEditor] Colors changed: nord - background: #2e3440 foreground: #d8dee9
bundle.js:1 [NeovimEditor] Colors changed: gruvbox - background: #282828 foreground: #ebdbb2
bundle.js:1 [NeovimEditor] Colors changed: nord - background: #2e3440 foreground: #d8dee9
bundle.js:1 [NeovimEditor] Colors changed: gruvbox - background: #282828 foreground: #ebdbb2
bundle.js:1 [NeovimEditor] Colors changed: nord - background: #2e3440 foreground: #d8dee9
bundle.js:1 [NeovimEditor] Colors changed: gruvbox - background: #282828 foreground: #ebdbb2
bundle.js:1 [NeovimEditor] Colors changed: nord - background: #2e3440 foreground: #d8dee9
bundle.js:1 [NeovimEditor] Colors changed: gruvbox - background: #282828 foreground: #ebdbb2
bundle.js:1 [NeovimEditor] Colors changed: nord - background: #2e3440 foreground: #d8dee9
bundle.js:1 [NeovimEditor] Colors changed: gruvbox - background: #282828 foreground: #ebdbb2
bundle.js:1 [NeovimEditor] Colors changed: nord - background: #2e3440 foreground: #d8dee9
bundle.js:1 [NeovimEditor] Colors changed: gruvbox - background: #282828 foreground: #ebdbb2
bundle.js:1 [NeovimEditor] Colors changed: nord - background: #2e3440 foreground: #d8dee9
bundle.js:1 [NeovimEditor] Colors changed: gruvbox - background: #282828 foreground: #ebdbb2
bundle.js:1 [NeovimEditor] Colors changed: nord - background: #2e3440 foreground: #d8dee9
bundle.js:1 [NeovimEditor] Colors changed: gruvbox - background: #282828 foreground: #ebdbb2
bundle.js:1 [NeovimEditor] Colors changed: nord - background: #2e3440 foreground: #d8dee9
bundle.js:1 [NeovimEditor] Colors changed: gruvbox - background: #282828 foreground: #ebdbb2

A gif demonstrating the problem is shown below:

oni_c

Expected behavior: The theme should get set

Actual behavior: The theme doesn't get set, and the window flashes

Steps to reproduce:

  1. Open the command pallet with CMD+SHIFT+P
  2. Choose "Themes: Choose Theme"
  3. Select a theme using the arrow keys (not the cursor)

lukakerr avatar Nov 06 '18 06:11 lukakerr

Hello and welcome to the Oni repository! Thanks for opening your first issue here. To help us out, please make sure to include as much detail as possible - including screenshots and logs, if possible.

oni-bot avatar Nov 06 '18 06:11 oni-bot

Hello @lukakerr ! AFAICS, this bug seems to have already been reported here: #2470

marcagba avatar Nov 07 '18 18:11 marcagba

Since this looks the be covered already, I'll close this out! Cheers for reporting though, and to @marcagba for finding the duplicate!

CrossR avatar Nov 13 '18 15:11 CrossR