lambdalisue / jupyter-vim-binding

Jupyter meets Vim. Vimmer will fall in love.
2.1k stars 136 forks source link

edit mode curser disappeared in Chrome but works in Firefox #115

Open kelleyrw opened 7 years ago

kelleyrw commented 7 years ago

Summary

About a month or so ago, the black blinking cursor in edit mode disappeared while using Chrome. When I switched to firefox, it works as expected.

Environment

Behavior

Black cursor in edit mode not appearing in edit mode in Chrome.

Expected

When in edit mode, a think black blinking cursor appears. Works in Firefox and Safari but not Chrome.

Actual

No cursor or indicator of where the keyboard location is. Chrome only.

Step by step procedure

Any jupyter notebook

What you have done to solve the issue

Isolated the issue to Chrome.

Remarks

jwkvam commented 7 years ago

I saw this happen sometimes if I use 90% zoom and a font with ligatures like fira code. I went back to a non-ligature font to fix it.

lambdalisue commented 7 years ago

@kelleyrw Does @jwkvam's workaround works? If this is just a font issue, I'll close this.

jwkvam commented 7 years ago

Actually, I take back my comment about non-ligature fonts. I see this with other fonts as well to fix I always have to go back to %100 zoom. I prefer %90 for jupyter notebooks. I haven't tested this without this plugin to see where the issue lies.

kelleyrw commented 6 years ago

Are you able to reproduce the issue? For me the workaround is use firefox (which is not my main browser). I would hope that this get's fixed so there is not need for a workaround.

toobaz commented 6 years ago

I can reproduce at 90%. Just wanted to add that for instance at 75% and 67% of zoom it works fine, while at 50% it works only in few positions. For instance:

toobaz commented 6 years ago

The bug also depends on the window size. For instance, if I work with a zoom of 75% and maximize the window in a 1366x768 monitor, it works fine, but the cursor disappears if I maximize the same window in a 1920x1080 monitor.

pablonm3 commented 5 years ago

I also have the same problem, setting the zoom to 100% got my cursor back

kelleyrw commented 5 years ago

I've switched to using jupyter-lab and it works great with no issues on Chrome.