{ "id": "119986", "key": "TIMOB-15382", "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": "11", "description": "Is not a bug in our product", "name": "Not Our Bug" }, "resolutiondate": "2014-01-28T22:40:35.000+0000", "created": "2013-09-16T07:15:25.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "ios7", "triage" ], "versions": [], "issuelinks": [], "assignee": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-29T16:55:19.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": "the problem is simple, with this configuration : \r\n(Apple iOS 7 SDK, SDK 3.1.3.v20130908095038, GM xCode 5.0, iOS 7 simulator), the thumbImage appears in an incorrect manner (second attached image)\r\n\r\nwith this configuration :\r\n(Apple iOS 7 SDK, SDK 3.1.3.v20130908095038, GM xCode 5.0, iOS 6.1 simulator), the problem there isn't (first attached image)", "attachment": [ { "id": "42700", "filename": "iOS Simulator 6.png", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2013-09-23T14:27:04.000+0000", "size": 5091, "mimeType": "image/png" }, { "id": "42701", "filename": "iOS Simulator 7.png", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2013-09-23T14:27:04.000+0000", "size": 5076, "mimeType": "image/png" }, { "id": "42699", "filename": "iOS Simulator Ssim 6.png", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2013-09-23T14:27:04.000+0000", "size": 14212, "mimeType": "image/png" }, { "id": "42506", "filename": "Schermata 2013-09-16 alle 09.08.48.png", "author": { "name": "nicolomonili", "key": "nicolomonili", "displayName": "nicolomonili", "active": true, "timeZone": "Europe/Rome" }, "created": "2013-09-16T07:15:25.000+0000", "size": 22491, "mimeType": "image/png" }, { "id": "42505", "filename": "Schermata 2013-09-16 alle 09.10.21.png", "author": { "name": "nicolomonili", "key": "nicolomonili", "displayName": "nicolomonili", "active": true, "timeZone": "Europe/Rome" }, "created": "2013-09-16T07:15:25.000+0000", "size": 26017, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS7: slider rendering issue if custom thumbImage set before left/rightTrackImage", "creator": { "name": "nicolomonili", "key": "nicolomonili", "displayName": "nicolomonili", "active": true, "timeZone": "Europe/Rome" }, "subtasks": [], "reporter": { "name": "nicolomonili", "key": "nicolomonili", "displayName": "nicolomonili", "active": true, "timeZone": "Europe/Rome" }, "environment": "Apple iOS 7 SDK , SDK 3.1.3.v20130908095038 , xCode 5.0 GM , iOS 7 simulator", "comment": { "comments": [ { "id": "271326", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Supposedly a known issue, also seen in KitchenSink. Likely an Apple bug. Will try to find the related ticket.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-09-16T18:31:04.000+0000", "updated": "2013-09-16T18:31:04.000+0000" }, { "id": "271739", "author": { "name": "nicolomonili", "key": "nicolomonili", "displayName": "nicolomonili", "active": true, "timeZone": "Europe/Rome" }, "body": "This bug will be fixed today with the release of 3.1.3GA ?", "updateAuthor": { "name": "nicolomonili", "key": "nicolomonili", "displayName": "nicolomonili", "active": true, "timeZone": "Europe/Rome" }, "created": "2013-09-18T14:43:44.000+0000", "updated": "2013-09-18T14:43:44.000+0000" }, { "id": "271743", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~nicolomonili] No. If that were the case, we would have resolved it by now. The current belief is that this is an Apple bug. We are attempting to find the related ticket.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-09-18T15:19:25.000+0000", "updated": "2013-09-18T15:19:25.000+0000" }, { "id": "273294", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hello [~nicolomonili],\r\n\r\nI test you issue. It’s working well for my test code. So, I am going to resolve this issue. If you have still fetching same problem then please re-open with your test code. \r\nThanks\r\n", "updateAuthor": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2013-09-28T04:48:42.000+0000", "updated": "2013-09-28T04:48:42.000+0000" }, { "id": "273321", "author": { "name": "nicolomonili", "key": "nicolomonili", "displayName": "nicolomonili", "active": true, "timeZone": "Europe/Rome" }, "body": "hi Mostafizur Rahman,\n\nI do not know if the problem has been fixed with a new SDK, or if you have closed the ticket because you can not recreate the problem", "updateAuthor": { "name": "nicolomonili", "key": "nicolomonili", "displayName": "nicolomonili", "active": true, "timeZone": "Europe/Rome" }, "created": "2013-09-29T14:07:33.000+0000", "updated": "2013-09-29T14:07:33.000+0000" }, { "id": "273338", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~nicolomonili] It was resolved as \"can't reproduce\"", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-09-30T04:26:10.000+0000", "updated": "2013-09-30T04:26:53.000+0000" }, { "id": "273347", "author": { "name": "nicolomonili", "key": "nicolomonili", "displayName": "nicolomonili", "active": true, "timeZone": "Europe/Rome" }, "body": "I was able to recreate the problem, and figure out what had caused\r\n\r\nThis code shows the problem\r\n\r\n{code}\r\nvar slide1 = Ti.UI.createSlider({\r\n width : 200,\r\n top : 30,\r\n thumbImage : \"slider_new.png\"\r\n});\r\nwin1.add(slide1);\r\n\r\nvar btn = Ti.UI.createButton({\r\n title : \"click\"\r\n});\r\n\r\nwin1.add(btn);\r\n\r\nvar a = false;\r\nbtn.addEventListener('click', function(e) {\r\n \r\n if(a){\r\n slide1.leftTrackImage = \"blu.png\";\r\n slide1.rightTrackImage = \"grigio.png\";\r\n a = false;\r\n }else{\r\n slide1.leftTrackImage = \"arancio.png\";\r\n slide1.rightTrackImage = \"grigio.png\";\r\n a = true;\r\n }\r\n\r\n \r\n});\r\n{code}\r\n\r\nThis code solves the problem\r\n\r\n{code}\r\nvar slide1 = Ti.UI.createSlider({\r\n width : 200,\r\n top : 30,\r\n});\r\nwin1.add(slide1);\r\n\r\nvar btn = Ti.UI.createButton({\r\n title : \"click\"\r\n});\r\n\r\nwin1.add(btn);\r\n\r\nvar a = false;\r\nbtn.addEventListener('click', function(e) {\r\n \r\n if(a){\r\n slide1.leftTrackImage = \"blu.png\";\r\n slide1.rightTrackImage = \"grigio.png\";\r\n slide1.thumbImage = \"slider_new.png\";\r\n a = false;\r\n }else{\r\n slide1.leftTrackImage = \"arancio.png\";\r\n slide1.rightTrackImage = \"grigio.png\";\r\n slide1.thumbImage = \"slider_new.png\";\r\n a = true;\r\n }\r\n\r\n \r\n});\r\n{code}\r\n\r\nbasically the problem is created when you set before the property \"thumbimage\" and then set properties \"lefttrackimage\" / \"righttrackimage\"", "updateAuthor": { "name": "nicolomonili", "key": "nicolomonili", "displayName": "nicolomonili", "active": true, "timeZone": "Europe/Rome" }, "created": "2013-09-30T07:36:59.000+0000", "updated": "2013-09-30T07:37:24.000+0000" }, { "id": "290099", "author": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Looks like this is weird apple bug.\r\n\r\nI was not able to reproduce the issue if I used interface builder to create the UISlider,\r\n But when i created the UISlider programmatically and then changed the left& right track images like we do in Titanium i was able to reproduce the issue. Follow this [Apple thread|https://devforums.apple.com/thread/218267] for more information.\r\n\r\n\r\nMarking ticket as not our bug.", "updateAuthor": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-28T22:40:18.000+0000", "updated": "2014-01-28T22:41:20.000+0000" }, { "id": "416186", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as \"Not Our Bug\".", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-29T16:55:19.000+0000", "updated": "2017-03-29T16:55:19.000+0000" } ], "maxResults": 13, "total": 13, "startAt": 0 } } }