[TIMOB-24655] Android: Wrong rendering when using borderRadius and opacity on the same view element
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2017-07-13T18:48:01.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 6.2.0 |
Components | Android |
Labels | android |
Reporter | John Dalsgaard |
Assignee | Gary Mathews |
Created | 2017-04-30T14:53:38.000+0000 |
Updated | 2017-08-29T21:22:12.000+0000 |
Description
I have narrowed the issue down to this. A view container:
with this TSS:
"#x": {
left:100,
width:70,
height:70,
opacity:0.9,
backgroundColor:'blue',
borderRadius:35
}
... will just show the lowest 10-20 % of the round box on Android API 22 and 21. Ok on iOS and Android API 23.
If I change opacity to 1.0 it will render correctly. If I comment out borderRadius then opacity works as expected.
Hello, I can reproduce the issue with Android API21(Android 5.0.0),API22(5.1.0), and API23(6.0.0). The view does not render in API21(Android 5.0.0),API22(5.1.0). Tested with SDK 6.0.3.GA, CLI 6.2.0
master: https://github.com/appcelerator/titanium_mobile/pull/9051
-Failing review for now. More info in the PR.-
[~ybanev], Can you please mark this ticket
In review
again so that I can resolve it. The crash mentioned in the PR is not related.FR Passed
[~emerriman] [~gmathews], Are we doing a backport for this ?
6_2_X: https://github.com/appcelerator/titanium_mobile/pull/9370
FR passed for backport PR. PR merged.
Verified the fix with SDK 7.0.0.v20170829103419 & 6.2.0.v20170829112035. Closing. Studio Ver: 4.9.0.201705302345 SDK Ver: 6.2.0 local build OS Ver: 10.12.3 Xcode Ver: Xcode 8.3.3 Appc NPM: 4.2.9 Appc CLI: 6.2.2 Ti CLI Ver: 5.0.14 Alloy Ver: 1.9.11 Node Ver: 6.10.1 Java Ver: 1.8.0_101 Devices: ⇨ google Nexus 5 --- Android 6.0.1 Emulator: Android 4.4.4, Android 5.1.1