Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

Scrollbars in Linux appear to be unstyled #15350

Open
1 task done
ffxsam opened this issue Aug 17, 2017 · 22 comments
Open
1 task done

Scrollbars in Linux appear to be unstyled #15350

ffxsam opened this issue Aug 17, 2017 · 22 comments

Comments

@ffxsam
Copy link

ffxsam commented Aug 17, 2017

Prerequisites

Description

Scrollbars are quite prominent (unstyled?) in Linux version. I don't recall it being this way in Atom 1.18. I'm now using 1.19.2

image


Steps to Reproduce

Edit by @rsese, copying @simurai's repro steps from #15350 (comment)

On macOS I can reproduce un-styled (with white background) scrollbars when:

  1. Change settings to "When scrolling" (or "Automatically")
  2. Reload Atom
  3. Change to "Always"

scrollbars

Scrollbars get styled again, when collapsing/expanding the tree-view. Or reloading Atom.

@Ben3eeE
Copy link
Contributor

Ben3eeE commented Aug 17, 2017

What is your syntax and ui theme?

@josokinas
Copy link

I can confirm this is on macOS too:

Unstyled scroolbar

Atom version 1.19.2 with One Dark UI and syntax themes.

@stefanoeb
Copy link

in MacOS with One Dark UI this happens, but only after a couple hours of use. I'm not sure what breaks them

@ffxsam
Copy link
Author

ffxsam commented Aug 17, 2017

@Ben3eeE Using "One Dark" theme and "Solarized Dark" UI theme.

@rsese
Copy link
Contributor

rsese commented Aug 17, 2017

Just tried One Dark syntax theme + Solarized Dark UI theme on Ubuntu 16.04 and Atom 1.19.2 but can't reproduce.

@ffxsam - do you see the unstyled scrollbar right away (e.g. after you restart) or after some amount of time has passed?

@ffxsam
Copy link
Author

ffxsam commented Aug 18, 2017

For me it's immediate.

EDIT: Whoa, strange! I see the opposite. When I start, the scrollbars are unstyled. And after some time passes, they correct themselves. Or maybe I'm doing something that fixes it. I'll try to pay more attention next time.

@Ben3eeE
Copy link
Contributor

Ben3eeE commented Aug 18, 2017

@ffxsam @josokinas @stefanoeb Can you provide some more information about your setup?

Some examples

  • Window manager
  • Which distro of Linux / version of macOS
  • Other packages that you use
  • How you start Atom
  • From where you installed Atom
  • The full output of atom --version and apm --version

Thank you 🙇‍♂️

@ffxsam
Copy link
Author

ffxsam commented Aug 20, 2017

@Ben3eeE

  • Ubuntu 17.04 (Unity window manager)
  • Start Atom in a folder via command line (atom .)
  • Installed Atom from https://atom.io/
  • Full version info below
Atom    : 1.19.2
Electron: 1.6.9
Chrome  : 56.0.2924.87
Node    : 7.4.0
apm  1.18.4
npm  3.10.10
node 6.9.5 x64
python 2.7.13
git 2.11.0

@josokinas
Copy link

General info:

  • macOS Sierra v10.12.6
  • 13" 2016 MacBook Pro with Intel Iris Graphics 540

Atom info:

  • Atom installed from official website
  • Atom starting from the Dock with 6 projects added

Additional packages installed:

  • editorconfig
  • linter
  • linter-eslint
  • react-snippets

atom --version output:

Atom: 1.19.2
Electron: 1.6.9
Chrome: 56.0.2924.87
Node: 7.4.0

apm --version output:

apm 1.18.4
npm 3.10.10
node 6.9.5 x64
python 2.7.10
git 2.11.0

@stefanoeb
Copy link

stefanoeb commented Aug 21, 2017

General info:
macOS Sierra v10.12.6
13" 2017 MacBook Pro with Intel Iris Graphics 640

Atom info:
Atom installed from official website
Atom starting always from command line
One Dark UI
Ariake dark syntax

Additional packages installed:
linter
linter-eslint
linter-python
linter-flow
goto-definition
hyperclick

atom --version output:

Atom : 1.19.2
Electron: 1.6.9
Chrome : 56.0.2924.87
Node : 7.4.0

apm --version output:

apm 1.18.4
npm 3.10.10
node 6.9.5 x64
python 2.7.13
git 2.11.0

A common pattern I found here: With only one atom window opened, the problem seem to never occur. When 2, 3+ atoms are alive, one of them seem to reset the scroll styling.

@Ben3eeE
Copy link
Contributor

Ben3eeE commented Aug 21, 2017

/cc: @rsese @ungb Can you try to repro on macOS and Linux with this additional information?

@ungb
Copy link
Contributor

ungb commented Aug 22, 2017

I tried this on mac and linux.

I tested with 1.18.0 and then with 1.19.2 and see the same behavior. I installed the same packages as @stefanoeb

On ubuntu Atom 1.19.2
image

On Mac Atom 1.19.2
image

@josokinas the image you attached is the scrollbar styled on mac I believe. I am seeing that same behavior on mac on 1.18.0 and on 1.19.2 for one dark theme.

@ungb
Copy link
Contributor

ungb commented Aug 22, 2017

Hmm I take my last comment back. After reloading on mac on 1.19.2 I see

image

I'm going to try to see if I can figure out why this is occurring. If anyone else has any additional info of when you see it would be useful. Also for mac users, Under system preferences -> General Settings. What is the setting for your scroll bar?

image

@josokinas
Copy link

My current setting is:

Setting for showing scroll bars

However, switching to "Always" fixes the problem.

Please also note that editor window scrollbar seems to be fine on macOS.

@stefanoeb
Copy link

My mac is also automatically, but since I can't reproduce the problem I don't know if "Always" solve it

@ffxsam
Copy link
Author

ffxsam commented Sep 5, 2017

Now in macOS, I have no scrollbars at all. Atom 1.19.5.

@Ben3eeE
Copy link
Contributor

Ben3eeE commented Sep 5, 2017

@ffxsam That is a known issue that will be fixed in Atom 1.19.6 /cc: #15442

@simurai
Copy link
Contributor

simurai commented Sep 9, 2017

On macOS I can reproduce un-styled (with white background) scrollbars when:

  1. Change settings to "When scrolling" (or "Automatically")
  2. Reload Atom
  3. Change to "Always"

scrollbars

Scrollbars get styled again, when collapsing/expanding the tree-view. Or reloading Atom.

@matthewwithanm
Copy link
Contributor

This is still happening as of 1.23.3. For some more background, check out @hansonw's summary on facebookarchive/nuclide@0a860a2.

@rsese rsese added the i ⬇️ label Nov 26, 2018
@simonlayfield
Copy link

I'm seeing this issue on macOS, Atom v1.45.0 with OneDark theme + Dracula syntax theme. Appears to happen when Atom has been open for a while and I have multiple projects open.

Notably, it happens for me when revisiting Atom i.e. it doesn't suddenly happen when I'm using Atom as the result of a UI event. Although it might be that I've seen it specifically when closing one of the multiple projects (in which case it switches to another open project).

@mundschenk-at
Copy link

Still present in Atom 1.48.0 with OneDark (theme + syntax). Atom is open all the time, sometimes a tab gets an unstyled horizontal scrollbar (never vertical). Closing the tab and reopening the file fixes it. I'm still unsure what the exact trigger is.

@artur99
Copy link

artur99 commented Jan 4, 2022

Still present in 1.58.0 on MacOS 12. Sometimes some scroll bars get unstyled automatically... Sometimes they're fixed by reopening the tab, sometimes I have to restart the editor.
Can force them to reproduce with the same "Always" setting, and seems to temporarily get fixed (before doing anything in Atom again) when setting to "Automatically based on mouse trackpad".

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests