LC displaying colors incorrectly in macOS 10.13

classic Classic list List threaded Threaded
16 messages Options
Reply | Threaded
Open this post in threaded view
|

LC displaying colors incorrectly in macOS 10.13

Stephen MacLean via use-livecode
Hi,

In LC 9 (haven't tested earlier versions) I'm seeing incorrect colors for
LC controls on macOS 10.13 but not 10.12. I filed a bug report with a
recipe + example stack and I'm wondering if anyone else can confirm my
findings. I'm not sure if it is software related or hardware related.

Here is the bug url:

https://quality.livecode.com/show_bug.cgi?id=21517

--
Trevor DeVore
ScreenSteps
www.screensteps.com
_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: LC displaying colors incorrectly in macOS 10.13

Stephen MacLean via use-livecode
I am running 10.13 and can confirm this with my iMac 5K. The interesting part.
If i change the color profile in system control/monitor then the mouse loc values even change

See a screen recording i´ve uploaded to Droplr <http://d.qck.biz/pKhfxx>

Regards,

Matthias

> Am 24.08.2018 um 14:28 schrieb Trevor DeVore via use-livecode <[hidden email]>:
>
> Hi,
>
> In LC 9 (haven't tested earlier versions) I'm seeing incorrect colors for
> LC controls on macOS 10.13 but not 10.12. I filed a bug report with a
> recipe + example stack and I'm wondering if anyone else can confirm my
> findings. I'm not sure if it is software related or hardware related.
>
> Here is the bug url:
>
> https://quality.livecode.com/show_bug.cgi?id=21517
>
> --
> Trevor DeVore
> ScreenSteps
> www.screensteps.com
> _______________________________________________
> use-livecode mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: LC displaying colors incorrectly in macOS 10.13

Stephen MacLean via use-livecode
Of course i meant mousecolor and not mouse loc.



> Am 24.08.2018 um 15:07 schrieb Matthias Rebbe via use-livecode <[hidden email]>:
>
> I am running 10.13 and can confirm this with my iMac 5K. The interesting part.
> If i change the color profile in system control/monitor then the mouse loc values even change
>
> See a screen recording i´ve uploaded to Droplr <http://d.qck.biz/pKhfxx>
>
> Regards,
>
> Matthias
>
>> Am 24.08.2018 um 14:28 schrieb Trevor DeVore via use-livecode <[hidden email]>:
>>
>> Hi,
>>
>> In LC 9 (haven't tested earlier versions) I'm seeing incorrect colors for
>> LC controls on macOS 10.13 but not 10.12. I filed a bug report with a
>> recipe + example stack and I'm wondering if anyone else can confirm my
>> findings. I'm not sure if it is software related or hardware related.
>>
>> Here is the bug url:
>>
>> https://quality.livecode.com/show_bug.cgi?id=21517
>>
>> --
>> Trevor DeVore
>> ScreenSteps
>> www.screensteps.com
>> _______________________________________________
>> use-livecode mailing list
>> [hidden email]
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>
> _______________________________________________
> use-livecode mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: LC displaying colors incorrectly in macOS 10.13

Stephen MacLean via use-livecode
In reply to this post by Stephen MacLean via use-livecode
On Fri, Aug 24, 2018 at 8:07 AM Matthias Rebbe via use-livecode <
[hidden email]> wrote:

> I am running 10.13 and can confirm this with my iMac 5K. The interesting
> part.
> If i change the color profile in system control/monitor then the mouse loc
> values even change
>
> See a screen recording i´ve uploaded to Droplr <http://d.qck.biz/pKhfxx>
>

Thanks for testing and confirming Matthias. To everyone else - it is now a
confirmed issue on 10.13 as it has been recreated on three separate
machines.

--
Trevor DeVore
ScreenSteps
www.screensteps.com
_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: LC displaying colors incorrectly in macOS 10.13

Stephen MacLean via use-livecode


> On 24 Aug 2018, at 11:49 pm, Trevor DeVore via use-livecode <[hidden email]> wrote:
>
> Thanks for testing and confirming Matthias. To everyone else - it is now a
> confirmed issue on 10.13 as it has been recreated on three separate
> machines.

Do we know if it’s the mouseColor returning an incorrect value or if it’s the actual control being the wrong color?

Cheers

Monte
_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: LC displaying colors incorrectly in macOS 10.13

Stephen MacLean via use-livecode


> On 25 Aug 2018, at 6:55 am, Monte Goulding via use-livecode <[hidden email]> wrote:
>
> Do we know if it’s the mouseColor returning an incorrect value or if it’s the actual control being the wrong color?

If I enter the same RGB values into a html page that has a color picker then setup a send loop that checks the mouseColor I actually get the same wrong RGB value that LC reports. This says to me the issue is not with the display of LC controls but with the mouseColor function. More specifically it is likely to be with snapshot which is used by mouseColor.

Cheers

Monte


_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: LC displaying colors incorrectly in macOS 10.13

Stephen MacLean via use-livecode
In reply to this post by Stephen MacLean via use-livecode
I´ve tested now with Apple´s  Digital Color Meter App.

And you are right. It seems the mouse color values are the correct ones.

See screenshot http://d.qck.biz/vCD6n7 <http://d.qck.biz/vCD6n7>

But anyway. It´s a bug

Regards,

Matthias




> Am 24.08.2018 um 22:55 schrieb Monte Goulding via use-livecode <[hidden email]>:
>
>
>
>> On 24 Aug 2018, at 11:49 pm, Trevor DeVore via use-livecode <[hidden email]> wrote:
>>
>> Thanks for testing and confirming Matthias. To everyone else - it is now a
>> confirmed issue on 10.13 as it has been recreated on three separate
>> machines.
>
> Do we know if it’s the mouseColor returning an incorrect value or if it’s the actual control being the wrong color?
>
> Cheers
>
> Monte
> _______________________________________________
> use-livecode mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: LC displaying colors incorrectly in macOS 10.13

Stephen MacLean via use-livecode
Sorry, i´ve posted a wrong link. This is the correct one

http://d.qck.biz/4DmjLV <http://d.qck.biz/4DmjLV>



> Am 24.08.2018 um 23:09 schrieb Matthias Rebbe via use-livecode <[hidden email]>:
>
> I´ve tested now with Apple´s  Digital Color Meter App.
>
> And you are right. It seems the mouse color values are the correct ones.
>
> See screenshot http://d.qck.biz/vCD6n7 <http://d.qck.biz/vCD6n7>
>
> But anyway. It´s a bug
>
> Regards,
>
> Matthias
>
>
>
>
>> Am 24.08.2018 um 22:55 schrieb Monte Goulding via use-livecode <[hidden email]>:
>>
>>
>>
>>> On 24 Aug 2018, at 11:49 pm, Trevor DeVore via use-livecode <[hidden email]> wrote:
>>>
>>> Thanks for testing and confirming Matthias. To everyone else - it is now a
>>> confirmed issue on 10.13 as it has been recreated on three separate
>>> machines.
>>
>> Do we know if it’s the mouseColor returning an incorrect value or if it’s the actual control being the wrong color?
>>
>> Cheers
>>
>> Monte
>> _______________________________________________
>> use-livecode mailing list
>> [hidden email]
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>
> _______________________________________________
> use-livecode mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: LC displaying colors incorrectly in macOS 10.13

Stephen MacLean via use-livecode
In reply to this post by Stephen MacLean via use-livecode
On Fri, Aug 24, 2018 at 4:04 PM Monte Goulding via use-livecode <
[hidden email]> wrote:

>
>
> > On 25 Aug 2018, at 6:55 am, Monte Goulding via use-livecode <
> [hidden email]> wrote:
> >
> > Do we know if it’s the mouseColor returning an incorrect value or if
> it’s the actual control being the wrong color?
>
> If I enter the same RGB values into a html page that has a color picker
> then setup a send loop that checks the mouseColor I actually get the same
> wrong RGB value that LC reports. This says to me the issue is not with the
> display of LC controls but with the mouseColor function. More specifically
> it is likely to be with snapshot which is used by mouseColor.


There may be multiple bugs. I created that test stack because snapshots I
take with LC show different colors than what I see on the screen. But my ui
colors also look different on 10.13 than on 10.12. So something is wrong
with color processing in general. Perhaps another example stack needs to be
created that imports a snapshot.

--
Trevor DeVore
_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: LC displaying colors incorrectly in macOS 10.13

Stephen MacLean via use-livecode
In reply to this post by Stephen MacLean via use-livecode


> On 25 Aug 2018, at 7:09 am, Matthias Rebbe via use-livecode <[hidden email]> wrote:
>
> I´ve tested now with Apple´s  Digital Color Meter App.
>
> And you are right. It seems the mouse color values are the correct ones.

You mean incorrect here I presume?
>
> See screenshot http://d.qck.biz/vCD6n7 <http://d.qck.biz/vCD6n7> <http://d.qck.biz/vCD6n7 <http://d.qck.biz/vCD6n7>>
>
> But anyway. It´s a bug

Yes of course it is I was just trying to determine where ;-)

From the looks of things we are using a function that takes a snapshot using the display color space then drawing it to our own image format using sRGB color space.

Cheers

Monte
_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: LC displaying colors incorrectly in macOS 10.13

Stephen MacLean via use-livecode


> Am 24.08.2018 um 23:43 schrieb Monte Goulding via use-livecode <[hidden email]>:
>
>
>
>> On 25 Aug 2018, at 7:09 am, Matthias Rebbe via use-livecode <[hidden email]> wrote:
>>
>> I´ve tested now with Apple´s  Digital Color Meter App.
>>
>> And you are right. It seems the mouse color values are the correct ones.
>
> You mean incorrect here I presume?

Yes. It was a busy day and the later it gets the more i have problems with foreign languages. ;)


>>
>> See screenshot http://d.qck.biz/vCD6n7 <http://d.qck.biz/vCD6n7> <http://d.qck.biz/vCD6n7 <http://d.qck.biz/vCD6n7>>
>>
>> But anyway. It´s a bug
>
> Yes of course it is I was just trying to determine where ;-)
>
> From the looks of things we are using a function that takes a snapshot using the display color space then drawing it to our own image format using sRGB color space.
>
> Cheers
>
> Monte
> _______________________________________________
> use-livecode mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: LC displaying colors incorrectly in macOS 10.13

