Bug 68295

Summary: Adjusting spinbox for B in KColorDialog sometimes changes R and G values in HTML editbox.
Product: [Frameworks and Libraries] kdelibs Reporter: Derick Swanepoel <derick>
Component: generalAssignee: Stephan Kulow <coolo>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Derick Swanepoel 2003-11-15 20:25:29 UTC
Version:            (using KDE KDE 3.1.93)
Installed from:    Compiled From Sources
Compiler:          gcc (GCC) 3.3.2 20031022 (Gentoo Linux 3.3.2-r2, propolice) 
OS:          Linux

How to reproduce:

Open any color selection dialog and enter #50B0FF in the HTML editbox. Then decrease the value of blue using the B spinbox. When the value for blue reaches 253 the HTML editbox will read #50AFFD - the hex value for green has changed! (The value in the G spinbox remains unchanged, however.) Further decreasing the blue value will periodically change green's hex value. With some colors the same happens to the red component.

(I looked at the code for kcolordialog.cpp but couldn't find anything obviously wrong. Hmm...)
Comment 1 Waldo Bastian 2003-11-17 21:51:59 UTC
Subject: kdelibs/kdeui

CVS commit by waba: 

Fix for BR68295
Thanks to Pascal L