{ "id": "159247", "key": "TIMOB-23160", "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": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2016-04-07T03:56:21.000+0000", "created": "2016-04-01T05:16:28.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "appcelerator", "look1", "sdk-5.2.0", "windows", "windows-8", "windowsphone" ], "versions": [ { "id": "17684", "name": "Release 5.2.1", "archived": false, "released": true, "releaseDate": "2016-03-25" } ], "issuelinks": [], "assignee": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2018-08-02T22:20:02.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": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "I am trying to implement an Activity Indicator for our App. The code I am running is as follows :\r\n\r\n{code:java}\r\nvar indicatorWindow = Ti.UI.createWindow({\r\n opacity : 1,\r\n backgroundColor : 'transparent'\r\n});\r\n\r\nvar activityIndicator = Ti.UI.createActivityIndicator({\r\n message: 'Loading...'\r\n});\r\n\r\nindicatorWindow.add(activityIndicator);\r\nindicatorWindow.addEventListener('indicatorShow', function(e) {\r\n indicatorWindow.open();\r\n activityIndicator.show();\r\n});\r\n\r\nindicatorWindow.addEventListener('indicatorHide', function(e) {\r\n activityIndicator.hide();\r\n indicatorWindow.close();\r\n});\r\n{code}\r\n\r\nAnd then I am calling the following events from another page :\r\n\r\n{code:java}\r\nIndicatorWindow.fireEvent('indicatorShow');\r\nSome task here...\r\nIndicatorWindow.fireEvent('indicatorHide');\r\n{code}\r\n\r\nThe Activity windows opens up with a Black background instead of a transparent one (see screenshot attached). The same code works on Android, iOS and Web though.", "attachment": [ { "id": "58782", "filename": "ActivityScreenshot.png", "author": { "name": "ibinaydas", "key": "ibinaydas", "displayName": "Binay Das", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-04-01T05:15:32.000+0000", "size": 6929, "mimeType": "image/png" }, { "id": "58820", "filename": "iPhone_6s_Plus_-_iPhone_6s_Plus___iOS_9_2__13C75_.png", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-04-07T03:58:29.000+0000", "size": 15268, "mimeType": "image/png" } ], "flagged": false, "summary": "Windows: Activity Window opens with black background", "creator": { "name": "ibinaydas", "key": "ibinaydas", "displayName": "Binay Das", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ibinaydas", "key": "ibinaydas", "displayName": "Binay Das", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Intel i7-2760QM 2.4Ghz (64Bit)\r\nWindows 8.1 Pro\r\n8GB RAM\r\nVisual Studio Enterprise 2015\r\nAppcelerator Studio 4.5 (SDK 5.2.0)\r\nEmulator : Windows 8.1 720P 4.7 inch", "closedSprints": [ { "id": 1058, "state": "closed", "name": "2018 Sprint 16 SDK", "startDate": "2018-07-29T22:26:06.486Z", "endDate": "2018-08-12T22:26:00.000Z", "completeDate": "2018-08-13T17:38:16.757Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "381269", "author": { "name": "ibinaydas", "key": "ibinaydas", "displayName": "Binay Das", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The issue is for Windows (Windows Phone on SDK 5.2.0). Not able to find any field to update this info so I am putting it as a comment :)", "updateAuthor": { "name": "ibinaydas", "key": "ibinaydas", "displayName": "Binay Das", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-04-01T05:18:48.000+0000", "updated": "2016-04-01T05:18:48.000+0000" }, { "id": "382025", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Tested on Windows, I was able to reproduce this. But on iOS, it shows black background too. So I think it's not a issue on Windows but it's a platform-specific behavior. I'm actually curious about how it should work, what kind of element should app show when \"window is transparent\"? I personally don't think it should show splash screen when Window is transparent.\r\n\r\nTest code:\r\n{code}\r\nvar win1 = Titanium.UI.createWindow({ \r\n title:'Tab 1',\r\n backgroundColor : 'transparent'\r\n});\r\n\r\nvar tab1 = Titanium.UI.createTab({ \r\n title:'Tab 1',\r\n window:win1\r\n});\r\n\r\nvar label1 = Titanium.UI.createLabel({\r\n\tcolor:'#999',\r\n\ttext:'I am Window 1',\r\n\tfont:{fontSize:20,fontFamily:'Helvetica Neue'},\r\n\ttextAlign:'center',\r\n\twidth:'auto'\r\n});\r\n\r\nwin1.add(label1);\r\nwin1.open();\r\n{code}\r\n!iPhone_6s_Plus_-_iPhone_6s_Plus___iOS_9_2__13C75_.png|thumbnail!", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-04-07T03:56:03.000+0000", "updated": "2016-04-07T03:58:51.000+0000" }, { "id": "439721", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing old \"Won't fix\" tickets. If you disagree, please reopen.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-08-02T22:20:02.000+0000", "updated": "2018-08-02T22:20:02.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }