Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-26457] Windows: Window.exitOnClose doesn't work when only one Window is opened

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2018-10-22T21:11:27.000+0000
Affected Version/sRelease 7.4.0
Fix Version/sRelease 7.5.0
ComponentsWindows
Labelsparity
ReporterKota Iguchi
AssigneeKota Iguchi
Created2018-10-17T01:02:10.000+0000
Updated2018-10-23T10:10:18.000+0000

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.

Comments

  1. Kota Iguchi 2018-10-18

    https://github.com/appcelerator/titanium_mobile_windows/pull/1293
  2. Keerthi Mahalingam 2018-10-18

    FR passed.Waiting for CR and merge.
  3. Samir Mohammed 2018-10-23

    *Closing ticket.* Fix verified in SDK Version 7.5.0.v20181022235556 Test and other information can be found at: https://github.com/appcelerator/titanium_mobile_windows/pull/1293

JSON Source