Titanium JIRA Archive
Appcelerator Community (AC)

[AC-3718] Window close called when transit to next window in Sony Xperia Z

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionNot Our Bug
Resolution Date2016-06-15T16:32:18.000+0000
Affected Version/sAppcelerator Studio 4.5.0
Fix Version/sn/a
ComponentsAlloy
Labelsandroid
ReporterPrimary Binary
AssigneeShak Hossain
Created2016-06-02T00:19:07.000+0000
Updated2016-06-15T16:32:18.000+0000

Description

My App transit from one window to other window, while transition first window's close is getting called. Window1-->Window2 Close of Window1 is called. This behaviour is observed in Sony Xperia Z but not in Nexus5 Android ver 5.0.1 or iPhone devices. Attached code for further reference. Request to provide input/comments/fix on this.

Attachments

FileDateSize
CloseWin1_SonyXperiaZ.avi2016-06-06T02:06:25.000+00005755986
index.js2016-06-02T00:15:37.000+0000486
index.xml2016-06-02T00:15:23.000+0000137
window2.js2016-06-02T00:15:40.000+000029
window2.xml2016-06-02T00:15:28.000+0000114

Comments

  1. Sharif AbuDarda 2016-06-03

    Hello, Are you having any particular problem with window-1 getting closed when window-2 is opening? Please provide a video demonstration of your issue. It's this should be a good thing. It releases memory during run. Regards, Sharif.
  2. Primary Binary 2016-06-06

    Hi Yes problem is window-1 is getting closed after opening window-2. Technically, window-1's close handler is getting called after opening window-2 only in Sony XperiaZ device. This doesn't happen in Nexus5. Attached CloseWin1_SonyXperiaZ.avi showing alert message of close handler of window-1. Reply if you need more information.
  3. Sharif AbuDarda 2016-06-09

    Hello, This is a device feature scenario, Which we might not have an alternative for you. This might be how Sony XperiaZ device deals with memory. Please try on some other device to see if this happens elsewhere. If it's only for Sony XperiaZ, I believe there is not much to do here. Regards, Sharif.

JSON Source