[Touch-packages] [Bug 1619281] Re: Text.color can't be compared reliably

2016-09-16 Thread Michał Sawicz
Yeah, we did that, however I'm not sure I agree that we should need to. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to qtdeclarative-opensource- src in Ubuntu. https://bugs.launchpad.net/bugs/1619281 Title: Text.color

[Touch-packages] [Bug 1619281] Re: Text.color can't be compared reliably

2016-09-16 Thread James Henstridge
QColor stores RGB colour with 16 bits per channel, so "0.5" would convert to 32768 (i.e. round(0.5 * 65535)), or 0x8000. If you convert down to 8 bits per channel, you'll have 0x80. If you convert that value back up to 16 bits per channel, you'll have 0x8080. And finally, converting that to

[Touch-packages] [Bug 1619281] Re: Text.color can't be compared reliably

2016-09-02 Thread Alberto Salvia Novella
** Changed in: qtdeclarative-opensource-src (Ubuntu) Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to qtdeclarative-opensource- src in Ubuntu. https://bugs.launchpad.net/bugs/1619281 Title:

[Touch-packages] [Bug 1619281] Re: Text.color can't be compared reliably

2016-09-02 Thread Lukáš Tinkl
Interesting observation: QColor::darker(int factor) versus QML's Qt.darker(color baseColor, real factor) which might cause the discrepancy in the alpha floating point precision -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed

[Touch-packages] [Bug 1619281] Re: Text.color can't be compared reliably

2016-09-01 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: qtdeclarative-opensource-src (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to