atom/tabs

Freeze when dragging tabs (confirmed with 1.32.1)

PerBothner opened this issue · 8 comments

Prerequisites

Description

Atom completely freezes when dragging tab.

Steps to Reproduce

  1. Start atom with no options (or with --safe). (The problem goes away with --disable-gpu.)
  2. Drag a pane.

Expected behavior:
Moved pane.

Actual behavior:
Atom hangs. Sometimes it steals the window cursor, making it hard to kill.

Reproduces how often:
100%

Versions

Atom version is 1.32.1, amd64, from atom.io.
OS is Fedora 29, with Gnome and Wayland.

Additional Information

This appears to be Issue #541, confirmed with latest official release.

Also getting the exact same thing on ArchLinux, x86_64, X.org 1.20.3, with atom --version

Atom    : 1.32.1
Electron: 2.0.12
Chrome  : 61.0.3163.100
Node    : 8.9.3

Interestingly, allowing atom to use a dedicated NVIDIA GPU (with bumblebee + optirun) instead of the integrated Intel GPU also causes the problem to go away.

rsese commented

Thanks for the report - @daviwil I saw your comment in electron/electron#12820 (comment), does this sound like the same-ish issue (hang on drag/drop on Linux, mention of things working ok with disable-gpu)? Though you mentioned that you only saw it in a dev build....

@PerBothner - curious if you used previous versions of Atom, was this a problem only with more recent versions of Atom?

I have used older versions of Atom where this did not happen. Can't say when it started - I don't use Atom on a daily basis. I'm guessing happened in the last new months.

rsese commented

It looks like electron/electron#12820 mentions that it's specific to Electron 2 and above and Atom was updated to Electron 2.0 in 1.28.0. If it's not too much trouble, can you confirm if things work ok in Atom 1.27.0?

Atom 1.27.2 seems to be fine.

rsese commented

Thanks @PerBothner - that's the last release before we moved to Electron 2.0 so it seems like this could be at least related if not the same issue as electron/electron#12820? I'd assume that you'll see the freeze if you try 1.28.0.

This is apparently fixed in Electron 3.0.14 electron/electron#12820 (comment)

rsese commented

👍 I noted this issue in atom/atom#18916, the pull request to update to Electron 3.