Titanium JIRA Archive
Appcelerator Community (AC)

[AC-6120] Wrong window closed

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionDuplicate
Resolution Date2019-02-08T16:09:53.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterGuile
AssigneeShak Hossain
Created2019-01-31T11:30:53.000+0000
Updated2019-02-08T18:56:15.000+0000

Description

The following project show that a window freshly opened into a NavWin will be close by a code that says to close a previously opened window. https://github.com/guiled/appctest How to test it : - you start on window "A" - click on "Open B" button, that will open the window "B" - click on "Open C with delayed closing B", that will open the window "C" and then close the window "B" after 300ms. And everything happens as expected. - click on "Close C" to go back to window "A" as expected. - then click "Open B" button, - and click on "Open C without delayed closing B". That will open the window "C" and immediately close the window "C" ( ! ! ). That is absolutely unexpected. Window "C" seems not to be opened, window "B" is still here. We shouldn't have to use a timeout to run this code that closes Window "B" just after opening window "C"

Comments

  1. Rakhi Mitro 2019-02-03

    Hello, Thanks for reporting this. Can you please execute the following command and share us the logs. *appc run -p ios -T device -l trace*
  2. Vijay Singh 2019-02-07

    [~gduthieuw] This issue is fixed in SDK 8.0.0, which is going to release soon. See TIMOB-26641 and corresponding [PR](https://github.com/appcelerator/titanium_mobile/pull/10535). Thanks!
  3. Sharif AbuDarda 2019-02-08

    Closing as duplicate of TIMOB-26641.
  4. Guile 2019-02-08

    There is a typo in the duplicate… It is not 2664 but 26641

JSON Source