{ "id": "89106", "key": "TIMOB-8508", "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": [], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2017-05-02T21:53:40.000+0000", "created": "2012-03-29T06:23:10.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [ { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" } ], "issuelinks": [], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-05-02T21:53: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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "h4. Problem Description\r\nIf you extend the images sizes in the coverflow component in the KS in the ipad, it will distort on the sides.\r\n\r\nh4. Actual Results\r\nif you grow the size of the images bigger than 330 px, you will get some distorsions on the sides.\r\n\r\nh4. Expected results\r\nthe images looking good. \r\n\r\nh4. Test Case\r\n1. Create new mobile project.\r\n2. Add this code:\r\n{code}\r\nvar win = Titanium.UI.createWindow();\r\n\r\nvar images = [];\r\nfor (var c=0;c<30;c++)\r\n{\r\n\timages[c]='../images/imageview/'+c+'.jpg';\r\n}\r\n\r\n// create coverflow view with images\r\nvar view = Titanium.UI.iOS.createCoverFlowView({\r\n\timages:images,\r\n\tbackgroundColor:'#000'\r\n});\r\n\r\n// click listener - when image is clicked\r\nview.addEventListener('click',function(e)\r\n{\r\n\tTitanium.API.info(\"image clicked: \"+e.index+', selected is '+view.selected);\t\r\n});\r\n\r\n// change listener when active image changes\r\nview.addEventListener('change',function(e)\r\n{\r\n\tTitanium.API.info(\"image changed: \"+e.index+', selected is '+view.selected);\t\r\n});\r\nwin.add(view);\r\n\r\n// change button to dynamically change the image\r\nvar change = Titanium.UI.createButton({\r\n\ttitle:'Change Image',\r\n\tstyle:Titanium.UI.iPhone.SystemButtonStyle.BORDERED\r\n});\r\nchange.addEventListener('click',function()\r\n{\r\n\tTitanium.API.info(\"selected is = \"+view.selected);\r\n\tview.setImage(view.selected,'../images/imageview/28.jpg');\r\n});\r\n\r\n// move scroll view left\r\nvar left = Titanium.UI.createButton({\r\n\timage:'../images/icon_arrow_left.png'\r\n});\r\nleft.addEventListener('click', function(e)\r\n{\r\n\tvar i = view.selected - 1;\r\n\tif (i < 0) \r\n\t{\r\n\t\ti = 0;\r\n\t}\r\n\tview.selected = i;\r\n});\r\n\r\n// move scroll view right\r\nvar right = Titanium.UI.createButton({\r\n\timage:'../images/icon_arrow_right.png'\r\n});\r\nright.addEventListener('click', function(e)\r\n{a\r\n\tvar i = view.selected + 1;\r\n\tif (i >= images.length) \r\n\t{\r\n\t\ti = images.length - 1;\r\n\t}\r\n\tview.selected = i;\r\n});\r\nvar flexSpace = Titanium.UI.createButton({\r\n\tsystemButton:Titanium.UI.iPhone.SystemButton.FLEXIBLE_SPACE\r\n});\r\nwin.setToolbar([flexSpace,left,change,right,flexSpace]);\r\nwin.open();\r\n{code}\r\n\r\n\r\nh4. Extra info \r\nThe coverflow seems to be complete distorted on the ipad. Same code on iPhone with same preferences works well", "attachment": [ { "id": "26719", "filename": "Bildschirmfoto 2012-03-28 um 20.54.41.png", "author": { "name": "benutzername", "key": "benutzername", "displayName": "Sebastian Klaus", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-03-30T02:55:52.000+0000", "size": 183643, "mimeType": "image/png" }, { "id": "26685", "filename": "iOS Simulator Bildschirmfoto 28.03.2012 20.36.01.png", "author": { "name": "benutzername", "key": "benutzername", "displayName": "Sebastian Klaus", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-03-29T06:23:10.000+0000", "size": 815796, "mimeType": "image/png" }, { "id": "26740", "filename": "iOS Simulator Bildschirmfoto 30.03.2012 23.19.15.png", "author": { "name": "benutzername", "key": "benutzername", "displayName": "Sebastian Klaus", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-03-30T13:21:48.000+0000", "size": 479273, "mimeType": "image/png" }, { "id": "26753", "filename": "iOS Simulator Bildschirmfoto 31.03.2012 09.36.59.png", "author": { "name": "benutzername", "key": "benutzername", "displayName": "Sebastian Klaus", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-03-30T23:39:29.000+0000", "size": 685966, "mimeType": "image/png" }, { "id": "26741", "filename": "Screen Shot 2012-03-30 at 2.27.07 PM.png", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2012-03-30T13:27:52.000+0000", "size": 81355, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: Distorsion in the sides of the Coverflow component when using big sized files", "creator": { "name": "benutzername", "key": "benutzername", "displayName": "Sebastian Klaus", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "benutzername", "key": "benutzername", "displayName": "Sebastian Klaus", "active": true, "timeZone": "Europe/Berlin" }, "environment": "Titanium Mobile SDK 2.0.0, iOS 5", "comment": { "comments": [ { "id": "189175", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "Do you have an example that shows this distorsion? Are those ipad-sized images? \r\n\r\nBest,\r\n\r\nMauro ", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2012-03-29T11:57:16.000+0000", "updated": "2012-03-29T11:57:16.000+0000" }, { "id": "189248", "author": { "name": "benutzername", "key": "benutzername", "displayName": "Sebastian Klaus", "active": true, "timeZone": "Europe/Berlin" }, "body": "as seen on iphone the coverflowview is correct. ipad isn't", "updateAuthor": { "name": "benutzername", "key": "benutzername", "displayName": "Sebastian Klaus", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-03-30T02:55:53.000+0000", "updated": "2012-03-30T02:55:53.000+0000" }, { "id": "189322", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "Hello Sebastian, \r\n\r\nI tried this coverflow test in KitchenSink with local files, and it's working fine with today's 2.0. Can you please try that example and let me know your results?\r\n\r\nBest,\r\nMauro ", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2012-03-30T12:58:21.000+0000", "updated": "2012-03-30T12:58:21.000+0000" }, { "id": "189325", "author": { "name": "benutzername", "key": "benutzername", "displayName": "Sebastian Klaus", "active": true, "timeZone": "Europe/Berlin" }, "body": "Hey Mauro,\r\n\r\nI tried. The result is, that I had to reduce the with and height to 300. On that size, the coverflow is acceptable as you can see on the newest screenshot. But I would like to have a size of 500x500 for a proper view for the iPad.\r\n\r\nOn the iPhone the size seems to be done automatically to the correct dimensions.\r\n\r\nDo you have a screenshot of your iPad test?", "updateAuthor": { "name": "benutzername", "key": "benutzername", "displayName": "Sebastian Klaus", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-03-30T13:21:48.000+0000", "updated": "2012-03-30T13:21:48.000+0000" }, { "id": "189377", "author": { "name": "benutzername", "key": "benutzername", "displayName": "Sebastian Klaus", "active": true, "timeZone": "Europe/Berlin" }, "body": "I used KitchenSink example to. And the max height before it is distorted will be 330x330", "updateAuthor": { "name": "benutzername", "key": "benutzername", "displayName": "Sebastian Klaus", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-03-30T23:38:04.000+0000", "updated": "2012-03-30T23:38:04.000+0000" }, { "id": "189378", "author": { "name": "benutzername", "key": "benutzername", "displayName": "Sebastian Klaus", "active": true, "timeZone": "Europe/Berlin" }, "body": "I thought, that the images, which not be selectet in the middle will be smaller than the selected on. but at one size, it turns and the images got bigger then the middle one", "updateAuthor": { "name": "benutzername", "key": "benutzername", "displayName": "Sebastian Klaus", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-03-30T23:41:11.000+0000", "updated": "2012-03-30T23:41:11.000+0000" }, { "id": "418883", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Resolving ticket as Invalid as there is now a new version of Kitchen Sink available and we no longer support the version which relates to this ticket.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-05-02T21:53:40.000+0000", "updated": "2017-05-02T21:53:40.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }