atom / tabs

Tabs in Atom
MIT License
111 stars 115 forks source link

Freeze when dragging tabs (confirmed with 1.32.1) #544

Closed PerBothner closed 5 years ago

PerBothner commented 5 years ago

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.

duvallj commented 5 years ago

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 5 years ago

Thanks for the report - @daviwil I saw your comment in https://github.com/electron/electron/issues/12820#issuecomment-422415448, 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?

PerBothner commented 5 years ago

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 5 years ago

It looks like https://github.com/electron/electron/issues/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?

PerBothner commented 5 years ago

Atom 1.27.2 seems to be fine.

rsese commented 5 years ago

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 https://github.com/electron/electron/issues/12820? I'd assume that you'll see the freeze if you try 1.28.0.

PerBothner commented 5 years ago

This is apparently fixed in Electron 3.0.14 https://github.com/electron/electron/issues/12820#issuecomment-452702533

rsese commented 5 years ago

:+1: I noted this issue in https://github.com/atom/atom/pull/18916, the pull request to update to Electron 3.