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

Android: App crashes when trying to re-open a closed window

    Details

    • Type: Bug
    • Status: Closed
    • Priority: None
    • Resolution: Fixed
    • Affects Version/s: Release 7.3.0
    • Fix Version/s: Release 7.2.1
    • Component/s: Android
    • Labels:
    • Environment:

      SDK 7.3.0v20180703051211
      Tested on Nexus5x Android 7.0.1

    • Story Points:
      3
    • Sprint:
      2018 Sprint 15 SDK, 2018 Sprint 16 SDK

      Description

      When trying to re-open a window previously closed the app crashes. This didn't happen on 7.2.0.GA.

      As per example above, click the button, close the window then click the button again.

      var win2 = Ti.UI.createWindow({backgroundColor: 'red'});
       
      var win1 = Ti.UI.createWindow({backgroundColor: 'white'});
      var button = Ti.UI.createButton({title: "Click me", color: "#000"});
      button.addEventListener('click', function(){
        win2.open();
      });
      win1.add(button);
      win1.open();
      

      Question is. Which behaviour is the expected behaviour. Not being able to reopen a window, or being able to reopen a window

        Attachments

          Activity

            People

            • Assignee:
              gmathews Gary Mathews
              Reporter:
              topener Rene Pot
              Reviewer:
              Joshua Quick
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Source Code