deephaven / web-client-ui

Deephaven Web Client UI
Apache License 2.0
29 stars 31 forks source link

Closing tab with middle mouse button pastes into active monaco editor #1461

Closed mattrunyon closed 1 month ago

mattrunyon commented 1 year ago

Description

If a monaco editor is active, closing a golden layout panel with middle mouse button also pastes your clipboard into the active monaco editor.

Steps to reproduce

  1. Open a notebook/table
  2. Focus a monaco editor like the console
  3. Middle click on an open tab to close it

Expected results

  1. Panel closes.

Actual results

  1. Panel closes and clipboard pastes to monaco

Versions

dsmmcken commented 1 year ago

video/gif? I can't reproduce.

mattrunyon commented 1 year ago

https://github.com/deephaven/web-client-ui/assets/8619789/e9e9ce2c-2540-497a-b92a-1ea0e807279a

It might be linux specific. In the video I just middle clicked on the tab with monaco focused

dsmmcken commented 1 year ago

https://github.com/deephaven/web-client-ui/issues/552

mofojed commented 1 year ago

I can attest it is still a problem even though I can also attest that I have fixed it before. Seems to be Ubuntu specific?