Bug 470060 - ColorUtils::alphaBlend calculation can go over 255
Summary: ColorUtils::alphaBlend calculation can go over 255
Status: REPORTED
Alias: None
Product: frameworks-kirigami
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: Master
Platform: Arch Linux Linux
: NOR normal
Target Milestone: Not decided
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-20 18:41 UTC by Matej Starc
Modified: 2023-05-20 18:41 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
test file (226 bytes, text/x-qml)
2023-05-20 18:41 UTC, Matej Starc
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matej Starc 2023-05-20 18:41:27 UTC
Created attachment 159145 [details]
test file

SUMMARY
According to our kirigami's code, rgba's range supports up to 65025 (which is 255^2). 


STEPS TO REPRODUCE
1. Run example that calls ColorUtils::alphaBlend
2. Reports: ``QColor::fromRgb: RGB parameters out of range