Stephen MacLean via use-livecode
In reply to this post by Stephen MacLean via use-livecode


> On 25 Aug 2018, at 7:43 am, Monte Goulding via use-livecode <[hidden email]> wrote:
>
> From the looks of things we are using a function that takes a snapshot using the display color space then drawing it to our own image format using sRGB color space.

I’ve tried tweaking a few things and I’m no longer sure the issue is ^ … it’s not seeming like this is going to be an easy fix over a Saturday morning coffee like I’d hoped ;-(

Cheers

Monte
_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: LC displaying colors incorrectly in macOS 10.13

Stephen MacLean via use-livecode
In reply to this post by Stephen MacLean via use-livecode
Monte,

rereading yours and mine comments, i have to ask:

If Apple´s app Color Digital Meter shows the same values as LC´s function mousecolor, then  mousecolor is showing the correct values, isn´t it?
Or am i missing something?



> Am 24.08.2018 um 23:49 schrieb Matthias Rebbe via use-livecode <[hidden email]>:
>
>
>
>> Am 24.08.2018 um 23:43 schrieb Monte Goulding via use-livecode <[hidden email]>:
>>
>>
>>
>>> On 25 Aug 2018, at 7:09 am, Matthias Rebbe via use-livecode <[hidden email]> wrote:
>>>
>>> I´ve tested now with Apple´s  Digital Color Meter App.
>>>
>>> And you are right. It seems the mouse color values are the correct ones.
>>
>> You mean incorrect here I presume?
>
> Yes. It was a busy day and the later it gets the more i have problems with foreign languages. ;)
>
>
>>>
>>> See screenshot http://d.qck.biz/vCD6n7 <http://d.qck.biz/vCD6n7> <http://d.qck.biz/vCD6n7 <http://d.qck.biz/vCD6n7>>
>>>
>>> But anyway. It´s a bug
>>
>> Yes of course it is I was just trying to determine where ;-)
>>
>> From the looks of things we are using a function that takes a snapshot using the display color space then drawing it to our own image format using sRGB color space.
>>
>> Cheers
>>
>> Monte
>> _______________________________________________
>> use-livecode mailing list
>> [hidden email]
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
> _______________________________________________
> use-livecode mailing list
> [hidden email] <mailto:[hidden email]>
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode <http://lists.runrev.com/mailman/listinfo/use-livecode>
_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: LC displaying colors incorrectly in macOS 10.13

