{ "id": "125497", "key": "TIMOB-16329", "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": "15972", "description": "Release 3.4.0", "name": "Release 3.4.0", "archived": false, "released": true, "releaseDate": "2014-09-28" } ], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2014-09-14T22:43:36.000+0000", "created": "2014-01-28T11:49:44.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "qe-3.2.1" ], "versions": [ { "id": "15856", "description": "Release 3.2.1", "name": "Release 3.2.1", "archived": false, "released": true, "releaseDate": "2014-02-10" } ], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-03T21:43:26.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": "High Resolution image (dog@2x~iphone.jpg) is not visible on iPad since the format of image is wrong.\r\n\r\nSteps to reproduce:\r\n1.Install and Run KS>BaseUI>Views>Hi-Res Image 2\r\n\r\nExpected Result:\r\n1.High Resolution image of dog must be visible.\r\n\r\nActual Result:\r\n1.No image is viewed.\r\n\r\n\r\nNote: Issue is due to wrong format of high resolution image(dog@2x~iphone.jpg) Think it must be dog@2x.jpg", "attachment": [ { "id": "51227", "filename": "iOS7.PNG", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2014-09-12T23:25:04.000+0000", "size": 186272, "mimeType": "image/png" }, { "id": "51228", "filename": "iOS8.PNG", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2014-09-12T23:25:04.000+0000", "size": 7230737, "mimeType": "image/png" } ], "flagged": false, "summary": "Kitchen Sink: High Resolution image is not visible on iPad", "creator": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Test Environment:\r\n\r\nAppc Studio:3.2.1.201401241158\r\nSdk:3.2.1.v20140124163734\r\nalloy:1.3.1-beta4\t\r\ntitanium:3.2.1-beta3\r\nacs:1.0.12\r\ntitanium-code-processor:1.1.0\r\nOsx: Maverick 10.9\r\nXcode:5.0.2\r\nDevice:Iphone5c(v7.0.4),Ipod Touch3(v6.1.3),iPad Air(v7.0.4)", "comment": { "comments": [ { "id": "322998", "author": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This issue exist with 3.2.1 but can't reproduce with 3.4.0\r\niOS 7.1 \r\nTiSDK 3.4.0 \r\nAppcelerator Studio, build: 3.3.0.201407111535 \r\nTitanium Command-Line Interface, CLI version 3.3.0,", "updateAuthor": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-11T05:45:31.000+0000", "updated": "2014-09-11T05:45:31.000+0000" }, { "id": "323463", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Issue still exists on:\r\n\r\nMac OSX 10.9.4\r\nAppcelerator Studio, build: 3.4.0.201409112242\r\nTitanium SDK build: 3.4.0.v20140912145715\r\nTitanium CLI, build: 3.4.0-rc2\r\nAlloy: 1.5.0-beta2\r\nXcode6 GM Seed\r\niPhone Device iPad 4 (8.0 GM Seed), iPad 3 (7.0.6)\r\n\r\nOn iOS8 the Hi-Res Image 2 displays the image, however on iOS 7.0.6 the image is not displayed. This is shown in the attached screenshots.\r\n\r\n\r\nh5.How to fix\r\nIf the image is renamed to dog@2x.jpg then it displays fine.", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2014-09-12T23:24:11.000+0000", "updated": "2014-09-13T00:02:03.000+0000" }, { "id": "323524", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Essentially, this is the way we create a local image before we load it into the ImageView\r\n{code}\r\nUIImage* image = [UIImage imageWithContentsOfFile: ...some_path... ];\r\n{code}\r\nAt this point, running on Xcode 6 GM, if the app is installed in an iPad running iOS 8, the system will try to figure out what the name of the file really is. For example: \"dog.png\". If that does not exist, then it looks for \"dog@2x.png\" then for \"dog@2x~iphone.png\", and so on. What is actually going behind the scenes is unknown since it's part of the UIKit and the code is not open source.\r\nRunning the same exact code with Xcode 6 GM and iPad running on iOS7, this logic breaks, and the UIImage* returns null.\r\nI'm looking into this, but it looks like an Apple bug since the same code works for iOS 8 and not for iOS 7. Not sure if the bug is in iOS 7 or iOS 8 (since the file has \"~iphone\" in it and not \"~ipad\")", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-09-13T23:01:19.000+0000", "updated": "2014-09-13T23:01:19.000+0000" }, { "id": "323544", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "The image, in order to be shown on the iPad, cannot have the \"~iphone\" in the name. \"~iphone\" is used for iPhone specific images while \"~ipad\" is for iPad. The reason it works in iOS 8, it must be a bug internally. \r\n\r\nThis ticket is invalid, rename the image to \"~ipad\" or simply remove \"~ipad\" from the name. Also, this is on Kitchen Sink, and this example/test was created for iPhone.", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-09-14T22:43:36.000+0000", "updated": "2014-09-14T22:43:36.000+0000" }, { "id": "323703", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "[~penrique] I feel that this bug is valid, however it should be logged against KitchenSink because the issue is due to a incorrectly named file. Should I change the component to KitchenSink?", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2014-09-15T17:28:06.000+0000", "updated": "2014-09-15T17:28:06.000+0000" }, { "id": "408938", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~eharris] We are cleaning up JIRA. Although KS is now defunct, if you feel there is work to be done here, please reopen or write a new ticket.\r\n", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-03-03T21:42:59.000+0000", "updated": "2017-03-03T21:42:59.000+0000" }, { "id": "408939", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as invalid.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-03-03T21:43:26.000+0000", "updated": "2017-03-03T21:43:26.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }