lllyasviel / stable-diffusion-webui-forge

GNU Affero General Public License v3.0
8.47k stars 829 forks source link

Color picker always gives NaN for red component #2180

Closed Technologicat closed 2 weeks ago

Technologicat commented 3 weeks ago

As of ae8187bf, the color picker in inpaint sketch mode is not working, at least on Chromium on Linux.

This prevents the use of inpaint sketch mode, as it would be important to get accurate reference colors for sketching.

I tried also with Firefox (131.0.2, 64-bit, provided by Linux Mint), but it didn't display a color picker at all, as well as had a much more clunky UI in the color selection window.

I saw #1719 on the issue tracker, but I have no HDR displays.

To reproduce:

This is reproducible every time.

Environment:

DenOfEquity commented 2 weeks ago

I think this is a browser issue. Relevant Forge code has not changed. works correctly on Edge/Windows. Firefox/Windows also uses a different picker, without eye-dropper; looks like OS provided.

Technologicat commented 2 weeks ago

Thanks for the info!

I'll investigate further on my end.

Technologicat commented 2 weeks ago

Yes, this seems to be an issue in Chromium that occurs only on some Linux configurations. It's been there since 2021, but the devs have not been able to reproduce it on their systems.

https://issues.chromium.org/issues/40777177

Since it is not a Forge issue, I think we can close this.