dcchambers / vb4c

vb4c has been archived - please direct all conversation to the original cVim project page: https://github.com/1995eaton/chromium-vim
MIT License
141 stars 13 forks source link

enable/disable vb4c does not line up with green/gray colors #18

Open DavidGretzschel opened 4 years ago

DavidGretzschel commented 4 years ago

Expected behaviour: When vb4c is disabled it is grey. When it is enabled it is green. When it is enabled (and/or it is green, since those things should be the same, but often are not) and I click on the vb4c-icon in the extension-bar, it should show me "disable vb4c". When it is disabled and I click on the vb4c-icon in the extension-bar, it should show me "enable vb4c". observed behaviour: vb4c is shown as green and is working and I click on it and it offers me "enable vb4c". This does not make sense, because you can't enable something, that is already enabled.

image

This has been a pretty old bug from the cVim days, but I never bothered making an issue for it. Might be it's already been reported on.

DavidGretzschel commented 4 years ago

here's the opposite case. vb4c is disabled and grey and clicking "disable vb4c" will enable it. image

DavidGretzschel commented 4 years ago

here's a demonstration video: https://www.loom.com/share/be2f63c200ec4311ace9142b5fc40fe8

Note that it will resync itself if you disable and then click away and click on it again.

illiiilli commented 4 years ago

Offtopic, but this happened on the original cvim as well, and is not a game breaking bug.