[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: Review Request: KColorSpace::KHCY::KHCY(const & QColor)
From:       "Albert Astals Cid" <aacid () kde ! org>
Date:       2009-10-18 14:46:40
Message-ID: 20091018144640.4800.70642 () localhost
[Download RAW message or body]


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.kde.org/r/868/#review2701
-----------------------------------------------------------


Michael, should this review request be marked as closed?

- Albert


On 2009-06-21 22:44:32, Michael Kreitzer wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://reviewboard.kde.org/r/868/
> -----------------------------------------------------------
> 
> (Updated 2009-06-21 22:44:32)
> 
> 
> Review request for kdelibs.
> 
> 
> Summary
> -------
> 
> The constructor KColorSpace::KHCY::KHCY(const & QColor) has a floating point \
> precision error exposed by the -ftree-pre flag in gcc 4.4 which is enabled with -O2 \
> optimizations. The result is an invalid chroma calculation in the corner case of \
> full white (1.0, 1.0, 1.0 in rgb). The patch works around this by performing an \
> integer comparison of r, g, and b and setting chroma to 0.0 if all 3 are equal. 
> 
> This addresses bugs 194703 and 195522.
> https://bugs.kde.org/show_bug.cgi?id=194703
> https://bugs.kde.org/show_bug.cgi?id=195522
> 
> 
> Diffs
> -----
> 
> trunk/KDE/kdelibs/kdeui/colors/kcolorspaces.cpp 985087 
> 
> Diff: http://reviewboard.kde.org/r/868/diff
> 
> 
> Testing
> -------
> 
> This patch corrects the test case code in bug 195522. It also removes all color \
> errors when applied to my system wide kdelibs library. 
> 
> Thanks,
> 
> Michael
> 
> 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic