{ "id": "155893", "key": "AC-3400", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2016-03-25T19:02:22.000+0000", "created": "2016-03-22T14:23:55.000+0000", "labels": [ "visible", "windows8.1", "windows_phone" ], "versions": [ { "id": "17038", "name": "Appcelerator Studio 4.5.0", "archived": false, "released": false } ], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-25T19:02: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": "14544", "name": "Alloy", "description": "Please enter tickets related to the Alloy here." } ], "description": "I want to hide my button when page opens, but it is not working for Windows phone 8.1.\r\nI tried \r\n$.button.visible = false; and $.button.hide(); but nothing works.\r\nPl help.\r\n\r\n", "attachment": [], "flagged": false, "summary": "Visible = false propert not working on Windows Phone", "creator": { "name": "paramsb", "key": "paramsb", "displayName": "Parmeet Singh", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "paramsb", "key": "paramsb", "displayName": "Parmeet Singh", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "SDK 5.2.0.GA\r\nOS : Windows phone 8.1", "comment": { "comments": [ { "id": "380490", "author": { "name": "jnaher", "key": "jnaher", "displayName": "Jebun Naher", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello,\r\n\r\nI have tested a classic code and tried it on alloy as well. Visible property for button is working for both alloy and classic on my end.\r\n\r\n*Testing Environment:*\r\n{code}\r\nAppcelerator Command-Line Interface, version 5.2.0\r\nCopyright (c) 2014-2016, Appcelerator, Inc. All Rights Reserved.\r\nOperating System\r\n Name = Microsoft Windows 8.1 Enterprise\r\n Version = 6.3.9600\r\n Architecture = 32bit\r\n CPUs = 4\r\n Memory = 3.9GB\r\nNode.js\r\n Node.js Version = 0.12.7\r\n npm Version = 2.11.3\r\nAppcelerator CLI\r\n Installer = 4.2.3\r\n Core Package = 5.2.0\r\nTitanium CLI\r\n CLI Version = 5.0.6\r\n node-appc Version = 0.2.31\r\nWindows Phone: 8.1\r\nSDK = 5.4.0.v20160307212310, 6.0.0.v20160206012308, 5.1.2GA, 5.2.0GA\r\n{code}\r\n\r\n*Test Case:*\r\n*Classic*\r\napp.js\r\n{code}\r\n\r\n\r\n\r\nvar win = Ti.UI.createWindow({\r\n\r\n\r\n backgroundColor : 'white'\r\n\r\n\r\n});\r\n\r\n \r\n\r\n\r\nvar button = Titanium.UI.createButton({\r\n\r\n\r\n title : 'Hello',\r\n\r\n\r\n top : 10,\r\n\r\n\r\n width : 100,\r\n\r\n\r\n height : 50\r\n\r\n\r\n});\r\n\r\n\r\nbutton.addEventListener('click', function(e) {\r\n\r\n\r\n Titanium.API.info(\"You clicked the button\");\r\n\r\n\r\n button.visible = false;\r\n\r\n\r\n});\r\n\r\n \r\n\r\n\r\nwin.add(button);\r\n\r\n \r\n\r\n\r\nwin.open(); \r\n{code}\r\n*Alloy*\r\nindex.xml\r\n{code}\r\n\r\n \r\n \r\n