[TIMOB-6246] Android: alert() function doesn't block
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Won't Fix |
Resolution Date | 2016-08-22T23:30:19.000+0000 |
Affected Version/s | Release 1.7.5, Release 1.8.0, Release 1.8.0.1 |
Fix Version/s | n/a |
Components | Android |
Labels | tbs-1.9.0 |
Reporter | Allen Yeung |
Assignee | Ingo Muschenetz |
Created | 2011-11-21T00:07:53.000+0000 |
Updated | 2017-03-23T22:35:27.000+0000 |
Description
Steps To Reproduce:
1. Launch Application
2. Base UI > Views > Alert Dialog > Double Alert
3. Click Basic Alert twice
Actual Result:
The second alert is shown before the first one
Expected Result:
The first dialog that says "you should see this first" should be shown first.
Can we block? This is both a technical question and a behavior change question. We've had this non-blocking behavior since the dawn of time. According to the docs https://docs.appcelerator.com/platform/latest/#!/api/Global, it states: {quote} Note that unlike a web browser-based version of alert, the method is asynchronous. However, only one alert dialog will be visible and modal at a time. Be aware that this method may be removed in the future. {quote} While the alert doesn't block the JavaScript execution, it apparently blocks other alerts from being displayed at the same time. Perhaps this ticket should be resolved as won't fix? [~ingo] thoughts?
Based on the number of requests/watchers, I'm fine marking as won't fix. If somehow people decide that it's super-important, we can revisit.
Marking as won't fix for the reasons above.
Closing ticket as Won't Fix with reference to the above comments.