[TIMOB-1755] iOS : dashboard view - able to tap done button while icons are in edit/move mode, can result in crash

GitHub Issuen/a
Resolution Date2011-04-17T01:57:04.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.5.0
Labelscrash, dhasboard, ios, regression
ReporterThomas Huelbert
AssigneeBlain Hamon


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)




  1. Stephen Tramer 2011-04-15

    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.

  2. Jeff Haynie 2011-04-15

    (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...

  3. Robby 2011-04-15

    I've run into this crash with the dashboard before. It doesn't always happen though.

  4. Blain Hamon 2011-04-15

    It's entirely possible that this is a race condition happening.

  5. Robby 2011-04-15

    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.

  6. Stephen Tramer 2011-04-15

    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.

  7. Thomas Huelbert 2011-04-15 4.1 4th gen ipod, sim

JSON Source