{ "id": "115944", "key": "TIMOB-14381", "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": null, "resolutiondate": null, "created": "2013-06-14T09:58:50.000+0000", "priority": null, "labels": [ "autocorrect" ], "versions": [], "issuelinks": [], "assignee": null, "updated": "2019-04-24T17:11:18.000+0000", "status": { "description": "This issue was once resolved, but the resolution was deemed incorrect. From here issues are either marked assigned or resolved.", "name": "Reopened", "id": "4", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [], "description": "*Problem*\r\nWhen autocorrect is set false, autocorrect is still activated in textField.\r\n\r\n*Test Case*\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor : \"#fff\",\r\n layout: \"vertical\"\r\n});\r\nvar AutocorrectFalse = Ti.UI.createTextField({\r\n borderStyle: Ti.UI.INPUT_BORDERSTYLE_ROUNDED,\r\n color: '#336699',\r\n top: '10dp', left: '10dp',\r\n width: '250dp', height: '60dp',\r\n hintText: \"AutocorrectFalse\",\r\n autocorrect: false\r\n})\r\nvar AutocorrectTrue = Ti.UI.createTextField({\r\n borderStyle: Ti.UI.INPUT_BORDERSTYLE_ROUNDED,\r\n color: '#336699',\r\n top: '10dp', left: '10dp',\r\n width: '250dp', height: '60dp',\r\n hintText: \"AutocorrectTrue\",\r\n autocorrect: true\r\n})\r\nwin.add(AutocorrectFalse);\r\nwin.add(AutocorrectTrue);\r\nwin.open();\r\n{code}\r\n\r\n*Expected Behavior*\r\nWhen autocorrect is set false, autocorrect should not still be activated\r\n\r\n*Actual Behavior*\r\nautocorrect: false leads to autocorrect still activated\r\n\r\n*Note*\r\nThis is only happening on stock Samsung keyboard, when using Swype, the feature works as expected.", "attachment": [], "flagged": false, "summary": "Android: autocorrect doesn't work", "creator": { "name": "djamel.zahal", "key": "djamel.zahal", "displayName": "Djamel ZAHAL", "active": true, "timeZone": "Africa/Lagos" }, "subtasks": [], "reporter": { "name": "djamel.zahal", "key": "djamel.zahal", "displayName": "Djamel ZAHAL", "active": true, "timeZone": "Africa/Lagos" }, "environment": "sdk 3.1.0GA\r\nSDK 3.1.1GA\r\nAndroid GS3 4.1.1", "comment": { "comments": [ { "id": "257894", "author": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hello Djamel,\n\nWould you mind providing a small test case that shows this behavior? A simple snippet of code (under 50 lines) that is easily copied and pasted into an app.js to show the issue you are describing. This ensures we are both on the same page about what code you are trying and what is not working. Thanks for your patience. For future reference on how to created complete bug reports:\nhttps://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report\n\nRegards,\nCarter ", "updateAuthor": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-14T16:32:40.000+0000", "updated": "2013-06-14T16:32:40.000+0000" }, { "id": "259179", "author": { "name": "jerodfritz", "key": "jerodfritz", "displayName": "Jerod Fritz", "active": true, "timeZone": "America/New_York" }, "body": "I am experiencing the same problem using Galaxy SIII running 4.1.1 Titanium SDK 3.1.1GA. With autocorrect on input is very slow causing input to take a couple seconds per keystroke\r\n\r\n*in any view xml*\r\n{code:title=view.xml|borderStyle=solid}\r\n\r\n{code}\r\n\r\n*in either app.tss or the specific controller.tss*\r\n{code:title=in either app.tss or the specific controller.tss|borderStyle=solid}\r\n'TextField': {\r\n backgroundColor: '#fff',\r\n color: '#000',\r\n autocorrect: false,\r\n clearOnEdit : false,\r\n accessibilityHidden : false\r\n}\r\n{code}", "updateAuthor": { "name": "jerodfritz", "key": "jerodfritz", "displayName": "Jerod Fritz", "active": true, "timeZone": "America/New_York" }, "created": "2013-06-24T16:38:36.000+0000", "updated": "2013-06-24T19:17:03.000+0000" }, { "id": "259287", "author": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hello Jerod,\n\nWould you mind providing a classic Titanium test case? This way we can determine if the issue lies with alloy or Ti SDK. Thanks for the extra information on this. As soon as a reproducible test case is provided I will move to Ti-Mobile for engineering to look at.\n\nRegards,\nCarter", "updateAuthor": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-24T22:47:29.000+0000", "updated": "2013-06-24T22:47:29.000+0000" }, { "id": "259296", "author": { "name": "jerodfritz", "key": "jerodfritz", "displayName": "Jerod Fritz", "active": true, "timeZone": "America/New_York" }, "body": "Here it is both ways for you to test this code should be identical\r\n\r\n*Galaxy SIII running 4.1.1 Titanium SDK 3.1.1GA*\r\n\r\n*app.js*\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor : \"#fff\",\r\n layout: \"vertical\"\r\n});\r\nvar AutocorrectFalse = Ti.UI.createTextField({\r\n borderStyle: Ti.UI.INPUT_BORDERSTYLE_ROUNDED,\r\n color: '#336699',\r\n top: '10dp', left: '10dp',\r\n width: '250dp', height: '60dp',\r\n hintText: \"AutocorrectFalse\",\r\n autocorrect: false\r\n})\r\nvar AutocorrectTrue = Ti.UI.createTextField({\r\n borderStyle: Ti.UI.INPUT_BORDERSTYLE_ROUNDED,\r\n color: '#336699',\r\n top: '10dp', left: '10dp',\r\n width: '250dp', height: '60dp',\r\n hintText: \"AutocorrectTrue\",\r\n autocorrect: true\r\n})\r\nwin.add(AutocorrectFalse);\r\nwin.add(AutocorrectTrue);\r\nwin.open();\r\n{code}\r\n\r\n*index.js*\r\n{code}\r\n$.index.open();\r\n{code}\r\n*index.xml*\r\n{code}\r\n\r\n\t\r\n\t\t\r\n\t\t\r\n\t\r\n\r\n{code}\r\n\r\n*index.tss*\r\n{code}\r\n\".container\": {\r\n backgroundColor:\"white\"\r\n}\r\n\"TextField\":{\r\n borderStyle: Ti.UI.INPUT_BORDERSTYLE_ROUNDED,\r\n color: '#336699',\r\n top: '10dp', left: '10dp',\r\n width: '250dp', height: '60dp'\r\n}\r\n\"#AutocorrectFalse\": {\r\n\tautocorrect: false\r\n}\r\n\"#AutocorrectTrue\": {\r\n autocorrect: true\r\n} \r\n{code}", "updateAuthor": { "name": "jerodfritz", "key": "jerodfritz", "displayName": "Jerod Fritz", "active": true, "timeZone": "America/New_York" }, "created": "2013-06-24T23:23:18.000+0000", "updated": "2013-06-24T23:27:59.000+0000" }, { "id": "259424", "author": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested and confirmed on Android GS3 4.1.1 using 3.1.1GA. It is interesting to note however that this is only happening on the stock samsung keyboard. When using the Swype keyboard, the autocorrect property functions as expected. \n\n", "updateAuthor": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-25T21:26:16.000+0000", "updated": "2013-06-25T21:26:16.000+0000" }, { "id": "447932", "author": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "body": "Since I have this issue in the current 8.0.0.GA I've search for a workaround and found one. You can set the inputype to \"visible password\" with:\r\n{inputType: [144]} and it won't show any suggestion.", "updateAuthor": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "created": "2019-04-24T17:11:18.000+0000", "updated": "2019-04-24T17:11:18.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }