atom/tabs

[Linux][1.38.2] Closing tab with middle mouse paste in next tab if its local terminal

Opened this issue · 2 comments

Prerequisites

When close tabs with middle click that close the current tab and focus to next tab, If the next tab is Local termial it with paste the clipboard content to terminal.
This does not happen if the next tab is a regular editable file.

Steps to Reproduce

  1. Open a local terminal in Atom
  2. Open a text/editable file
  3. Select (Highlight) some text to copy in middle-click clipboard
  4. Close the second tab by middle-clicking on the tab

Expected behavior:
Should not paste the clipboard to terminal

Actual behavior:
That paste clipboard content to terminal tab

Reproduces how often:
100%

Versions

Atom : 1.38.2
Electron: 2.0.18
Chrome : 61.0.3163.100
Node : 8.9.3
Os : Linux, Debian 10

Additional Information

Related to #461

rsese commented

Thanks for the report -

This does not happen if the next tab is a regular editable file.

...

  • Open a local terminal in Atom

Sounds like this is specific to terminal packages? Are you able to reproduce in any other cases or with any other packages?

Hi @rsese ,
I was installed PlatformIO IDE Terminal and I can reproduce the problem with this package.

I think this is the Atom problem : atom/atom#15183 it has fixed before but looks like it's not fixed completely.