atom-pigments icon indicating copy to clipboard operation
atom-pigments copied to clipboard

Pigments not showing colors past window height.

Open Mootly opened this issue 7 years ago • 13 comments

This is specific to color coding with any of the dot options (dot, square, gutter). The highlight options still work correctly.

After a recent update, pigments stopped showing colors after the first 52 visible lines of the file. An older install of atom (0.39 and 0.13) works just fine on the same files). This is specifically happening at line 52 with the font set to 12px. Changing the font size or line height move the break point up and down. Math works out to failing at 936 pixels or thereabouts, seemingly no more meaningful that 52 lines of text. image

If the line height does not evenly divide into 936, then the break occurs mid-line with an alpha-box blow where the color breaks. Collapsing lines moves the break point down correspondingly.

image

This occurs for all file types tested so far (SCSS, CSS, HTML, PHP).

No idea if it is pigments or atom 1.19. Other packages are acting wonky, but usually with error popups.

Pigments 0.40.2
Atom 1.19.0
Windows 10 Pro 15063.502

Mootly avatar Aug 10 '17 19:08 Mootly

Same problem on Mac with:

Pigments 0.40.2
Atom 1.20.0-beta1
MacOS 10.12.6

Again, all dots (dot, square, gutter) ending at a hard pixel point down the document, highlights work normally.

Mootly avatar Aug 11 '17 01:08 Mootly

Same Problem on Mac. Switching it to Underline for now, but prefer Dots.

Pigments 0.40.2 Atom 1.19.0 MacOS 10.12.6

ggedde avatar Aug 11 '17 09:08 ggedde

Same on Ubuntu 17.04, Atom 1.19.0 and Pigments 0.40.2

lorenzos avatar Aug 13 '17 10:08 lorenzos

Same problem. I also noticed that using any of the styles that do this hard cut off (dots, square, gutter), it also causes serious lag farther down the document. Using the background, underline, or outline is fine.

robhuska avatar Aug 16 '17 13:08 robhuska

If I remember correctly, on the last version I had before I updated, there was a non "native" dot option which does not seem to be there at all now. And the native ones perform very poorly (lag, alot). Were these removed?

Pigments 0.40.2
Atom 1.19.1 x64
Windows 10 Pro 15063.540

drumline18 avatar Aug 16 '17 20:08 drumline18

I'm having the same issue with native dots, not displaying. I agree with @drumline18 that I thought there were non-native dots in a previous version.

Pigments 0.40.2
Atom 1.19.1
MacOS 10.12.6

philecker avatar Aug 18 '17 12:08 philecker

Same issue here. background, underline and outline work fine. dot, square-dot & gutter do not work after a certain line.

Pigments 0.40.2 Atom 1.20.1 MacOS 10.11.6

SeanBurkeDesign avatar Sep 26 '17 15:09 SeanBurkeDesign

For everyone playing at home, line 27 of pigments.less. Remove the background-attachment line, restart atom. Problem appears to be resolved so far on Windows and Mac in most recent stable version of Atom and in most recent beta version.

(Previously I said change it to background-attachment: absolute, then realized absolute is not a valid value. So it had the same effect as just removing it.)

Mootly avatar Oct 13 '17 00:10 Mootly

Duplicate bug reports: #348 #353

Mootly avatar Oct 13 '17 00:10 Mootly

@Mootly's fix worked for me. c:

Snuggle avatar Nov 20 '17 20:11 Snuggle

@Mootly Could you issue a PR for that? If it works for everyone, I'll gladly merge it :smile:

Cxarli avatar Nov 25 '17 12:11 Cxarli

Hmmm, looks like there is already a pull request from someone else for the same fix.

Well, that was easy then. XD

Mootly avatar Nov 25 '17 16:11 Mootly

Same happening here on Ubuntu.

@Mootly RE: "Again, all dots (dot, square, gutter) ending at a hard pixel point down the document, highlights work normally."

Yes only the native-background and native-outline works for me properly.

2E0PGS avatar Jan 03 '18 23:01 2E0PGS