[AC-6120] Wrong window closed
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Resolved |
Resolution | Duplicate |
Resolution Date | 2019-02-08T16:09:53.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | n/a |
Reporter | Guile |
Assignee | Shak Hossain |
Created | 2019-01-31T11:30:53.000+0000 |
Updated | 2019-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"
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*
[~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!
Closing as duplicate of TIMOB-26641.
There is a typo in the duplicate… It is not 2664 but 26641