Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cant type right bracket ']' #2379

Closed
steboc opened this issue Apr 6, 2017 · 40 comments · Fixed by #2535
Closed

cant type right bracket ']' #2379

steboc opened this issue Apr 6, 2017 · 40 comments · Fixed by #2535

Comments

@steboc
Copy link

steboc commented Apr 6, 2017

i cant type right bracket

Jupyter 5.01
Windows 7 ( French version ) and windows 10 ( french)
Chrome 57.0.2987.133

edit : work with firefox

@flothesof
Copy link

I have the same problem and incidentally the same setup: Windows 7 French, Notebook 5.0.0, Chrome 57.0.2987.133. Typing "]" inside a cell does not work.

@gnestor
Copy link
Contributor

gnestor commented Apr 7, 2017

Hmmm.... It works for me on notebook 5.0.0, macOS, Chrome.

@Carreau @minrk

@Carreau
Copy link
Member

Carreau commented Apr 7, 2017 via email

@steboc
Copy link
Author

steboc commented Apr 7, 2017

its AltGr + (key below f9 on the picture )
http://www.vallons.fr/cours-pc/Clavier_Azerty.jpg

@KevinBaudin
Copy link

Got the same issue with Jupyter (Anaconda 2) since last update 2 days ago
on Google Chrome Version 57.0.2987.133 (64-bit)

French keyboard (and yes, it s indeed AltGr + ")", two keys left from backspace)

Doing ] with Alt+93 from now, but quite annoying.

Ask me anything if you want further informations to fix this

@Carreau
Copy link
Member

Carreau commented Apr 20, 2017

I've tried with my mac, setup with french keyboard and unfortunately I can't reproduce. So I'll have to find an actual windows machine and likely a Physical french keyboard layout (with altgr) and see what we can do.

How does it behave in codemirror directly ?

http://codemirror.net/

@KevinBaudin
Copy link

Nothing wrong on codemirror for me.
Still got the issue on Jupyter though.

@gatsu
Copy link

gatsu commented Apr 22, 2017

Got the exact same problem, french azerty layout, win10, chrome. Using firefox "solve" the problem.

@KevinBaudin
Copy link

Anything new?
Any clue to fix this ?

@Carreau
Copy link
Member

Carreau commented Apr 26, 2017

Anything new?
Any clue to fix this ?

No, without a windows machine with the bug to actually track it down I can't narrow down the issue.
@SylvainCorlay you are in France maybe you have access to that ? I should be back in France this summer, I might have one machine available to do that. Unfortunately I stopped using French keyboard a couple of years ago and there is none available here.

@SmirnovAnton
Copy link

SmirnovAnton commented Apr 26, 2017

Confirming this issue with a German QWERTZ layout, Windows 7, Chrome version 58.0.3029.81 (64-bit), Jupyter version 4.3.0, Jupyter Notebook version 5.0.0.

Am trying to type a "\" in a Markdown cell of an R notebook using AltGr + ß (ß is located directly under F9), nothing happens. The @ and € symbols both work (AltGr+Q, AltGr+E). Same behaviour in a code cell or a Python 3 notebook.

Holding down AltGr brings up the crosshair you get by holding down Alt (used for vertical selection).

Have just upgraded to Notebook version 5.0.0 and pip version 9, did not see the problem before the upgrade.

@takluyver
Copy link
Member

Have just upgraded to Notebook version 5.0.0 and pip version 9, did not see the problem before the upgrade.

Hmm, that's interesting. Maybe our use of a newer Codemirror version broke something. Does anyone have time to git bisect the notebook repo to find the first commit affected?

@takluyver
Copy link
Member

If you're bisecting JS issues, by the way, you'll need to rebuild the JS at each step - see Setting up a development environment - and try to avoid your browser loading cached Javascript.

@floriangeigl
Copy link

Same here - can't type a \ in Chrome & IE. However, it works fine in Firefox.

@gempel
Copy link

gempel commented May 13, 2017

Same \ problem here on German keyboard, Win10 and Chrome. Works in Firefox.

I used git bisect and found 1c8437a. The problem comes from the 'indentAuto' command in cell.js. In Chrome pressing the backslash-key-combo in a jupyter cell does indeed auto-indent . Removing the two 'indentAuto' lines and rebuilding the project fixes it.

The backslash-key-combo is incorrectly indentified as 'Ctrl-Alt-['. Should be 'Ctrl-Alt-\' or any of 'ß ? \'.

The Key-Event for the German backslash-key-combo in Chrome:

altKey: true
ctrlKey: true
key: '\'
keyCode: 219
which: 219

Firefox:

altKey: true
ctrlKey: true
key: '\'
keyCode: 63
which: 63

