{ "id": "170744", "key": "AC-5498", "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": "11", "description": "Is not a bug in our product", "name": "Not Our Bug" }, "resolutiondate": "2018-01-09T14:10:59.000+0000", "created": "2018-01-08T14:36:20.000+0000", "labels": [ "IOS" ], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2018-01-09T14:10:59.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "When i use var Social = require('dk.napp.social');\r\n\r\nSocial.activityView({\r\n text: 'Message'\r\n});\r\n\r\nSocial.framework Titanium Mobile module\r\n\r\nAnd then i cancel, the “focus” listener stops everywhere in the app.", "attachment": [], "flagged": false, "summary": "Social Framework", "creator": { "name": "andreas.pingas", "key": "andreas.pingas", "displayName": "Andreas Pingas", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "andreas.pingas", "key": "andreas.pingas", "displayName": "Andreas Pingas", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Studio 5.0.0.GA, Appcelerator CLI 7.0.1.GA, Titanium SDK 7.0.1.GA", "comment": { "comments": [ { "id": "432862", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, Can you elaborate your issue a little bit? Perhaps provide a sample test code/app, and a guide how to test the issue? Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2018-01-08T18:24:37.000+0000", "updated": "2018-01-08T18:24:37.000+0000" }, { "id": "432893", "author": { "name": "andreas.pingas", "key": "andreas.pingas", "displayName": "Andreas Pingas", "active": true, "timeZone": "America/Los_Angeles" }, "body": "When you change from tab 1 to tab2 and back you will find that it appears in console tab 1 or tab 2. If at tab 1 you select Activity, and then cancel, and you repeat process going from tab 1 to tab 2 you will notice that you cant view any status change to console. As a result, \"focus\" does not work. It will start working properly when \"focus\" is lost from tabGroup, which means in tab2 the window opens.\r\n\r\nvar win1 = Ti.UI.createWindow({\r\n\ttitle:'Window 1',\r\n backgroundColor:'white',\r\n layout: 'vertical'\r\n});\r\n\r\nvar button1 = Ti.UI.createButton({\r\n width:100,\r\n height:35,\r\n top:115,\r\n bubble:false,\r\n title:'Activity'\r\n});\r\n\r\nwin1.add(button1);\r\n\r\nvar win2 = Ti.UI.createWindow({\r\n\ttitle:'Window 2',\r\n backgroundColor:'white',\r\n layout: 'vertical'\r\n});\r\n\r\nvar button2 = Ti.UI.createButton({\r\n width:100,\r\n height:35,\r\n top:115,\r\n bubble:false,\r\n title:'Window'\r\n});\r\n\r\nwin2.add(button2);\r\n\r\nvar tab1 = Ti.UI.createTab({\r\n\ttitle:'Tab 1',\r\n\twindow:win1\r\n});\r\n\t\r\nvar tab2 = Ti.UI.createTab({\r\n\ttitle:'Tab 2',\r\n\twindow:win2\r\n});\r\n\r\nvar tabGroup = Titanium.UI.createTabGroup({\r\n\ttabs:[tab1, tab2]\r\n});\r\n\r\nwin1.addEventListener('focus', function(e) {\r\n\t\r\n\t Ti.API.info('focus 1');\r\n\t\r\n});\r\n\r\nwin2.addEventListener('focus', function(e) {\r\n\t\r\n\t Ti.API.info('focus 2');\r\n\t\r\n});\r\n\r\ntabGroup.open(); \r\n\r\nbutton1.addEventListener('click', function(e) {\r\n\t\r\n\tvar Social = require('dk.napp.social'); \r\n\t\r\n\tSocial.activityView({\r\n\t\ttext: 'Message' \r\n\t});\r\n\r\n});\r\n\r\nbutton2.addEventListener('click', function(e) {\r\n\r\n\tvar win3 = Ti.UI.createWindow({\r\n\t backgroundColor:'white',\r\n\t layout: 'vertical'\r\n\t});\r\n\r\n\tvar button3 = Ti.UI.createButton({\r\n\t width:100,\r\n\t height:35,\r\n\t top:115,\r\n\t bubble:false,\r\n\t title:'Close'\r\n\t});\r\n\t\r\n\twin3.add(button3);\r\n\r\n\tbutton3.addEventListener('click', function(e) {\r\n\t\twin3.close();\r\n\t});\r\n\r\n\twin3.open();\r\n\r\n});", "updateAuthor": { "name": "andreas.pingas", "key": "andreas.pingas", "displayName": "Andreas Pingas", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-01-09T08:27:39.000+0000", "updated": "2018-01-09T08:27:39.000+0000" }, { "id": "432912", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "This is a third-party community module. Please contact the vendor via the [official repository|https://github.com/viezel/TiSocial.Framework], thanks!", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-01-09T14:10:59.000+0000", "updated": "2018-01-09T14:10:59.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }