atom / settings-view

🔧 Edit Atom settings
MIT License
272 stars 276 forks source link

Jumpy cursor in `string`/`array` inputs #1117

Closed pfitzseb closed 5 years ago

pfitzseb commented 5 years ago

Prerequisites

Description

Typing in a config entry of type string or array sometimes causes the cursor to jump to the end of the input and the last typed characters to repeatedly disappear and appear again.

In the following gif I just type and don't move the cursor manually at all:

peek 2019-02-26 09-49

I can still repro this in safe mode, but it seems to happen much less frequently.

Steps to Reproduce

  1. Open Editor/package settings.
  2. Type in string or array config in the middle of a word.

Expected behavior: Normal input behaviour. Actual behavior: Cursor jumps to end of input, char that was input last disappears and appears again. Reproduces how often: 1 out of 10 times in safe mode, maybe? More often with packages loaded.

Versions

λ atom --version
Atom    : 1.34.0
Electron: 3.1.4
Chrome  : 66.0.3359.181
Node    : 10.2.0
λ apm --version 
apm  2.1.3
npm  6.8.0
node 11.10.0 x64
atom 1.34.0
python 2.7.15
git 2.20.1
λ cat /etc/lsb-release              
DISTRIB_ID=ManjaroLinux
DISTRIB_RELEASE=18.0.3
DISTRIB_CODENAME=Illyria
DISTRIB_DESCRIPTION="Manjaro Linux"
rsese commented 5 years ago

Thanks for the report!

Atom : 1.34.0 Electron: 3.1.4

Based on these versions, it looks like you're using an unofficial build or distribution of Atom (the official stable 1.34.0 release ships with Electron 2.0.16). Often these customized versions of Atom are modified versions of the Stable branch of Atom with mismatched versions of built-in components. These updated components are taken from the Beta channel or master branch and then injected into the Stable version and a new Atom package is generated. Because of the way Atom is constructed, using these mismatched components can cause mysterious and hard-to-diagnose problems. You can find out more about why we chose to not support unofficial distributions here.

You can find instructions for installing an official version of Atom in the Flight Manual. If you are still seeing this problem on an official build please file a new issue, thanks!