Skip to content

Issue with color picker on different screen sizes #361

@ItsCrisDiaz

Description

@ItsCrisDiaz

I discovered a bug when you are using two screens at two different resolutions. I use a laptop with a second screen and when I use this tool on the laptop's screen (1536 x 864 px) it works well. However, once I move the tool to my second screen (1920 x 1080px) and try to select a color, the position of the pointer does not align with the color I’m choosing. It seems as if the tool is still trying to adjust to the resolution of my previous screen, which causes a mismatch in position.

Desktop
Edition Windows 11 Home
Version 23H2
Installed on ‎4/‎03/‎2024
OS build 22631.4602
Experience Windows Feature Experience Pack 1000.22700.1055.0

To Reproduce

  • Open CCAe tool
  • Move it to a screen with a different resolution
  • Try to select a color

Expected behavior
It is expected that the position of the pointer matches the element I am trying to choose a color.

Screenshots
Two screenshots of the tool choosing a color on TPGI page, I choose the Fucscia color of the "Mac" button
Screenshot at 1536 x 864 screen
Screenshot of TPGI page where I am selecting the color Fuschia of the Mac button, the color picker is choosing the right color

Screenshot at 1920 x 1080 screen
Screenshot of TPGI where the pointer is located on the Mac button, however, the color is white, this color is closer to the one that appears at the edge of the Colour Contrast Analyser tool

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpicker

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions