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

Color Contrast Ratio not updated correctly #277

Closed
OLLI-S opened this issue Feb 2, 2023 · 5 comments
Closed

Color Contrast Ratio not updated correctly #277

OLLI-S opened this issue Feb 2, 2023 · 5 comments
Labels
bug Something isn't working

Comments

@OLLI-S
Copy link

OLLI-S commented Feb 2, 2023

Describe the bug
I start CCA 3.2.0 portable and there are the default color values (#000000 and #FFFFFF) shown.

image

In a screenshot I select the foreground color with the color picker (color #FEFEFE), then the Color Contrast Ratio of 1:1 is shown (as expected):

image

Then I select the background color with the color picker (color #FE631E) and the Color Contrast Ratio of 1:1 is still shown (this is a bug):

image

If I select afterwards a black background color (#000000) using the color picker, the Color Contrast Ratio of 20.8:1 is shown (as expected):

image

If I select afterwards again the orange background color (#FE631E) then the Color Contrast Ratio of 20.8:1 is still shown (this is a bug):

image

When I do the same with a darker orange background color (#D14520), then the Color Contrast Ratio of 4.5:1 is shown (what is correct):

image

The problem occurs only, when the background color is #FE631E.

Desktop (please complete the following information):

  • OS: Windows 10 Enterprise x64
  • Version: 21H2
@OLLI-S OLLI-S changed the title Color Contrast Ratio not Refreshed Color Contrast Ratio not updated correctly Feb 2, 2023
@OLLI-S
Copy link
Author

OLLI-S commented Feb 13, 2023

This problem also occurs, when I start CCA, enter (paste) the value FEFEFE at the foreground color, and enter (paste) the value FE631E at the background color.
Now the Color Contrast Ratio of 1,0:1 is shown (this is the same color contrast ratio, that is shown, after I entered the foreground color FEFEFE and the background color is the default color (FFFFFF).

Very strange behavior, especially it works with the same EXE file for a colleague of mine.
And an other colleague has the same issues.

I added in my original posting the information, that I have Windows 10 Enterprise.

@OLLI-S
Copy link
Author

OLLI-S commented Feb 13, 2023

I downloaded the older version CCA-Portable-3.1.4.exe and here ist works as expected:

image

@ferllings ferllings added the bug Something isn't working label Mar 10, 2023
@ferllings
Copy link
Member

Fixed in 0e9a5cb

@OLLI-S
Copy link
Author

OLLI-S commented Mar 14, 2023

@ferllings Thank you for fixing this issue and releasing the new version so quickly!
Really appreciate that!

@ferllings
Copy link
Member

I appreciate the 'so quickly' ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants