cappuccino/cappuccino — Issue #1419: CALayer Methods "setContents" and "Contents" not working as expected
Author: tuxedout
Created: 2011-12-13 21:43:45+00:00
State: open

I'm working on a project which requires small thumbnails of document pages (like thumbnails of layers in Photoshop), it has a main work area which is represented as CALayer. Implementation is done using http://cappuccino.org/learn/documentation/interface_c_a_layer.html for reference. As declared in this doc "CALayer" has "setContents" and "contents" methods, but when I try to use them I get these problems:

1. setContents - does nothing
2. contents returns null

But I do not see any errors or warnings in js-console.
Are these bugs in these mmethods?
Can these methods be used to extract layer thumbnails for use in other layers?