Bug 470060

Summary: ColorUtils::alphaBlend calculation can go over 255
Product: [Frameworks and Libraries] frameworks-kirigami Reporter: Matej Starc <matej.starc>
Component: generalAssignee: kdelibs bugs <kdelibs-bugs-null>
Status: REPORTED ---    
Severity: normal CC: notmart
Priority: NOR    
Version First Reported In: Master   
Target Milestone: Not decided   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: test file

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