Review request for 7124236: [macosx] Some components lost shadows after the latest fix of translucent windows. (original) (raw)
Dmitry Cherepanov dmitry.cherepanov at oracle.com
Tue Jan 31 11:04:38 PST 2012
- Previous message: Code Review Request: 7141071: TEST_BUG: update shell scripts in java/nio/charset to detect Mac OS as a valid platform
- Next message: Review request for 7124236: [macosx] Some components lost shadows after the latest fix of translucent windows.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
The cause of the problem with broken shadows is that currently NSWindow's background color is [NSWindow clearColor] and it makes shadows invisible. The fix implements Mike's suggestion and now we draw pure transparent pixels into a CALayer so that the native background color will be visible through transparent areas of the CALayer.
http://cr.openjdk.java.net/~dcherepanov/7124236/webrev.0/
Thanks, Dmitry
- Previous message: Code Review Request: 7141071: TEST_BUG: update shell scripts in java/nio/charset to detect Mac OS as a valid platform
- Next message: Review request for 7124236: [macosx] Some components lost shadows after the latest fix of translucent windows.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]