[Mono-bugs] [Bug 648993] New: Cannot change a CATiledLayer FadeDuration

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Oct 25 09:41:46 EDT 2010


https://bugzilla.novell.com/show_bug.cgi?id=648993

https://bugzilla.novell.com/show_bug.cgi?id=648993#c0


           Summary: Cannot change a CATiledLayer FadeDuration
    Classification: Mono
           Product: MonoTouch
           Version: unspecified
          Platform: Macintosh
        OS/Version: Mac OS X 10.6
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: Class Libraries
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: johan.otto at justenough.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Customer
           Blocker: ---


Description of Problem:


Steps to reproduce the problem:

Observe the following code snippet

CATiledLayer tiledLayer = this.Layer as CATiledLayer;
..
SizeF ts = Owner.Bounds.Size;
ts = new SizeF(ts.Width / 2, ts.Height / 2);
SizeF cs = CellSize.Scale(ScaleFactor);
ts = new SizeF((float)Math.Max(Math.Floor(ts.Width / cs.Width) * cs.Width,
cs.Width),  
     (float)Math.Max(Math.Floor(ts.Height / cs.Height) * cs.Height,
cs.Height));
tiledLayer.TileSize = ts;
tiledLayer.Bounds = rect;

CATiledLayer.FadeDuration = 0.1; -- MONOTOUCHEXCEPTION Unrecognized Selector

Actual Results:
A MonoTouch Exception is thrown with an Unrecognized selector. This might be
because the objective-C class expects a "CFTimeInterval".

Expected Results:
I was expecting the fade duration to change.

How often does this happen? 
Evrytime

Additional Information:

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list