Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-14568

Android: Setting "transform" to null leaves UI artifacts

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Low
    • Resolution: Cannot Reproduce
    • Affects Version/s: Release 3.1.1
    • Fix Version/s: None
    • Component/s: Android
    • Labels:
    • Environment:

      TiSDK 3.1.1
      Android 2.3.3

      Description

      problem

      When setting the transform property of a proxy to null it leaves UI artifacts (as shown in attached screenshot) on Android. This does not occur on iOS or Mobileweb.

      expected

      When I set the the transform property of a proxy to null, I expect the transform to be reset to the identity transform and that there are no UI artifacts of the previous transform left behind.

      test case

      app.js

      var win = Ti.UI.createWindow({
      	backgroundColor: '#fff',
      	modal: false,
      	exitOnClose: true
      });
      var label = Ti.UI.createLabel({
      	text: 'just a test label',
      	transform: Ti.UI.create2DMatrix().rotate(45)
      });
      label.addEventListener('click', function(e) {
      	label.transform = null; // must be set to Ti.UI.create2DMatrix() to work around on Android
      });
       
      win.add(label);
      win.open();
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                tlukasavage Tony Lukasavage
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-17004
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Integration