Summary: | Wrong displaying of colors with big valued components in 32 bits | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | Deif Lou <ginoba> |
Component: | General | Assignee: | Krita Bugs <krita-bugs-null> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | ahab.greybeard, halla, tamtamy.tymona |
Priority: | NOR | ||
Version: | git master (please specify the git hash!) | ||
Target Milestone: | --- | ||
Platform: | Manjaro | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Deif Lou
2021-05-20 20:12:20 UTC
Can you maybe make an attach an image like that? Preferably with a screenshot with how it looks and possibly also how it should look (if it's not obvious). Hi. I made a video back then: https://www.dropbox.com/s/wb7l6xqxyof5220/2021-05-06%2011-28-16.mp4?dl=0 There it can be seen that the colors painted on the canvas are not the same as the ones selected. And that disabling canvas acceleration shows the right colors (although there seem to be stioll some white artifacts, I don't know if that's normal due to the high values). Does it also happen if you use a new layer, not the background layer? Yes, it also happens when painting on a new layer. And it produces also artifacts on the semitransparent areas, even if you are painting with a "good" color on the layer below. I think this is related to opengl rendering. Maybe some overflow related issue. The colors in the layer seem to be ok because if you disable canvas acceleration they look fine. I tried to find the issue in the code back then but got lost. I see this happening in the 4.4.8 appimage on Debian 10 - but not in the 5.0.0-beta1 or the Aug 29 5.1.0-prealpha appimages. There may be a 'critical number' at which this happens. e.g. with 19000006784332389679104.00 it happens but with 15000006784332389679104.00 it does not happen and I can go from one to the other with repeated effect. However, that can vary each time I try it (by reducing to zero, painting and then entering a new very large number). Note: 5.0.0-beta1 onwards won't accept a large number pasted in. It highlights it in red and then forces it to 1.0 but you can type a large number in and it will be accepted. With 4.4.8, you can paste or type a large number in and it will be accepted. |