Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-2398] Background Gradients Hiding Nested Elements

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:58:59.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.5.0 M05
ComponentsiOS
Labelsgradient, rplist, testneeded
ReporterRick Blalock
AssigneeBlain Hamon
Created2011-04-15T03:18:39.000+0000
Updated2011-04-17T01:58:59.000+0000

Description

There is a bug in the 1.5 build only where a gradient will cover up any child elements.

Ticket: http://developer.appcelerator.com/helpdesk/view/55911">http://developer.appcelerator.com/helpdesk/view/55911
My Example code: http://pastie.org/1318202">http://pastie.org/1318202
Screenshot: http://screencast.com/t/LoOuSFWdC0C">http://screencast.com/t/LoOuSFWdC0C

Also, the customer is using a radial gradient but it happens with a linear gradient as well. It doesn't just happen with images either, here's an example of a label being masked by the gradient: http://screencast.com/t/Fdr8qMYH1">http://screencast.com/t/Fdr8qMYH1

Comments

  1. Ralf Pfeiffer 2011-04-15

    STeve, if you could give me a feel for risk, scope, to discuss tomorrow...

  2. Jeff Haynie 2011-04-15

    (from [8f4eea3ba2d8d7b9e00c6607e04adacfc1cc0208]) [#2398 state:fixed-in-qa] Force gradient layer to background when adding subviews. https://github.com/appcelerator/titanium_mobile/commit/8f4eea3ba2d8d7b9e00c6607e04adacfc1cc0208"> https://github.com/appcelerator/titanium_mobile/commit/8f4eea3ba2d8...

  3. Pedro Enrique 2011-04-15

    Tested code from pastie.org against todays release of 1.5 and it works fine.
    You can see the problem with older versions.
    Fixed.

  4. Pedro Enrique 2011-04-15

    Fixed

JSON Source