{ "id": "112991", "key": "ALOY-625", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "11113", "key": "ALOY", "name": "Alloy", "projectCategory": { "id": "10400", "description": "Tools for developing applications", "name": "Tooling" } }, "fixVersions": [ { "id": "15402", "description": "Alloy 1.2.0, concurrent with SDK 3.1.0", "name": "Alloy 1.2.0", "archived": false, "released": true, "releaseDate": "2013-08-15" }, { "id": "15476", "description": "Alloy 1.1.1", "name": "Alloy 1.1.1", "archived": false, "released": true, "releaseDate": "2013-04-19" }, { "id": "15405", "description": "2013 Sprint 08", "name": "2013 Sprint 08", "archived": true, "released": true, "releaseDate": "2013-04-22" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-04-17T20:33:36.000+0000", "created": "2013-04-17T13:39:50.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "15271", "description": "Alloy 1.1.0, concurrent with SDK 3.1.0", "name": "Alloy 1.1.0", "archived": false, "released": true, "releaseDate": "2013-04-16" } ], "issuelinks": [ { "id": "27874", "type": { "id": "10122", "name": "Gantt: start-finish", "inward": "is triggered by", "outward": "is triggering" }, "inwardIssue": { "id": "106803", "key": "ALOY-434", "fields": { "summary": "Styles in platform-specific and theme folders should be merged, not completely overwrite base styles", "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": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-06-21T21:03: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": "12329", "name": "Runtime", "description": "Generic bucket for uncategorized runtime issues" }, { "id": "12326", "name": "XML", "description": "View XML and parsing" } ], "description": "h2. problem\r\n\r\napp.tss files are not being applied to views/controllers that don't have controller-specific styles. For example:\r\n\r\nh3. index.xml\r\n{code:xml}\r\n\r\n\t\r\n\t\t\r\n\t\r\n\r\n{code}\r\n\r\nh3. app.tss\r\n{code:javascript}\r\n\".container\": {\r\n\tbackgroundColor:\"#888\"\r\n}\r\n\r\n\"Label\": {\r\n\twidth: Ti.UI.SIZE,\r\n\theight: Ti.UI.SIZE,\r\n\tcolor: \"#f00\"\r\n} \r\n{code}\r\n\r\nThe above will not apply the app.tss styles to the appropriate components in the index.xml file.\r\n\r\nh2. workaround\r\n\r\nCreating a blank TSS file \"index.tss\" will apply the global style.", "attachment": [], "flagged": false, "summary": "app.tss not being applied to views that don't have controller-specific styles", "creator": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "247997", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Resolved in 1.1.1 and 1.2.0. Added test app for this case: https://github.com/appcelerator/alloy/tree/master/test/apps/basics/global_style", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-17T20:33:36.000+0000", "updated": "2013-04-17T20:33:36.000+0000" }, { "id": "248596", "author": { "name": "ptquang86", "key": "ptquang86", "displayName": "Quang Pham", "active": true, "timeZone": "Asia/Jakarta" }, "body": "popup.xml\r\n\r\n \r\n \r\n\r\n\r\napp.tss\r\n\".btn\": { height: 32, width: 300 }\r\n\r\npopup.tss\r\n\".popup-button\": { width: 135 }\r\n\r\nthe width in popup.tss does not override the width in app.tss", "updateAuthor": { "name": "ptquang86", "key": "ptquang86", "displayName": "Quang Pham", "active": true, "timeZone": "Asia/Jakarta" }, "created": "2013-04-22T09:00:02.000+0000", "updated": "2013-04-22T09:00:38.000+0000" }, { "id": "249283", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~ptquang86] this should be resolved in Alloy 1.1.2 as a result of ALOY-628", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-28T16:02:18.000+0000", "updated": "2013-04-28T16:02:36.000+0000" }, { "id": "249284", "author": { "name": "ptquang86", "key": "ptquang86", "displayName": "Quang Pham", "active": true, "timeZone": "Asia/Jakarta" }, "body": "Thank you Tony. Waiting for Alloy 1.1.2 :)", "updateAuthor": { "name": "ptquang86", "key": "ptquang86", "displayName": "Quang Pham", "active": true, "timeZone": "Asia/Jakarta" }, "created": "2013-04-28T16:06:30.000+0000", "updated": "2013-04-28T16:06:30.000+0000" }, { "id": "249289", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "test app: https://github.com/appcelerator/alloy/tree/master/test/apps/testing/ALOY-625\n\nWhen the app is run, the text represented in the app will indicate how the app should appear for the functional test to pass.", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-28T16:52:27.000+0000", "updated": "2013-04-28T16:52:27.000+0000" }, { "id": "249290", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~ptquang86] if you want to test it early, you can try out the alpha now:\n\n{code}\n[sudo] npm install -g alloy@1.1.2-alpha\n{code}", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-28T16:53:09.000+0000", "updated": "2013-04-28T16:53:09.000+0000" }, { "id": "249695", "author": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Working as expected using the testapp https://github.com/appcelerator/alloy/tree/master/test/apps/testing/ALOY-625\r\n\r\nTested on:\r\nDevice: Samsung Galaxy Note, Android version: 2.3.6\r\nDevice : iPad 2, iOS version: 5.1\r\nAlloy verison: 1.1.2-alpha\r\nSDK: 3.1.1.v20130430164508\r\nCLI version : 3.1.0\r\nOS : MAC OSX 10.7.5\r\nAppcelerator Studio, build: 3.1.0.201304281117\r\nXCode : 4.5.1\r\n", "updateAuthor": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-05-01T11:18:52.000+0000", "updated": "2013-05-01T11:29:51.000+0000" }, { "id": "259051", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified / fixed as also ALOY-625\r\n\r\nRechecked with environment:\r\n\r\nTitanium SDK 3.1.2.v20130619101604\r\nAlloy 1.1.3\r\nAppcelerator Studio 3.1.1.201306131423\r\nNode 0.8.22\r\n\r\nClosing.", "updateAuthor": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-21T21:03:40.000+0000", "updated": "2013-06-21T21:03:40.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }