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

Windows: Remove all children is not working on windows devices

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Release 6.0.3
    • Fix Version/s: Release 6.1.0
    • Component/s: Windows
    • Labels:
      None
    • Environment:

      SDK 6.0.3 GA

    • Story Points:
      8
    • Sprint:
      2017 Sprint 09 SDK

      Description

      H5. Issue Description

      Using Ti.UI.View.removeAllChildren on a View element on Windows devices results in no children being removed. There is a viable workaround in iterating through each child of a View and removing it individually. However, trying to use removeAllChildren then using this workaround results in nothing happening (it is possible that removeAllChildren is somehow removing items from the View.children array without affecting the UI).

      Steps to Reproduce

      Here is a bare bones project that reproduces this issue: https://github.com/bbuehler-axway-support/windows-removeAllChildren

      To use this example app, add children to the view by clicking the "Add Child View" button. Clicking the "Remove All Children" button does nothing. Kill and relaunch the app. Add more child views. Clicking "Remove Each Child" button removes all children. Add more child views. Clicking the "Remove All Children" button still does nothing; without killing and relaunching the app, add more child views and remove them with "Remove Each Child". Child views added before clicking "Remove All Children" will remain while child views added afterward will be removed correctly.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kiguchi Kota Iguchi (Inactive)
                Reporter:
                rramirez Ricardo Ramirez
                Reviewer:
                Gary Mathews
                Tester:
                Samir Mohammed
              • Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Integration