Skip to content
This repository has been archived by the owner on Aug 22, 2023. It is now read-only.

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

Open
4 tasks
kelleyrw opened this issue Oct 3, 2017 · 8 comments
Open
4 tasks

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

kelleyrw opened this issue Oct 3, 2017 · 8 comments

Comments

@kelleyrw
Copy link

kelleyrw commented Oct 3, 2017

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

  • Operating system : Mac OSX 10.12.6
  • Web browsers : Chrome: 61.0.3163.100 (Official Build) (64-bit), Firefox: 55.0.3, Safari: 11.0 (12604.1.38.1.7).
  • Version or revision of Jupyter Notebook : 4.3.0
  • Revision of jupyter-vim-binding : 7f1a585

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
Copy link
Contributor

jwkvam commented Oct 4, 2017

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
Copy link
Owner

lambdalisue commented Oct 15, 2017

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

@jwkvam
Copy link
Contributor

jwkvam commented Oct 16, 2017

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
Copy link
Author

kelleyrw commented Nov 3, 2017

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
Copy link

toobaz commented Feb 15, 2018

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:

  • it mostly works on the left of closing braces
  • if I start typing a sequence of "a", it works every time the number of "a" typed is equal to 0 or 5 modulo 14 (!)
  • ... but if I move skim back the "a"s, it never works - only at the end of the line.
    I guess then this must be related to #2909

@toobaz
Copy link

toobaz commented Feb 15, 2018

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
Copy link

pablonm3 commented Dec 1, 2018

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

@kelleyrw
Copy link
Author

kelleyrw commented Dec 3, 2018

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants