Skip to content

Color picker: Broken pixel along vertical axis #32470

Closed

Description

Version: Insiders b73b7df

image

See the screenshot above. Interestingly, not all color values produce this result (e.g. #68c3a3 paints fine).

Activity

  1. joaomoreno commented on Aug 14, 2017

    @joaomoreno
    Contributor

    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?

  2. added
    info-needed
    on Aug 14, 2017
  3. michelkaporin commented on Aug 14, 2017

    @michelkaporin
    ContributorAuthor

    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! 🔢

  4. joaomoreno commented on Aug 14, 2017

    @joaomoreno
    Contributor

    Strange:

    image

  5. added
    bug
    editor-color-picker
    and removed
    info-needed
    on Aug 14, 2017
  6. michelkaporin commented on Aug 14, 2017

    @michelkaporin
    ContributorAuthor

    João Moreno (@joaomoreno) really strange, and the code remained the same as I've seen.

    If I tweak window.zoomLevel to values different to default, it starts to appear fine.

    OS: Windows
    Resolution: 1920x1080
    Scaling: 100%

  7. rebornix commented on Aug 15, 2017

    @rebornix
    Contributor

    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 ...).

    • No reproduce on macOS
    • Reproduce on Windows 10, Scaling 100% and Zoom Level 0. If we change the Scaling or Zoom Level, the green line is gone.
    • Chrome Dev Tools doesn't have this problem.
  8. rebornix commented on Aug 23, 2017

    @rebornix
    Contributor

    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.

    image

    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?

  9. added a commit that references this issue on Aug 23, 2017
  10. rebornix commented on Aug 23, 2017

    @rebornix
    Contributor

    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.

  11. joaomoreno commented on Aug 24, 2017

    @joaomoreno
    Contributor

    Their constant position might give us a clue on why they happen... although I got none. 😕

  12. rebornix commented on Nov 29, 2017

    @rebornix
    Contributor

    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.

  13. locked and limited conversation to collaborators on Jan 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugeditor-color-picker

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions