{ "id": "63901", "key": "TIMOB-3269", "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": "11244", "name": "Release 1.7.0", "archived": true, "released": true, "releaseDate": "2011-06-13" }, { "id": "11245", "name": "Sprint 2011-10", "archived": true, "released": true, "releaseDate": "2011-03-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T02:01:20.000+0000", "created": "2011-04-15T03:40:52.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "defect", "ios", "ios3.2", "ios4", "release-1.7.0", "reported-1.7.0" ], "versions": [], "issuelinks": [], "assignee": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T02:01:20.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}

Steps:
\n1. Get the attached test file
\n2. Compile and install to iPad
\n3. Run the application on the iPad in portrait mode
\n4. Scroll through all the images to get to end of file
\n5. Scroll back to some previous file and rotate to landscape\nmode

\n

Result:
\nThe image that is being displayed is the last image in the\napplication

\n

Expected:
\nTo display the same image before orientation

\n

Additional info:
\nIt seems to have to hit a certain memory after viewing a lot of\nimage before you can reproduce this case.

\n

Tested with Titanium SDK version: 1.7.0 (03/03/11 11:06 87a2113)\non:
\niphone 3g 3.1.3, ipad 4.2.1, ipad 3.2.2

{html}", "attachment": [ { "id": "18291", "filename": "resources-2.zip", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:40:54.000+0000", "size": 7931609, "mimeType": "application/zip" } ], "flagged": false, "summary": "iOS: Scrollview through many images causes orientation to lose the index of current file", "creator": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "130441", "author": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

(from [da44e8390edc52a0c46114cd27486bec5c8d1f78])\n[#3269 state:fixed-in-qa] Cache the current page\nof a scrollable view before going through with resize operations,\nto ensure we render the correct page after operations which resize\nthe content frame to be smaller than its current value. \nhttps://github.com/appcelerator/titanium_mobile/commit/da44e8390edc...

{html}", "updateAuthor": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:40:58.000+0000", "updated": "2011-04-15T03:40:58.000+0000" }, { "id": "130442", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Tested with Titanium SDK version: 1.7.0 (03/08/11 09:53 1df642e)\non
\niPad 3.2
\niPhone 3g 3.1.3

\n

Steps to Repro:
\n1. Scroll to last image
\n2. Change orientation

\n

Note: Only happens on the last image now.

{html}", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:40:58.000+0000", "updated": "2011-04-15T03:40:58.000+0000" }, { "id": "130443", "author": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

(from [1dbf930139fbd7d351615943f91f72095e7b47f7])\n[#3269 state:fixed-in-qa] Record previous page\nnumber on frame/bounds resize.. this might be useful for some\nsituations in which a user manually resizes a scrollable view as\nwell. \nhttps://github.com/appcelerator/titanium_mobile/commit/1dbf930139fb...

{html}", "updateAuthor": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:40:58.000+0000", "updated": "2011-04-15T03:40:58.000+0000" }, { "id": "130444", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Tested with Titanium SDK version: 1.7.0 (03/08/11 13:41 1dbf930)\non
\niPad 3.2
\niphone 3g 3.1.3

\n

No longer changing image on orientation, but it does change when\ndoing orientation in the middle of a scroll, please reference bug\n3308

{html}", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:40:59.000+0000", "updated": "2011-04-15T03:40:59.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }