code-server icon indicating copy to clipboard operation
code-server copied to clipboard

Dragging tabs causes Coder to crash in Chrome app mode on MacOS

Open KitKat7 opened this issue 7 years ago • 4 comments

  • code-server version: 1.1156-vsc1.33.1
  • OS Version: Ubuntu 18.04.2 LTS
  • Client Info: macOS 10.14.5 + Chrome 75.0.3770.100

Description

Drag the tabs in Coder (Chrome app mode) will cause the Coder crashing.

But if it is not in the Chrome app mode (normal tab in Chrome) or some tabs like Welcome or new file without saving, dragging will not cause crashes. This problem does not appear in sshcode, which seems to directly open in the Chrome app mode.

Steps to Reproduce

  1. Start code-server on the remote server.
  2. Enter the address of the server locally into Chrome if not installed; otherwise, open the Coder Chrome app directly, then jump to 4.
  3. Click the top right three-dot button in Chrome, then click Install Coder... if not installed before, or Open in Coder otherwise.
  4. Open any remote file in the Coder, and try to drag that tab, the Coder will crash.

KitKat7 avatar Jun 30 '19 04:06 KitKat7

Dragging files in the file tree also crashes the whole app.

To create an app shortcut I did:

  • Open the code server in Chrome
  • Three dot menu -> More tools -> Create shortcut (check open as window)

Dragging any file in file panel crashes immediately.

I've tested the same in Windows and it doesn't crash.

ChickenKaraage avatar Jul 08 '19 22:07 ChickenKaraage

Same issue here

nathancastelein avatar Aug 20 '19 13:08 nathancastelein

Please avoid saying "Same issue here", just +1 this issue and we'll get it sorted.

sr229 avatar Nov 07 '19 15:11 sr229

Works fine now. If this is still a problem, please feel free to reopen.

nhooyr avatar Jan 29 '20 01:01 nhooyr