{ "id": "62557", "key": "TIMOB-1925", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "11225", "name": "Release 1.5.0", "archived": true, "released": true, "releaseDate": "2010-12-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:57:33.000+0000", "created": "2011-04-15T03:05:46.000+0000", "priority": { "name": "Trivial", "id": "5" }, "labels": [ "defect", "shake" ], "versions": [], "issuelinks": [], "assignee": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:57:33.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}
iPod (4.1) with mobile sdk build 1.4.2.e6bd67
\n1.Phone>Shake
\n2.Sake and look for the alert
results: no alert, 1.4.0 KS works as expected on same\ndevice.
Works for me on both iPhone 2G (3.1.x) and iPod Touch 3G (4.1).\nThe issue may be that accelerometers in more recent devices may be\nmore precise than the original calibration values for 'shake'\n(which appear to be for 2G devices). Had to give the iPod a pretty\ngood shake, but the iPhone took a love tap.
\nWe really need a \"works-for-me\" setting in Lighthouse. Marking\nthis invalid for now.
must be device specific - I can get the 3rd gen ipod to work,\nand the iphone 3g I have, but no matter how much I wail on the 4th\ngen ipod, no alert appears. As this is device specific and we have\na a 4th gen ipod at the mothership, switching to Blain as\nassigned.
Worth mentioning that there's a strong possibility this is an\nApple bug - we're just trapping an iOS/device-generated event and\nusing it to send our own notification.
So wait, the MV office is the mothership? I thought that was\nreserved for talking about Apple.
\nIt could be an apple bug, or it could be a case of gaining\nfocus. I recall that a view has to have focus in order to receive\nthe shake event.
Hunh. Turns out the bug's always been there, but it's subtle.\nThe first shake that is listened for will fire correctly always,\nbut after that, a shake event will be fired only if it was within 1\nsecond of a previous shake. So testing with shaking fast would get\nthe event (for all but the first shake in a group), but a proper\nsingle shake would not fire.
\nRemoving the regression tag, but checking in a fix.
\nNote that issue 2048 still is unfixed, so that all testing has\nto be done on the first time the shake window is opened (until 2048\nis fixed), as later window openings will exhibit 2048's symptoms,\nand block the fix from working properly.
Hunh. \nhttp://github.com/appcelerator/titanium_mobile/commit/86bad520f0a01...\nfailed to update the status.
iPod 4th gen (4.1), 3g (3.1.2) with mobile sdk build\n1.5.0.62c1cae
(from [86bad520f0a0187f3b419ad4ae3a67205be0ad5e])\n[#1925 state:fixed-in-qa] Shake event is fixed to\nfire on the first event and ignore constant shaking, instead of\nreport the constant shaking and ignore the first event. Note that\n#2048 may mask this fix in its interactions\n\nhttp://github.com/appcelerator/titanium_mobile/commit/86bad520f0a01...