{ "id": "65764", "key": "AC-2987", "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": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2011-06-25T03:35:39.000+0000", "created": "2011-05-25T09:17:29.000+0000", "labels": [ "facebook", "iphone" ], "versions": [], "issuelinks": [], "assignee": { "name": "tguntharp", "key": "tguntharp", "displayName": "Tony Guntharp", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:47:59.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": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "In my application I have a login window. Through this we are able to login using facebook account. So we click on the button and we log in (the window changes). Later if we would like to log out we press the button and we return back to the login window on which we see the \"Login with Facebook\" button squeezed.\n\nThe facebook button code:\n\n{code:lang=javascript}\nvar fbButton = Titanium.Facebook.createLoginButton({\n bottom: 30,\n style: 'wide'\n});\n\nThe logout code:\nTitanium.Facebook.addEventListener('logout', function()\n{\n bAutenticated = false;\n sUser = '';\n LogOut();\n});\nTitanium.App.addEventListener('LogOut', function(e){\n bAutenticated = false;\n sUser = '';\n\tTitanium.Facebook.logout();\n LogOut();\n});\nfunction LogOut()\n{\n tabGroup.close();\n tabGroup.removeTab(tab1);\n tabGroup.removeTab(tab2);\n tabGroup.removeTab(tab3);\n tabGroup.addTab(tab);\n tabGroup.setActiveTab(0);\n tabGroup.open({\n transition:Titanium.UI.iPhone.AnimationStyle.FLIP_FROM_RIGHT\n });\n};\n{code}\n\nI also enclose the printscreens (one is before we login and the second screen after logout).\n", "attachment": [ { "id": "18572", "filename": "Screen shot 2011-05-25 at 11.14.51 AM.png", "author": { "name": "jooik", "key": "jooik", "displayName": "Karol Pomaski", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-05-25T09:17:29.000+0000", "size": 20417, "mimeType": "image/png" }, { "id": "18573", "filename": "Screen shot 2011-05-25 at 11.15.53 AM.png", "author": { "name": "jooik", "key": "jooik", "displayName": "Karol Pomaski", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-05-25T09:17:29.000+0000", "size": 15899, "mimeType": "image/png" } ], "flagged": false, "summary": "Facebook button style: wide. Bug after going back to login window. Facebook button is squeezed!", "creator": { "name": "jooik", "key": "jooik", "displayName": "Karol Pomaski", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jooik", "key": "jooik", "displayName": "Karol Pomaski", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Mac OSX 10.6.7\n3.06 GHz Intel Core i3\n4gb 1333 MHz DDR3\nI use the newest MobileSDK", "comment": { "comments": [ { "id": "134447", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "In order for us to progress this issue, please edit your ticket to include a proper [Use-case|http://wiki.appcelerator.org/display/guides/Contributing+to+Titanium#ContributingtoTitanium-CreatingGoodUsecases] (ie one that runs without modification)\n\nAlso, state the Titanium SDK version, date and hash that exhibits the issue.\n\nKindly read the [Submitting Bug Reports|http://wiki.appcelerator.org/display/guides/Contributing+to+Titanium#ContributingtoTitanium-SubmittingBugReports] guide before raising tickets.\n\nThank you", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-05-30T05:57:57.000+0000", "updated": "2011-05-30T05:57:57.000+0000" }, { "id": "157772", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "No response from user", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-06-25T03:35:39.000+0000", "updated": "2011-06-25T03:35:39.000+0000" }, { "id": "163081", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Closed after 30 days of inactivity.", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-08-16T16:48:23.000+0000", "updated": "2011-08-16T16:48:23.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }