{ "id": "114511", "key": "TIMOB-13887", "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": "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": "2015-09-16T07:24:24.000+0000", "created": "2013-05-17T07:54:59.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "qe-3.1.1" ], "versions": [ { "id": "15478", "description": "Release 3.1.1", "name": "Release 3.1.1", "archived": true, "released": true, "releaseDate": "2013-06-17" } ], "issuelinks": [], "assignee": { "name": "apetkov", "key": "apetkov", "displayName": "Angel Petkov", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-21T21:44:07.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "This is not regression. This issue also exist on SDK 3.1.0\r\n\r\nSteps:\r\n1) Turned off accessibility services on the device.\r\n2) Run the app on device.\r\n3) Launch the app. Shows two tabs with labels \"View Properties\" and \"Events\".\r\n4) Now close and kill the app on device.\r\n5) Launch the app again.\r\n\r\nActual Result: Tabs are showing without labels (\"View Properties\" and \"Events\"). See the attached screenshot and log file.\r\n\r\nExpected Result: Tabs label (\"View Properties\" and \"Events\") should show on relaunching the application\r\n\r\n{code}\r\nvar tabGroup = Ti.UI.createTabGroup({orientationModes: [Ti.UI.PORTRAIT]}),\r\nwinViews = Ti.UI.createWindow({\r\n\ttitle: \"View Properties\",\r\n\tlayout: \"vertical\",\r\n\tbackgroundColor: \"#fff\"\r\n}),\r\nwinEvents = Ti.UI.createWindow({\r\n\ttitle: \"Events\",\r\n\tlayout: \"vertical\",\r\n\tbackgroundColor: \"#fff\"\r\n}),\r\ntabViews = Ti.UI.createTab({\r\n\twindow: winViews,\r\n\ttitle: winViews.title\r\n}),\r\ntabEvents = Ti.UI.createTab({\r\n\twindow: winEvents,\r\n\ttitle: winEvents.title\r\n}),\r\nannounceButton = Ti.UI.createButton({\r\n\ttop: 16, width: 8 * 30, height: 48,\r\n\ttitle: \"Make announcement\"\r\n}),\r\nbasicButton = Ti.UI.createButton({\r\n\ttop: 16, width: 8 * 14, height: 48,\r\n\ttitle: \"Basic\"\r\n}),\r\ndifferentButton = Ti.UI.createButton({\r\n\ttop: 16, width: 8 * 14, height: 48,\r\n\ttitle: \"Different\",\r\n\taccessibilityLabel: \"This has different text for accessibility.\"\r\n}),\r\nsw = Ti.UI.createSwitch({\r\n\tvalue: false,\r\n\taccessibilityLabel: \"My special switch.\",\r\n\taccessibilityValue: \"Off.\",\r\n\taccessibilityHint: \"Double tap to turn on.\",\r\n\ttop: 16\r\n\r\n}),\r\neventLog = Ti.UI.createLabel({\r\n\ttop: 16, left: 32, right: 32,\r\n\t//height: 48 * 5,\r\n\tverticalAlign: Ti.UI.TEXT_VERTICAL_ALIGNMENT_TOP,\r\n\taccessibilityHidden: true,\r\n\taccessibilityLabel: \"My special label.\",\r\n accessibilityValue: \"No value.\",\r\n accessibilityHint: \"No action\",\r\n}),\r\nversionParts = Ti.Platform.version.split(\".\"),\r\nisJellyBeanOrBetter = (parseInt(versionParts[0] > 4) ||\r\n\t\t\t\t\t (parseInt(versionParts[0]) == 4 && parseInt(versionParts[1]) > 0));\r\n\r\nsw.addEventListener(\"change\", function() {\r\n\tif (sw.value) {\r\n\t\tsw.accessibilityValue = \"On.\";\r\n\t\tsw.accessibilityHint = \"Double tap to turn off.\"\r\n\t} else {\r\n\t\tsw.accessibilityValue = \"Off.\";\r\n\t\tsw.accessibilityHint = \"Double tap to turn on.\"\r\n\t}\r\n});\r\n\r\nannounceButton.addEventListener(\"click\", function() {\r\n\tTi.App.fireSystemEvent(Ti.App.EVENT_ACCESSIBILITY_ANNOUNCEMENT,\r\n\t\t\t\t\t\t \"Please stand by for an urgent message from the Department of Home Land Security.\");\r\n});\r\n\r\nTi.App.addEventListener(Ti.App.EVENT_ACCESSIBILITY_CHANGED, function(e) {\r\n\teventLog.text += \"\\nAccessibility state changed: \" + (e.enabled ? \"it is now enabled.\" : \"it is now disabled.\");\r\n});\r\n\r\neventLog.text = \"This label has the accessibilityHidden property set to true. \";\r\n\r\neventLog.text += \"\\n\\n\";\r\neventLog.text += (Ti.App.accessibilityEnabled ? \"Accessibility is enabled.\" : \"Accessibility is disabled.\");\r\nif (parseInt(versionParts[0]) >= 4) {\r\n\teventLog.text += \"\\n\\nIf you go to Settings and disable/enable accessibility, the change will be reflected here.\\n\";\r\n} else {\r\n\teventLog.text += \"\\n\\nOn Ice Cream Sandwich and higher devices, if you went to Settings and disabled/enabled \";\r\n\teventLog.text += \"accessibility, the change would be reflected here. But since you are running Android \";\r\n\teventLog.text += Ti.Platform.version + \", you won't see that.\";\r\n}\r\n\r\nwinViews.add(basicButton);\r\nwinViews.add(differentButton);\r\nwinViews.add(sw);\r\nwinEvents.add(announceButton);\r\nwinEvents.add(eventLog);\r\n\r\ntabGroup.addTab(tabViews);\r\ntabGroup.addTab(tabEvents);\r\ntabGroup.open();\r\n\r\n{code}", "attachment": [ { "id": "38647", "filename": "ConsoleLog.rtf", "author": { "name": "djha", "key": "djha", "displayName": "Dhirendra Jha", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-17T07:54:59.000+0000", "size": 161460, "mimeType": "text/rtf" }, { "id": "38648", "filename": "screenshot.PNG", "author": { "name": "djha", "key": "djha", "displayName": "Dhirendra Jha", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-17T07:54:59.000+0000", "size": 41062, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: Accessibility - Tabs label are not showing on relaunching the application", "creator": { "name": "djha", "key": "djha", "displayName": "Dhirendra Jha", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "djha", "key": "djha", "displayName": "Dhirendra Jha", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Appcelerator Studio: 3.1.1.201305151653\r\nTitanium SDK: 3.1.1.v20130516183044\r\ntitanium: 3.1.0\r\nacs: 1.0.2\r\nDevice - iPhone5 (iOS 6)\r\nOS: Mac 10.8.2", "closedSprints": [ { "id": 485, "state": "closed", "name": "2015 Sprint 19 SDK", "startDate": "2015-09-12T00:30:29.539Z", "endDate": "2015-09-26T00:30:00.000Z", "completeDate": "2015-09-28T02:29:14.458Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "269899", "author": { "name": "prastogi", "key": "prastogi", "displayName": "Pragya Rastogi", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Issue persists for iOS 7 as well.\nEnvironment used:\nOSX: 10.8.4\nXcode:5.0\nAppcelerator Studio: 3.1.3.201308302458\nSDK:3.1.3.v20130904134612\n├── acs@1.0.6\n├── alloy@1.2.2\n├── npm@1.3.2\n├── titanium@3.1.2\n└── titanium-code-processor@1.0.2\nDevice: iPhone4s ( iOS 7 Device)", "updateAuthor": { "name": "prastogi", "key": "prastogi", "displayName": "Pragya Rastogi", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-09-06T07:05:42.000+0000", "updated": "2013-09-06T07:05:42.000+0000" }, { "id": "299766", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "In my case it occurs on iPad Air iOS 7.\r\nAppcelerator Studio, build: 3.2.3.201403271839\r\nTitanium SDK, build:3.2.3.v20140401134117\r\nNode.JS Version: v0.10.13\r\nNPM Version: 1.3.2\r\n├── acs@1.0.14\r\n├── alloy@1.3.1\r\n├── node-appc@0.2.0\r\n├── npm@1.3.2\r\n├── titanium@3.2.3-alpha2\r\n└── titanium-code-processor@1.1.1-alpha\r\nXcode 5.1\r\nDevices:\r\nIPhone5S iOS 7.1\r\niPad Air iOS 7.1\r\n ", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-04-03T18:33:50.000+0000", "updated": "2014-04-03T18:34:13.000+0000" }, { "id": "324583", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I cannot reproduce this issue with\r\nMac osx 10.9.5 Mavericks\r\nAppcelerator Studio, build: 3.4.0.201409161950\r\nTitanium SDK, build: 3.4.0.v20140917120000\r\nacs@1.0.16\r\nalloy 1.5.0-rc2\r\ninstall@0.1.7\r\nnpm@1.4.23\r\nsudo@1.0.3\r\ntitanium 3.4.0-rc4\r\ntitanium-code-processor@1.1.1\r\nXcode6.0.1 (6A317)\r\nDevices:\r\niPhone 5S iOS8\r\n", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-18T20:39:43.000+0000", "updated": "2014-09-18T20:39:43.000+0000" }, { "id": "414493", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as the issue cannot be reproduced with iOS 10.2.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-21T21:44:07.000+0000", "updated": "2017-03-21T21:44:07.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }