[TIMOB-1755] iOS : dashboard view - able to tap done button while icons are in edit/move mode, can result in crash
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:57:04.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.5.0 |
Components | iOS |
Labels | crash, dhasboard, ios, regression |
Reporter | Thomas Huelbert |
Assignee | Blain Hamon |
Created | 2011-04-15T03:01:24.000+0000 |
Updated | 2011-04-17T01:57:04.000+0000 |
Description
1.BaseUI>views>Table Views>Dashboard Views
2.hold down a dashboard item, drag it to the side of the screen (to
create a new view)
3.while holding down the item, also tap the done button
results: bad behavior, crashes (attached)
Attachments
File | Date | Size |
---|---|---|
dashcrash.zip | 2011-04-15T03:01:24.000+0000 | 8537 |
Not seeing the crash under 4.1, but am seeing some other odd dashboard behavior. However this may be expected due to limitations of managing dashboards. Looking into it.
(from [4c5cd4a3ee0b823880f2f250df49be89a6102a38]) [#1755 state:fixed-in-qa] Added 'dragStart'/'dragEnd' events to Dashboard, updated docs and test to demonstrate. http://github.com/appcelerator/titanium_mobile/commit/4c5cd4a3ee0b823880f2f250df49be89a6102a38"> http://github.com/appcelerator/titanium_mobile/commit/4c5cd4a3ee0b8...
I've run into this crash with the dashboard before. It doesn't always happen though.
It's entirely possible that this is a race condition happening.
Yes, based on the highly variable nature of it, it smells like a race condition. Ahh, my personal favorite kind of bug.
I'll mess with reordering the Dashboard view in my app a bit more and see if I can stir it up again.
Because of the fact that the bug is a race condition and the UI must remain responsive, there are now two new events you can track to determine when it's potentially unsafe to end editing, 'dragStart' and 'dragEnd'. Between these two it should be considered unsafe to end editing.
1.4.2.4ce7ff 4.1 4th gen ipod, sim