{ "id": "116097", "key": "AC-1781", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2013-07-15T21:03:27.000+0000", "created": "2013-06-18T05:32:02.000+0000", "labels": [ "graphics", "imageView", "ios", "iphone5", "scrollableView" ], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:40:40.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": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "We created a Youtube video to explain and show the problem. Please view it at: http://www.youtube.com/watch?v=EvPODMloEe8\r\n\r\nThanks,\r\nKavin\r\n####\r\n[Update more details upon request from Mauro Parra] \r\n=================================\r\n//***Code for Screen that contains ScrollableView\r\nvar self = Ti.UI.createWindow({\r\n\t left: 0,\r\n\t\tnavBarHidden: true,\r\n\t\tbackgroundColor: 'black'\r\n\t});\r\n\t\r\nvar viewsForScrollView = [];\r\nvar view = null;\r\n\r\nvar LoginOnBoarding1Module = require('ui/handheld/Mn_LoginOnBoarding1View');\r\nvar loginOnBoarding1View = new LoginOnBoarding1Module();\r\nviewsForScrollView.push(loginOnBoarding1View);\r\n\t\t\r\nvar LoginOnBoarding2Module = require('ui/handheld/Mn_LoginOnBoarding2View');\r\nvar loginOnBoarding2View = new LoginOnBoarding2Module();\r\nviewsForScrollView.push(loginOnBoarding2View);\r\n\t\t\r\nvar LoginOnBoarding3Module = require('ui/handheld/Mn_LoginOnBoarding3View');\r\nvar loginOnBoarding3View = new LoginOnBoarding3Module();\r\nviewsForScrollView.push(loginOnBoarding3View);\r\n\t\t\r\nvar LoginOnBoarding4Module = require('ui/handheld/Mn_LoginOnBoarding4View');\r\nvar loginOnBoarding4View = new LoginOnBoarding4Module();\r\nviewsForScrollView.push(loginOnBoarding4View);\r\n\t\r\nvar LoginOnBoarding5Module = require('ui/handheld/Mn_LoginOnBoarding5View');\r\nvar loginOnBoarding5View = new LoginOnBoarding5Module();\r\nviewsForScrollView.push(loginOnBoarding5View);\r\n\t\r\nvar scrollView = Titanium.UI.createScrollableView({\r\n\t\tviews:viewsForScrollView,\r\n\t\tleft: 0,\r\n\t\ttop: 0,\r\n\t\twidth: '100%',\r\n\t\theight: '100%',\r\n\t\tshowPagingControl:false,\r\n\t\tcurrentPage:0,\r\n\t\tdisableBounce: true,\r\n\t\tzIndex: 0,\r\n\t});\r\n\t\r\nself.add(scrollView);\r\n=================================\r\n//***Code for View from one of the LoginOnBoardingXModule();\r\n//this is from LoginOnBoarding1Module, but other modules also have the same code format\r\n\r\nLoginOnBoarding1View = function() {\r\n\t\r\nvar iphone5Flag = false;\r\nif(Ti.Platform.displayCaps.platformHeight === 568) { //iphone 5\r\n\tiphone5Flag = true;\r\n}\t\r\n\r\n//create component instance\r\nvar self = Ti.UI.createImageView({\r\n\tleft: 0, \r\n\ttop: 0,\r\n\twidth: '100%',\r\n\timage: 'images/onboarding-1.png',\r\n\tzIndex: 0,\r\n});\r\n\t\r\nvar firstline1YPos = 275;\r\nvar firstline2YPos = 272;\r\nvar descriptionYPos = 315;\r\nif(iphone5Flag) {\r\n\tfirstline1YPos = 305;\r\n\tfirstline2YPos = 302;\r\n\tdescriptionYPos = 345;\r\n}\t\r\n\t\r\n\r\nvar firstline1 = Ti.UI.createLabel({\r\n\ttext: L('Welcome to'),\r\n\tleft: 44,\r\n\ttop: firstline1YPos,\r\n\tcolor: '#87878f',\r\n\tfont:{fontWeight:'bold',fontSize:20},\r\n\tzIndex:3,\r\n});\r\nself.add(firstline1);\r\n\t\r\n//7e828c noonswoon\r\nvar firstline2 = Ti.UI.createLabel({\r\n\ttext: 'noonswoon',\r\n\tleft: 165,\r\n\ttop: firstline2YPos,\r\n\tcolor: '#7e828c',\r\n\tfont:{fontWeight:'bold',fontSize:24},\r\n\tzIndex:3,\r\n});\r\nself.add(firstline2);\r\n\t\t\r\nvar description2 = Ti.UI.createLabel({\r\n text: L('Love is in the App'),\r\n\tcenter: {x:'50%', y:descriptionYPos}, //x:67\r\n\tcolor: '#4e5866',\r\n\tfont:{fontWeight:'bold',fontSize:20},\r\n\tzIndex:3,\r\n});\r\nself.add(description2);\r\n\t\r\nreturn self;\r\n};\r\n\r\nmodule.exports = LoginOnBoarding1View;\r\n", "attachment": [ { "id": "40198", "filename": "ns-1-fit.PNG", "author": { "name": "titaniummick", "key": "titaniummick", "displayName": "Mickey Asavanant", "active": true, "timeZone": "Asia/Jakarta" }, "created": "2013-06-25T05:47:27.000+0000", "size": 411454, "mimeType": "image/png" }, { "id": "40199", "filename": "ns-1-shrink.PNG", "author": { "name": "titaniummick", "key": "titaniummick", "displayName": "Mickey Asavanant", "active": true, "timeZone": "Asia/Jakarta" }, "created": "2013-06-25T05:47:27.000+0000", "size": 384623, "mimeType": "image/png" }, { "id": "40200", "filename": "ns-2-fit.PNG", "author": { "name": "titaniummick", "key": "titaniummick", "displayName": "Mickey Asavanant", "active": true, "timeZone": "Asia/Jakarta" }, "created": "2013-06-25T05:47:27.000+0000", "size": 544058, "mimeType": "image/png" }, { "id": "40201", "filename": "ns-2-shrink.PNG", "author": { "name": "titaniummick", "key": "titaniummick", "displayName": "Mickey Asavanant", "active": true, "timeZone": "Asia/Jakarta" }, "created": "2013-06-25T05:47:27.000+0000", "size": 489426, "mimeType": "image/png" }, { "id": "40202", "filename": "ns-3-fit.PNG", "author": { "name": "titaniummick", "key": "titaniummick", "displayName": "Mickey Asavanant", "active": true, "timeZone": "Asia/Jakarta" }, "created": "2013-06-25T05:47:27.000+0000", "size": 524756, "mimeType": "image/png" }, { "id": "40203", "filename": "ns-3-shrink.PNG", "author": { "name": "titaniummick", "key": "titaniummick", "displayName": "Mickey Asavanant", "active": true, "timeZone": "Asia/Jakarta" }, "created": "2013-06-25T05:47:27.000+0000", "size": 470823, "mimeType": "image/png" }, { "id": "40204", "filename": "ns-4-fit.PNG", "author": { "name": "titaniummick", "key": "titaniummick", "displayName": "Mickey Asavanant", "active": true, "timeZone": "Asia/Jakarta" }, "created": "2013-06-25T05:47:27.000+0000", "size": 437936, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: Image Assets (.png, @2x.png, -568h@2x.png) of ImageViews in ScrollableView sometime displayed incorrectly", "creator": { "name": "titaniummick", "key": "titaniummick", "displayName": "Mickey Asavanant", "active": true, "timeZone": "Asia/Jakarta" }, "subtasks": [], "reporter": { "name": "titaniummick", "key": "titaniummick", "displayName": "Mickey Asavanant", "active": true, "timeZone": "Asia/Jakarta" }, "environment": "iPhone/iPad (4,4S, 5 iOS 4.3) with Titanium SDK 3.0.2, 3.1.0, 3.1.1", "comment": { "comments": [ { "id": "261441", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Hello Mickey Asavanant,\n\nThanks for bring this up to our attention. Can you please provide the graphic assets for:\n\n- images/onboarding-1.png\n- images/onboarding-1@2x.png\n- images/onboarding-1-568h@2x.png\n\nBeing said, we could take them to replicate your working code to demonstrate the issue.", "updateAuthor": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-07-11T15:54:21.000+0000", "updated": "2013-07-11T15:54:21.000+0000" }, { "id": "284344", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "We tested this issue with the sample test case and were not able to reproduce with Titanium SDK 3.1.3.GA. Please install the latest SDK and test your application. If you continue to get error, please send us a simple test case with steps to reproduce. Test code link: https://gist.github.com/csemrm/7959066\r\n\r\nh5. Testing Environment:\r\nOSX Version 10.8.5 \r\nTi CLI 3.1.2, 3.2.0-cr3\r\nTitanium SDK: 3.1.3.GA \r\nIOS Simulator 7.0\r\n", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-14T13:31:18.000+0000", "updated": "2013-12-16T18:25:24.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }