jupyterlab / jupyterlab

JupyterLab computational environment.
https://jupyterlab.readthedocs.io/
Other
13.95k stars 3.21k forks source link

Jupyterlab randomly paste something automatically #14527

Open pikakolendo02 opened 1 year ago

pikakolendo02 commented 1 year ago

Description

I'm using jupyterlab in KDE Plasma with Firefox. It randomly paste some wierd text in the code cell. Just like this issue: https://github.com/jupyter/notebook/issues/6241 image

Reproduce

  1. Highlight some text with mouse
  2. Run Jupyterlab
  3. The highlighted text randomly appears in cell. In KDE, middle click pastes the text which has recently highlighted. I swear I did not paste it or click middle mouse button. The issue randomly appears and I cannot reproduce it on purpose.

Expected behavior

Nothing happens.

Context

Troubleshoot Output
https://0bin.net/paste/eCbQjWmv#oFQDAVwA0WjWD87lsHb8ugXooc8iwqpesCn16DlZKak
Command Line Output
Paste the output from your command line running `jupyter lab` here, use `--debug` if possible.
Browser Output
https://0bin.net/paste/VH2s0WsK#Yg0RTHmsG5ByKmh1BnpXvVjUXQFlLMuiPV90INB74av
welcome[bot] commented 1 year ago

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively. welcome You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! :wave:
Welcome to the Jupyter community! :tada:

agoose77 commented 1 year ago

I saw this kind of behaviour in 3.6.x when interacting with widgets in a sidecar. I assume it goes beyond just jupyter widgets, though; somewhere click events are propagating instead of being captured by the current context.

JasonWeill commented 1 year ago

Does this happen with any other desktop environment?

agoose77 commented 1 year ago

I am on Ubuntu with i3-wm (regolith). I haven't tried 4.0, or another OS/DE yet.

pikakolendo02 commented 1 year ago

Does this happen with any other desktop environment?

Sorry, I did not tried other DEs.