Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect tooltip positioning #1576

Closed
alexwhitman opened this issue Mar 7, 2018 · 8 comments
Closed

Incorrect tooltip positioning #1576

alexwhitman opened this issue Mar 7, 2018 · 8 comments

Comments

@alexwhitman
Copy link

alexwhitman commented Mar 7, 2018

See screenshot:
atom-linter

The tooltip is positioned far to the right and below the actual position of the error.

Running atom 1.24.0 on Ubuntu 18.04 (beta) with linter 2.2.0 and linter-eslint 8.4.1.

@steelbrain
Copy link
Owner

This issue belongs to the linter-ui-default repository, and looks very much like steelbrain/linter-ui-default#489

Can you try the fix in the comment at steelbrain/linter-ui-default#489 (comment)?

@alexwhitman
Copy link
Author

Apologies for the wrong repo. I tried the fix but it didn't have any effect.

@steelbrain
Copy link
Owner

Can you try opening the devtools console and see if you have an error message there?

@alexwhitman
Copy link
Author

No errors in the dev console.

@Arcanemagus
Copy link
Collaborator

How are you triggering the tooltip? Keyboard or mouse?

I notice the tooltip is much larger than the text, do you have any DPI scaling going on?

@skylize
Copy link

skylize commented Mar 9, 2018

Could also be a custom styling problem. Does this still happen if you remove all custom styles and use one of the default themes?

@alexwhitman
Copy link
Author

Ah, it was this rule in custom styling:

atom-text-editor {
  transform: scaleX(1.0000001);
}

which is a workaround for some visual artifacts in atom/atom#15737 (comment)

@Arcanemagus
Copy link
Collaborator

Thanks for reporting back! Closing this as it isn't an issue here 😉.

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

No branches or pull requests

4 participants