Stephen MacLean via use-livecode


> On 25 Aug 2018, at 10:51 pm, Matthias Rebbe via use-livecode <[hidden email]> wrote:
>
> rereading yours and mine comments, i have to ask:
>
> If Apple´s app Color Digital Meter shows the same values as LC´s function mousecolor, then  mousecolor is showing the correct values, isn´t it?
> Or am i missing something?

Hmm… ok so I think I misread your original comment. Comparing Apple’s Color Digital Meter and LiveCode’s mouseColor does give the same results. Creating a swatch with the same RGB values in a color picker on a web page also results in the same RGB values I get from the LiveCode stack. I tried in chrome and safari.

Going in to the color profiles and changing to sRGB IEC61966-2.1 and the reported values are correct all around.

So it seems the default color profile in High Sierra isn’t right. I’m not overly sure what we can do about it. It might be that someone else on the team knows what to do or it could just be Apple’s bug to deal with.

Cheers

Monte
_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: LC displaying colors incorrectly in macOS 10.13

Stephen MacLean via use-livecode
On Sat, Aug 25, 2018 at 6:25 PM Monte Goulding via use-livecode <
[hidden email]> wrote:

>
> So it seems the default color profile in High Sierra isn’t right. I’m not
> overly sure what we can do about it. It might be that someone else on the
> team knows what to do or it could just be Apple’s bug to deal with.
>

There is definitely an LC issue. Try this:

1. Create new stack.
2. `import snapshot` and select something on your screen with a blue in it.
I used a Messages chat window.
3. Use digital color meter to check color of blue in actual window vs
snapshot. The snapshot is off.

Actual: 58,133,241
Imported LC snapshot:  83,141,233

--
Trevor DeVore
ScreenSteps
www.screensteps.com
_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: LC displaying colors incorrectly in macOS 10.13

Stephen MacLean via use-livecode


> On 26 Aug 2018, at 1:14 pm, Trevor DeVore via use-livecode <[hidden email]> wrote:
>
> 1. Create new stack.
> 2. `import snapshot` and select something on your screen with a blue in it.
> I used a Messages chat window.
> 3. Use digital color meter to check color of blue in actual window vs
> snapshot. The snapshot is off.
>
> Actual: 58,133,241
> Imported LC snapshot:  83,141,233

Hmm… I wonder if this is some kind of compounding of the same issue? As the snapshot captures with the incorrect color profile and then the imported snapshot is also impacted by the incorrect color profile. In your original example stack I imported a snapshot of the blue square and I get 60,153,240 on the original and 66,155,137 on the snapshot. Again if I choose the sRGB profile both the original and a new snapshot report the correct color for the graphic of 53,151,243 while the snapshot I took with the default profile now reports 60,153,240.

Cheers

Monte
_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode