{ "id": "85400", "key": "TIMOB-7366", "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": "12095", "description": "", "name": "Sprint 2012-03", "archived": true, "released": true, "releaseDate": "2012-02-12" }, { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" }, { "id": "13070", "description": "Release 1.8 Service Pack 2", "name": "Release 1.8.2", "archived": true, "released": true, "releaseDate": "2012-02-29" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-02-14T23:29:03.000+0000", "created": "2012-01-24T16:27:53.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "module_emaildialog", "qe-ios012312", "qe-testadded" ], "versions": [ { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" }, { "id": "12677", "description": "Release 1.8 Service Pack 1", "name": "Release 1.8.1", "archived": true, "released": true, "releaseDate": "2012-01-31" } ], "issuelinks": [], "assignee": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2012-02-14T23:29:03.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": "Titanium.UI.EmailDialog attachment icon does not display in iPad 5.0. Screenshots Attached.\r\nIcons display correctly in all other iOS configurations.\r\n\r\nSteps to Reproduce:\r\n\r\n1. Run code.\r\n\r\n{code:title=app.js}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor:'#FFFFFF',\r\n\torientationModes:[Ti.UI.PORTRAIT,Titanium.UI.LANDSCAPE_LEFT,Titanium.UI.LANDSCAPE_RIGHT]\r\n});\r\n\r\nvar button = Ti.UI.createButton({\r\n\ttitle: 'ScreenShot!!'\r\n});\r\n\r\nbutton.addEventListener('click',function(){\r\n\tTitanium.Media.takeScreenshot(function(event){\r\n\t\tvar screenShot = event.media;\r\n\t\tvar img = Titanium.UI.createImageView({ image: screenShot });\r\n\t\tTi.API.info('saving the image into photogallery');\r\n\t\tTitanium.Media.saveToPhotoGallery(img.image);\r\n\t\tTi.API.info('saving the blob into photogallery');\r\n\t\tTitanium.Media.saveToPhotoGallery(img.toImage());\r\n\t\tTi.API.info('launch the email client!!');\r\n\t\tvar emailDialog = Titanium.UI.createEmailDialog()\r\n\t\temailDialog.subject = \"Colors of...\";\r\n\t\temailDialog.messageBody = 'Lorem ipsum...';\r\n\t\temailDialog.addAttachment(img.toImage());\r\n\t\temailDialog.open();\r\n\t\twin.add(img);\r\n\t});\r\n});\r\n\r\nwin.add(button);\r\nwin.open();\r\n{code}\r\n\r\n2. Press button to take screenshot.\r\n\r\n. . . App takes screenshot, saves it, and adds it to an email attachment.\r\n\r\nExpected Result:\r\n\r\nEmail attachement icon should be visible.\r\n\r\nActual Result:\r\n\r\nEmail attachment icon does not show.", "attachment": [ { "id": "25309", "filename": "ipad 4.3 correct.png", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-24T16:27:53.000+0000", "size": 31881, "mimeType": "image/png" }, { "id": "25310", "filename": "ipad 5.0 missing attachment icon.png", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-24T16:27:53.000+0000", "size": 30913, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: iPad 5.0: Titanium.UI.EmailDialog attachment icon does not display", "creator": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "SDK: 1.8.0.1.v20120119133134, 1.8.1.v20120123161633\r\nStudio: 1.0.8.201201210622\r\nOS: Lion\r\nDevices Tested: iPhone 5.0 Simulator, iPad 4.3.5, iPhone 4.3 Simulator, iPad 5.0.1, iPad 5.0 Simulator\r\nDevices Affected: iPad 5.0.1, iPad 5.0 Simulator", "comment": { "comments": [ { "id": "182037", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as Fixed.\r\nSDK: 1.9.0.v20120203163134\r\nStudio: 1.0.8.201201262211\r\nOS: Lion\r\nDevices Tested: iPhone Simulator 5.0, iPad Simulator 5.0/4.3, iPad 5.0.1", "updateAuthor": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-02-06T10:03:54.000+0000", "updated": "2012-02-06T10:03:54.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }