Aug 6, 2012

Today I noticed that running Google Chrome in Mountain Lion causes hue shift to blue on my MacBook Pro LCD display. I work with photos a lot and have a calibrated display. Sudden hue shift is very noticeable when you are used to work with calibrated, neutral gray monitors.

It seems that issue is specific to Mountain Lion only and it is caused when the system switches between integrated Intel and more powerful ATI or Nvidia graphics cards. There are two threads about this: here and here. At the end of the first link there is a post that reseting PRAM fixes the issue. I tried that but I cannot yet confirm if it fixes the issue or not. One thing I noticed is that after reseting PRAM my MBP does not switch to the advanced graphics when I run Twitter or Chrome. Before resting any of this apps were causing such switching.

In case if you have hue shift issue, I would appreciate if you write that in comments. There is no need to write if you do NOT have the issue :)

[Update, Nov 27, 2012] It appears that the problem is specific to MacBook Pros with SSD. Looks like they load too fast. OS X runs multiple tasks in parallel and it tries to load the correct color profile into the discrete card too early. To solve the issue, log out from the current user and log in. Hue will disappear.

Aug 3, 2012

If you use PhpStorm and add magic methods to a class (__get/__set/__call), you may notice that PhpStorm generates warnings for undefined class attributes and methods. A typical example is when you implement automatic getters and setters for protected instance variables: