{ "id": "120603", "key": "TIMOB-15375", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "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": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2014-07-18T15:49:03.000+0000", "created": "2013-09-30T02:14:01.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "backgroundSelectedColor", "button", "ios" ], "versions": [], "issuelinks": [ { "id": "39157", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "120604", "key": "TIMOB-15374", "fields": { "summary": "iOS7: Add disabledColor property", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-22T17:50:22.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": "New backgroundSelectedColor property for iOS button. Workaround made by \"click\" listener and some function for changing color doesn't work properly if user hold finger on the button or if user uses more fingers etc. It is hard to fix all these options. For good UX is backgroundSelectedColor necessary.", "attachment": [], "flagged": false, "summary": "iOS: Button backgroundSelectedColor/backgroundDisabledColor property", "creator": { "name": "sko", "key": "sko", "displayName": "Matej", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "environment": null, "comment": { "comments": [ { "id": "276349", "author": { "name": "ygbr", "key": "ygbr", "displayName": "Ygor Lemos", "active": true, "timeZone": "America/Sao_Paulo" }, "body": "This should be on 3.2.0 as iOS7 basically flattened almost everything, many buttons have flat color backgrounds, that said, with current Ti versions it is impossible to give the user accurate button pressing feedback (unless using a lot of eventlisteners everywhere).\r\n\r\nOn Android this works perfectly and for parity this should exist for iOS as well.\r\n\r\nOn Interface Builder you can configure backgroundColor, backgroundImage and text color (selectedColor) for all those button states: Default, Highlighted, Selected and Disabled.\r\n\r\nSo basically,\r\n\r\nselectedColor,\r\nbackgroundSelectedColor,\r\nbackgroundSelectedImage,\r\nbackgroundFocusedColor,\r\nbackgroundFocusedImage,\r\nbackgroundDisabledColor,\r\nbackgroundDisabledImage\r\n\r\nshould all be mapped to work under iOS as this is possible with the native SDK without using events, simply by setting the color / images on Interface Builder.\r\n\r\nThis is related to [#TIMOB-15374]", "updateAuthor": { "name": "ygbr", "key": "ygbr", "displayName": "Ygor Lemos", "active": true, "timeZone": "America/Sao_Paulo" }, "created": "2013-10-23T15:01:29.000+0000", "updated": "2013-10-23T15:01:29.000+0000" }, { "id": "314805", "author": { "name": "gcarignano", "key": "gcarignano", "displayName": "Gabriel carignano", "active": true, "timeZone": "America/Argentina/Buenos_Aires" }, "updateAuthor": { "name": "gcarignano", "key": "gcarignano", "displayName": "Gabriel carignano", "active": true, "timeZone": "America/Argentina/Buenos_Aires" }, "created": "2014-07-18T15:43:34.000+0000", "updated": "2014-07-18T15:43:34.000+0000" }, { "id": "314807", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The reason is buried in the comments on TIMOB-15374:\r\n\r\n\"The issue is that AFAIK, backgroundSelectedColor is not natively available on iOS. Hacking around this for parity's sake can lead to a very fragile SDK. backgroundDisabledColor will not supported probably for same reason as backgroundSelectedColor (Properties are not available natively on iOS)\"\r\n\r\nMarking as Won't Fix. There are hacks in the linked tickets if people wish to try and modify this natively.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-07-18T15:48:41.000+0000", "updated": "2014-07-18T15:48:41.000+0000" }, { "id": "314811", "author": { "name": "gcarignano", "key": "gcarignano", "displayName": "Gabriel carignano", "active": true, "timeZone": "America/Argentina/Buenos_Aires" }, "body": "Gotcha!! thanks man, will try to find a solution around those hacks and if I come with any progress I'll share it!", "updateAuthor": { "name": "gcarignano", "key": "gcarignano", "displayName": "Gabriel carignano", "active": true, "timeZone": "America/Argentina/Buenos_Aires" }, "created": "2014-07-18T15:53:55.000+0000", "updated": "2014-07-18T15:53:55.000+0000" }, { "id": "414811", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as the issue will not fix and with reference to the above comments. ", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-22T17:50:22.000+0000", "updated": "2017-03-22T17:50:22.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }