{"action":"created","issue":{"url":"https://api.github.com/repos/godotengine/godot/issues/21249","repository_url":"https://api.github.com/repos/godotengine/godot","labels_url":"https://api.github.com/repos/godotengine/godot/issues/21249/labels{/name}","comments_url":"https://api.github.com/repos/godotengine/godot/issues/21249/comments","events_url":"https://api.github.com/repos/godotengine/godot/issues/21249/events","html_url":"https://github.com/godotengine/godot/issues/21249","id":352321399,"node_id":"MDU6SXNzdWUzNTIzMjEzOTk=","number":21249,"title":"Customized controls do not work inside the editor, only in-game","user":{"login":"char0xff","id":10872697,"node_id":"MDQ6VXNlcjEwODcyNjk3","avatar_url":"https://avatars1.githubusercontent.com/u/10872697?v=4","gravatar_id":"","url":"https://api.github.com/users/char0xff","html_url":"https://github.com/char0xff","followers_url":"https://api.github.com/users/char0xff/followers","following_url":"https://api.github.com/users/char0xff/following{/other_user}","gists_url":"https://api.github.com/users/char0xff/gists{/gist_id}","starred_url":"https://api.github.com/users/char0xff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/char0xff/subscriptions","organizations_url":"https://api.github.com/users/char0xff/orgs","repos_url":"https://api.github.com/users/char0xff/repos","events_url":"https://api.github.com/users/char0xff/events{/privacy}","received_events_url":"https://api.github.com/users/char0xff/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-08-20T22:39:24Z","updated_at":"2018-08-21T07:15:07Z","closed_at":null,"author_association":"NONE","body":"I was trying to create a custom _LineEdit_.\r\nSo I created a plugin, I used _add_custom_type()_, etc.\r\nThe problem is that while it works in-game, it doesn't work inside the Godot editor.\r\nYou can use \"stock\" controls inside the editor with _EditorPlugin_ and create your editor custom GUI panel/window, but apparently you cannot use customized controls, they just don't work.\r\nSo I tried the **tool** option, and the control does respond, but changing the text for example, crashes Godot entirely.\r\nSo it looks to me that customized controls (extended from \"stock\" controls and added with _add_custom_type()_ do not work correctly inside the editor.\r\n\r\n**Included example project:**\r\n[customized_control_bug.zip](https://github.com/godotengine/godot/files/2304149/customized_control_bug.zip)\r\n\r\n\r\n**Steps to reproduce:**\r\nOpen the project. Notice that there's a custom panel on the bottom. Click on it to show it.\r\nNotice there is a long line edit inside it. Click inside the line edit.\r\nTry to type something.\r\nGodot instantly crashes.\r\nExamine the plugins scripts.\r\nOpen _\"custom_line_edit.gd\"_ and remove the _\"tool\"_ keyword.\r\nSave, close and re-open the project.\r\nSee how it doesn't crashes but also doesn't change the text either, because the control is not responsive."},"comment":{"url":"https://api.github.com/repos/godotengine/godot/issues/comments/414574176","html_url":"https://github.com/godotengine/godot/issues/21249#issuecomment-414574176","issue_url":"https://api.github.com/repos/godotengine/godot/issues/21249","id":414574176,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNDU3NDE3Ng==","user":{"login":"char0xff","id":10872697,"node_id":"MDQ6VXNlcjEwODcyNjk3","avatar_url":"https://avatars1.githubusercontent.com/u/10872697?v=4","gravatar_id":"","url":"https://api.github.com/users/char0xff","html_url":"https://github.com/char0xff","followers_url":"https://api.github.com/users/char0xff/followers","following_url":"https://api.github.com/users/char0xff/following{/other_user}","gists_url":"https://api.github.com/users/char0xff/gists{/gist_id}","starred_url":"https://api.github.com/users/char0xff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/char0xff/subscriptions","organizations_url":"https://api.github.com/users/char0xff/orgs","repos_url":"https://api.github.com/users/char0xff/repos","events_url":"https://api.github.com/users/char0xff/events{/privacy}","received_events_url":"https://api.github.com/users/char0xff/received_events","type":"User","site_admin":false},"created_at":"2018-08-21T07:15:07Z","updated_at":"2018-08-21T07:15:07Z","author_association":"NONE","body":"Thank you everyone for the support."}}
{"actor":{"display_login":"char0xff"}}