Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-24655] Android: Wrong rendering when using borderRadius and opacity on the same view element

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2017-07-13T18:48:01.000+0000
Affected Version/sn/a
Fix Version/sRelease 6.2.0
ComponentsAndroid
Labelsandroid
ReporterJohn Dalsgaard
AssigneeGary Mathews
Created2017-04-30T14:53:38.000+0000
Updated2017-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.

Comments

  1. Sharif AbuDarda 2017-05-03

    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
  2. Gary Mathews 2017-05-11

    master: https://github.com/appcelerator/titanium_mobile/pull/9051
  3. Lokesh Choudhary 2017-06-26

    -Failing review for now. More info in the PR.-
  4. Lokesh Choudhary 2017-07-11

    [~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.
  5. Lokesh Choudhary 2017-07-13

    FR Passed
  6. Lokesh Choudhary 2017-08-18

    [~emerriman] [~gmathews], Are we doing a backport for this ?
  7. Gary Mathews 2017-08-29

    6_2_X: https://github.com/appcelerator/titanium_mobile/pull/9370
  8. Lokesh Choudhary 2017-08-29

    FR passed for backport PR. PR merged.
  9. Lokesh Choudhary 2017-08-29

    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

JSON Source