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

Tool tips / Datatips are sometimes too small / narrow / not wide enough #317

Open
dshepsis opened this issue Oct 26, 2018 · 0 comments
Open

Comments

@dshepsis
Copy link

Before Submitting

  • Have you installed an "ide-" language package? Yes
  • If your issue is language-specific, please file an issue against
    the "ide-" language package you're using instead. Tested with 2 ide packages. Both exhibited same issue.

Description

Sometimes, when hovering over a part of the code which generates a datatip, the rendered element for the data tip is far narrower than usual. This results in most of the useful text/information being cut off. The remaining text can still be viewed by scrolling, albeit sometimes only one character at a time.

image
image

Whether this happens is very inconsistent, but it seems to occur about 70% of the time a datatip is generated. The same piece of code will sometimes produce a normally-sized datatip, and other times produce a narrow one. Sometimes a narrow one will eventually turn into a normal one after a few seconds. Even after producing wide datatips, a piece of code can start producing narrow ones again.

This issue is definitely less common when running Atom with the --disable-gpu flag. However, I have still observed this to occur in this mode. It also seems to be less common when the window is less than full width (e.g. the screen is split between Atom and another window).

Tested with TypeScript (ide-typescript) and CSS (ide-css).

Expected Behavior

Datatips are always rendered wide enough to display normal content. This still happens sometimes:

image
image

Actual Behavior

Datatips are rendered very narrow.

Versions

  • Atom: 1.32.0
  • Client OS: Windows 10 Home 1803
  • atom-ide-ui: 0.13.0

Additional Details

  • Installed packages (apm ls --installed):
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] (disabled)
├── [email protected]
├── [email protected]
├── [email protected] (disabled)
└── [email protected]
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

1 participant