Skip to content
This repository has been archived by the owner on Dec 13, 2018. It is now read-only.

Tree view scrolling and overflow fitting breaks on Linux #1500

Closed
miloofcroton opened this issue Apr 13, 2018 · 1 comment
Closed

Tree view scrolling and overflow fitting breaks on Linux #1500

miloofcroton opened this issue Apr 13, 2018 · 1 comment

Comments

@miloofcroton
Copy link
Contributor

miloofcroton commented Apr 13, 2018

Edit: I found a duplicate of this issue.

This is the same issue that I'm having: #1379

Issue and Steps to Reproduce

I have a HiDPI screen on my Dell XPS laptop, so when I am using the laptop's screen as a display, I use Gnome 3's ability to scale everything at 200%. If I use an external monitor, I just use the normal 100%. Atom doesn't change while it is running to fit these scales, but it will respond to the scale when first opened in a given environment.

I did not have this problem before, but since updating Nuclide and Atom from roughly year-old versions (sorry, I forget the exact numbers), the tree view no longer has a scroll down bar, and the buttons at the bottom of that view don't fit the size of the tree view area. This is only if I open Atom in a 200% scale state according to Gnome 3's settings. If It's opened at 100%, it's fine.

This could be an issue for anyone who uses Atom on a high DPI laptop with Linux, or it might be specific to my OS and/or desktop environment.

screenshot from 2018-04-12 23-25-43

Expected Behavior

The items in the tree view should fit the view.

Actual Behavior

The items in the tree view overflow. The files go off the view vertically, and the buttons go off the view horizontally. There is no vertical scrollbar, nor can I reproduce a horizontal scrollbar (despite seeing one in the screenshot I took; I am flummoxed).

Versions

  • Atom: 1.25.1
  • Nuclide: 0.296.0
  • Electron: 1.7.11
  • Chrome: 58.0.3029.110
  • Node: 7.9.0
  • Client OS: Ubuntu 17.10
  • Gnome: 3.26.2

Additional Details

├── Hydrogen@2.4.0
├── atom-material-syntax@1.0.8
├── atom-material-ui@2.1.3
├── atom-unsaved-changes@0.4.0
├── autocomplete-python@1.10.5
├── autocomplete-ruby@0.2.8 (disabled)
├── dbg@1.6.3
├── jekyll@2.1.0 (disabled)
├── jekyll-snippets@0.3.2
├── markdown-mindmap@0.4.2
├── navigate@0.1.20
├── nuclide@0.296.0
├── platformio-ide-terminal@2.8.1
├── python-tools@0.6.9
├── stacktrace@0.0.2
├── symbol-gen@1.3.1
└── tree-view-extended@2.1.0 (disabled)

miloofcroton pushed a commit to miloofcroton/nuclide that referenced this issue Apr 13, 2018
This should fix the following issue reports:

facebookarchive#1379
facebookarchive#1500
@captbaritone
Copy link
Contributor

Thanks for the the PR 👏. I'll work on getting it merged. In the meantime, I'll close this as a duplicate of #1379.

facebook-github-bot pushed a commit that referenced this issue Apr 24, 2018
Summary:
This should fix the following issue reports:

#1379
#1500
Closes #1501

Reviewed By: matthewwithanm

Differential Revision: D7691510

Pulled By: captbaritone

fbshipit-source-id: 100f923fee4fd7626a52075eeaf4144ba14fe468
hansonw pushed a commit to facebookarchive/atom-ide-ui that referenced this issue May 3, 2018
Summary:
This should fix the following issue reports:

facebookarchive/nuclide#1379
facebookarchive/nuclide#1500
Closes facebookarchive/nuclide#1501

Reviewed By: matthewwithanm

Differential Revision: D7691510

Pulled By: captbaritone

fbshipit-source-id: 100f923fee4fd7626a52075eeaf4144ba14fe468
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants