You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Color picker: Broken pixel along vertical axis #32470
Haha, I am here! Yeah, they're awesome, like them 👍 Didn't have a time for a final touch on them before leaving, was focused on finishing off the core implementation 😄
It always reproduces, no steps, just pick the #333333 color.
Also I've looked at your code refactorings around the picker, you made it really sleek 👍 nice work! 🔢
After exposing the API to monaco, I can reproduce this issue in Chrome on macOS always with no scale. Once I scale the webpage, the green line is one.
This is probably a blocker for releasing to Monaco Editor João Moreno (@joaomoreno) . alexandrudima any idea of how this magic green dots happen in canvas?
It only happens in Chrome (macOS 100% Zoom and Windows 10 Hdpi 100% Scale), didn't see any issue in Safari and Edge. Tried several ways to troubleshoot but didn't see what we did wrong. A workaround here is adding a middle stop point to the linear gradient, which makes Chromium canvas rendering correct.
The workaround seems good, so visually this issue is gone. I'd like to put it into backlog and one day I can know the root cause of this canvas problem.
Activity
joaomoreno commentedon Aug 14, 2017
He's alive!!! Do you like the new horizontal picker bars? 🥇
Funny broken pixel, though. Does it always reproduce on your machine? No steps, just open it?
michelkaporin commentedon Aug 14, 2017
Haha, I am here! Yeah, they're awesome, like them 👍 Didn't have a time for a final touch on them before leaving, was focused on finishing off the core implementation 😄
It always reproduces, no steps, just pick the
#333333color.Also I've looked at your code refactorings around the picker, you made it really sleek 👍 nice work! 🔢
joaomoreno commentedon Aug 14, 2017
Strange:
michelkaporin commentedon Aug 14, 2017
João Moreno (@joaomoreno) really strange, and the code remained the same as I've seen.
If I tweak
window.zoomLevelto values different to default, it starts to appear fine.OS: Windows
Resolution: 1920x1080
Scaling: 100%
rebornix commentedon Aug 15, 2017
It took me a while to find the way to reproduce (before that I even wanted to ask you to check whether your screen is broken for a second ...).
rebornix commentedon Aug 23, 2017
After exposing the API to monaco, I can reproduce this issue in Chrome on macOS always with no scale. Once I scale the webpage, the green line is one.
This is probably a blocker for releasing to Monaco Editor João Moreno (@joaomoreno) . alexandrudima any idea of how this magic green dots happen in canvas?
Workaround for #32470.
rebornix commentedon Aug 23, 2017
It only happens in Chrome (macOS 100% Zoom and Windows 10 Hdpi 100% Scale), didn't see any issue in Safari and Edge. Tried several ways to troubleshoot but didn't see what we did wrong. A workaround here is adding a middle stop point to the linear gradient, which makes Chromium canvas rendering correct.
joaomoreno commentedon Aug 24, 2017
Their constant position might give us a clue on why they happen... although I got none. 😕
rebornix commentedon Nov 29, 2017
The workaround seems good, so visually this issue is gone. I'd like to put it into backlog and one day I can know the root cause of this canvas problem.