{ "id": "121999", "key": "TIMOB-16258", "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": "16593", "description": "Release 4.0.0", "name": "Release 4.0.0", "archived": false, "released": true, "releaseDate": "2015-05-21" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-12-02T19:07:50.000+0000", "created": "2013-11-03T23:35:39.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "ListViews", "Runtime", "exalture", "parity" ], "versions": [], "issuelinks": [], "assignee": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "updated": "2015-02-12T21:43:06.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "I've trimmed down the files and code as much as I believe that I can and still maintain the layout / shifting issue. It is very simple compared to the original code.\r\n\r\n1) Create a new alloy project or start with the two tab alloy project\r\n2) delete all the .js, .xml and .tss files\r\n3) Add the enclosed index.js, index.tss and index.xml files\r\n4) Compile and run the project on a device or an emulator\r\n5) Note that the text in the first list section is lined up with the text in the second list section. emulator64-armScreenSnapz002.png shows how it looks in my app. It will look different in this project because it has been trimmed down to contain static data with only two sections instead of three.\r\n6) Hit the 'R' button on the top right hand side of the first line of the list view\r\n7) Note that the name on the first line changes color from red to gray to let you know you clicked.\r\n8) Note that all the text after the second column has shifted to the left. emulator64-armScreenSnapz003.png shows what it looks like in my app. The output from these files do not contain any graphics of course and text has been substituted.\r\n\r\nResults:\r\nThe first 2 items on the left side of the list view don't move but the next 4 shift to the left.\r\n\r\nExpected Results:\r\nThe text doesn't move.\r\n\r\nThis seems to work properly on all the iOS devices and emulators that I've tried, so I believe that this is an Android only issue somewhere between the Titanium runtime and the Android OS.\r\n\r\n", "attachment": [ { "id": "43645", "filename": "emulator64-armScreenSnapz002.png", "author": { "name": "dspells", "key": "dspells", "displayName": "Henry David Spells III", "active": true, "timeZone": "America/Chicago" }, "created": "2013-11-03T23:35:39.000+0000", "size": 64075, "mimeType": "image/png" }, { "id": "43646", "filename": "emulator64-armScreenSnapz003.png", "author": { "name": "dspells", "key": "dspells", "displayName": "Henry David Spells III", "active": true, "timeZone": "America/Chicago" }, "created": "2013-11-03T23:35:39.000+0000", "size": 64378, "mimeType": "image/png" }, { "id": "43642", "filename": "index.js", "author": { "name": "dspells", "key": "dspells", "displayName": "Henry David Spells III", "active": true, "timeZone": "America/Chicago" }, "created": "2013-11-03T23:35:39.000+0000", "size": 1887, "mimeType": "application/x-javascript" }, { "id": "43643", "filename": "index.tss", "author": { "name": "dspells", "key": "dspells", "displayName": "Henry David Spells III", "active": true, "timeZone": "America/Chicago" }, "created": "2013-11-03T23:35:39.000+0000", "size": 2253, "mimeType": "application/octet-stream" }, { "id": "43644", "filename": "index.xml", "author": { "name": "dspells", "key": "dspells", "displayName": "Henry David Spells III", "active": true, "timeZone": "America/Chicago" }, "created": "2013-11-03T23:35:39.000+0000", "size": 1472, "mimeType": "text/xml" } ], "flagged": false, "summary": "Android: ListView shifts when loaded a second time or loaded into a window without a tab", "creator": { "name": "dspells", "key": "dspells", "displayName": "Henry David Spells III", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "environment": "Titanium Command-Line Interface, CLI version 3.1.2, Titanium SDK version 3.1.3.GA\r\nAndroid SDK: This occurred when I target 4.0.3 and 4.3. I haven't tried others\r\nAndroid Devices/Emulators tested: HTX One X, Kindle Fire HD, WXGA 854 Emulator, other devices reported by customers", "closedSprints": [ { "id": 272, "state": "closed", "name": "2014 Sprint 25 SDK", "startDate": "2014-12-08T22:49:31.264Z", "endDate": "2014-12-22T01:00:00.000Z", "completeDate": "2015-01-05T18:18:28.523Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "301200", "author": { "name": "dspells", "key": "dspells", "displayName": "Henry David Spells III", "active": true, "timeZone": "America/Chicago" }, "body": "This is still present in the 3.2.2.GA SDK. It still works properly on iOS and is broken on Android. Has any research been done on this? Have you been able to at least reproduce it.", "updateAuthor": { "name": "dspells", "key": "dspells", "displayName": "Henry David Spells III", "active": true, "timeZone": "America/Chicago" }, "created": "2014-04-17T01:50:01.000+0000", "updated": "2014-04-17T01:50:01.000+0000" }, { "id": "307602", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The issue is reproducible with the test code provided above.\r\n\r\nEnvironment:\r\nAppc Studio : 3.3.0.201405271647\r\nTi SDK : 3.3.0.v20140603152512 \r\nMac OSX : 10.8.5\r\nAlloy : 1.4.0-beta\r\nCLI - 3.3.0-beta2\r\nCode Processor: 1.1.1\r\nNexus 5 - android 4.4.2", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-06-04T23:01:17.000+0000", "updated": "2014-06-04T23:01:17.000+0000" }, { "id": "318845", "author": { "name": "dspells", "key": "dspells", "displayName": "Henry David Spells III", "active": true, "timeZone": "America/Chicago" }, "body": "Thank you for looking into this bug", "updateAuthor": { "name": "dspells", "key": "dspells", "displayName": "Henry David Spells III", "active": true, "timeZone": "America/Chicago" }, "created": "2014-08-15T16:03:53.000+0000", "updated": "2014-08-15T16:03:53.000+0000" }, { "id": "321854", "author": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Issue reproduces\r\n\r\nTitanium SDK version 3.4.0 master, 3.3.0.GA\r\nTitanium Studio, build: 3.3.0.201407100905\r\nTitanium Command-Line Interface\r\nCLI version 3.3.0, \r\nAndroid device : Motorola Moto G, Android version : 4.4.4", "updateAuthor": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-04T17:22:05.000+0000", "updated": "2014-09-04T17:22:05.000+0000" }, { "id": "321855", "author": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Issue reproduces\r\n\r\nTitanium SDK version 3.4.0 master, 3.3.0.GA\r\nTitanium Studio, build: 3.3.0.201407100905\r\nTitanium Command-Line Interface\r\nCLI version 3.3.0, \r\nAndroid device : Motorola Moto G, Android version : 4.4.4", "updateAuthor": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-04T17:24:24.000+0000", "updated": "2014-09-04T17:24:24.000+0000" }, { "id": "333324", "author": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "body": "https://github.com/appcelerator/titanium_mobile/pull/6377\r\nAdditional checking for old and new value being null", "updateAuthor": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2014-11-22T06:57:49.000+0000", "updated": "2014-11-22T06:57:49.000+0000" }, { "id": "343132", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Verified fix on:\r\n\r\nMac OSX 10.10.2\r\nAppcelerator Studio, build: 4.0.0.201502051633\r\nTitanium SDK build: 4.0.0.v20150212104820\r\nTitanium CLI, build: 3.6.0-dev\r\nAlloy: 1.6.0-alpha\r\nAndroid Build tools 21.1.2\r\nNexus 6 (5.0.1), Galaxy S3 (4.4.2)\r\n\r\nBuilt to both devices, the ListView no longer shifts when loaded a second time.\r\n\r\nClosing ticket.", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2015-02-12T21:42:44.000+0000", "updated": "2015-02-12T21:42:44.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }