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

Windows: Window.exitOnClose doesn't work when only one Window is opened

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: Release 7.4.0
    • Fix Version/s: Release 7.5.0
    • Component/s: Windows
    • Labels:
    • Story Points:
      5
    • Sprint:
      2018 Sprint 21, 2018 Sprint 22

      Description

      Window.exitOnClose works only when there are multiple Windows opened. It exits the app when there's only one Window opened.

      var win = Ti.UI.createWindow({ exitOnClose: false, backgroundColor: 'green' });
      win.addEventListener('open', function () {
          win.close();
      });
      win.open();
      

      Expected: It should not exit the app.

        Attachments

          Activity

            People

            • Assignee:
              kiguchi Kota Iguchi
              Reporter:
              kiguchi Kota Iguchi
              Reviewer:
              Gary Mathews
              Tester:
              Keerthi Mahalingam
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Source Code