@marcolivierarsenault
Copy link

"[" on the Canadian french keyboard does not work

@fbilbao
Copy link

fbilbao commented May 17, 2017

The same problem with an spanishLAT keyboard. https://www.goodtyping.com/teclatLAT.png Pressing AltGr+' turn the cursor in a cross instead of write a backslash.

@bobocharbo
Copy link

bobocharbo commented May 24, 2017

I got the same problem on french keyboard, windows 7 pro (french version), and jupyter version 4.3.0.
I only tried in chrome thought (Version 58.0.3029.110 (64-bit))

@Birion
Copy link

Birion commented May 26, 2017

I can confirm this problem on Czech QWERTY keyboard with "[". Exactly the same result as @fbilbao. Windows 10, jupyter 4.3.0, Chrome 58.0.3029.110 (64-bit).

@ruboerner
Copy link

ruboerner commented May 30, 2017

I can confirm the Backslash problem with a German keyboard. Windows 10, Anaconda3, Chrome 58.0.3029.110 (64-bit).

Workaround: Prior to pressing AltGr-ß, type "´" (acute)!

@gnestor
Copy link
Contributor

gnestor commented May 30, 2017

I just submitted a PR that should fix this for both French and German keyboards. Since I have an English keyboard, I can't test myself, so I need someone here to help test.

git fetch jupyter pull/2535/head:pr/2535
git checkout pr/2535
npm run build

@gempel
Copy link

gempel commented May 31, 2017

I tested the PR in a new environment and can confirm, that it works (German, \ problem).

@gnestor
Copy link
Contributor

gnestor commented Jun 2, 2017

Can any Mac users confirm if Cmd-Alt-[ or any other combination of Cmd-Alt-* is causing this issue?

@luerhard
Copy link

i still have this issue with AltGr+ß on a german keyboard, windows 10, chrome 59.0.3071.115, jupyter server 5.0.0, python 3.6.1

@takluyver takluyver added this to the 5.1 milestone Jul 31, 2017
@takluyver
Copy link
Member

The change to fix it hasn't been released yet - we're aiming to make a 5.1 release this week which should have the fix in.

@luerhard
Copy link

Ah, then sorry to bother you and i am looking forward to the release :)

@tobschaffer
Copy link

Hi, should the 5.1 release already be available using "conda upgrade notebook"? I still get 5.0.0. I have the ALT+ key issue using a german keyboard. Thanks

@takluyver
Copy link
Member

No, sorry, we're still trying to work out an issue some people have reported with the release candidates: #2747.

@matlabat
Copy link

matlabat commented Sep 6, 2017

Hi,
I got the same issue too ("]" doesn't work)
I also have a french keyboard, windows 10, jupyter 4.3.0 with chrome.

@gnestor
Copy link
Contributor

gnestor commented Sep 12, 2017

@matlabat #2535 should fix this. Try installing the 5.1 release candidate and let us know if it resolves the issue for you: pip install notebook --upgrade --no-deps --force-reinstall --pre

@vberlier
Copy link

Thanks, I can now type "]" using french keyboard/windows 10/chrome

@gnestor
Copy link
Contributor

gnestor commented Sep 12, 2017

@vberlier Excellent! Thanks for letting us know.

@ChristianTremblay
Copy link

How should I process with conda ? Using Anaconda I guess the version 5.1 is not part of the repo yet...

@blink1073
Copy link
Contributor

It is available on conda-forge: conda install -c conda-forge notebook.

@ChristianTremblay
Copy link

Found out that conda install -c conda-forge notebook will make it.
I confirm it solves the problem on my side too (french canadian keyboard)

@fbilbao
Copy link

fbilbao commented Sep 21, 2017

I confirm that conda install -c conda-forge notebook solve de Latam keyboard problem too.

@matlabat
Copy link

@gnestor : Sorry for the late.
with
pip install notebook --upgrade --no-deps --force-reinstall --pre
I confirm that it works perfectly now
Thanks a lot!

@NairolfS
Copy link

does this also work for jupyter lab?

@blink1073
Copy link
Contributor

@NairolfS, coming soon: jupyterlab/jupyterlab#3129

@kiranbaradur
Copy link

Got the same issue with Jupyter (Anaconda 2) since last update 2 days ago
on Google Chrome Version 57.0.2987.133 (64-bit)

French keyboard (and yes, it s indeed AltGr + ")", two keys left from backspace)

Doing ] with Alt+93 from now, but quite annoying.

Ask me anything if you want further informations to fix this

I am also facing issue that keyboard will stop working while using jupyter notebook.
Is there any solution to fix it...?

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 29, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.