Pasting with (remapped) Ctrl+V does not work on Mac
- Dominant language
- Jupyter Notebook
- Stars
- 13.3k
- Forks
- 5.8k
- Avg merge
- 6d 11h
- Merged PRs (30d)
- 7
Description
I remapeed copy and paste shortcuts from `Cmd` to `Ctrl` as meta key (see screenshot below).
While this works nicely overall in Chrome or Safari (not in Firefox, but this is a different story) somehow Jupyter Notebook cannot deal with this. Instead of pasting content when pressing `Ctrl+V` the cursorjust jumps to the end of the input field.
Pasting via the menus is working fine though.
Copying content with `Ctrl+C` is working fine as well.
The behavior can be seen in all Jupyter input fields. Even in the Jupyter lab settings.
I recently upgraded to Mac Os Mojave.
I am not sure if it is the OS upgrade or a jupyter upgrade, but this is something which worked "before".
```
Server Information:
You are using Jupyter notebook.
The version of the notebook server is: 5.6.0
The server is running on this version of Python:
Python 3.7.0rc1 (v3.7.0rc1:dfad352267, Jun 12 2018, 01:00:10)
[Clang 6.0 (clang-600.0.57)]
```

Contributor guide
Research direction
Start by reproducing the issue on macOS with Ctrl remapped as the meta key, using a Jupyter Notebook input field and the JupyterLab settings input. Trace the keyboard and paste handling reached by Ctrl+V, then verify that pasted content is inserted rather than moving the cursor, while menu pasting and Ctrl+C remain functional.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- jupyter-notebook
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100