PySide Bugzilla Closed for New Bugs

PySide is now a Qt Add-on and uses the Qt Project's JIRA Bug Tracker instead of this Bugzilla instance. This Bugzilla is left for reference purposes.

Bug 960 - QColor.__reduce__ is incorrect for HSL colors
: QColor.__reduce__ is incorrect for HSL colors
Status: CLOSED FIXED
Product: PySide
Classification: Unclassified
Component: QtGui
: 1.0.5
: All All
: P3 normal
Assigned To: renato filho
:
:
:
  Show dependency treegraph
 
Reported: 2011-08-07 10:58 EEST by Farsmo
Modified: 2011-08-23 00:35 EEST (History)
8 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Farsmo 2011-08-07 10:58:42 EEST
It should use .hslXxxF() instead of .xxxF() to retrieve each of the channels,
otherwise the color is converted to HSV (but the constructor used is still
HSL).
Comment 1 renato filho 2011-08-16 20:38:01 EEST
fixed on pyside commit:

commit 6cdd438491ad7b127cc42151d2323b1bdf7db51d
Author: Renato Filho <renato.filho@openbossa.org>
Date:   Tue Aug 16 13:47:42 2011 -0300
Comment 2 renato filho 2011-08-23 00:35:33 EEST
Released on PySide 1.0.6