{"action":"created","issue":{"url":"https://api.github.com/repos/KSP-KOS/KOS/issues/718","labels_url":"https://api.github.com/repos/KSP-KOS/KOS/issues/718/labels{/name}","comments_url":"https://api.github.com/repos/KSP-KOS/KOS/issues/718/comments","events_url":"https://api.github.com/repos/KSP-KOS/KOS/issues/718/events","html_url":"https://github.com/KSP-KOS/KOS/issues/718","id":66131972,"number":718,"title":"[bug] Clicking change name tag while name tag editing window is opened locks the game","user":{"login":"abenkovskii","id":11031560,"avatar_url":"https://avatars.githubusercontent.com/u/11031560?v=3","gravatar_id":"","url":"https://api.github.com/users/abenkovskii","html_url":"https://github.com/abenkovskii","followers_url":"https://api.github.com/users/abenkovskii/followers","following_url":"https://api.github.com/users/abenkovskii/following{/other_user}","gists_url":"https://api.github.com/users/abenkovskii/gists{/gist_id}","starred_url":"https://api.github.com/users/abenkovskii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abenkovskii/subscriptions","organizations_url":"https://api.github.com/users/abenkovskii/orgs","repos_url":"https://api.github.com/users/abenkovskii/repos","events_url":"https://api.github.com/users/abenkovskii/events{/privacy}","received_events_url":"https://api.github.com/users/abenkovskii/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-04-03T11:43:26Z","updated_at":"2015-04-15T17:03:34Z","closed_at":null,"body":"Mod list: kOS, RemoteTech, HyperEdit.\r\nSteps to reproduce:\r\n1. launch a vessel with a probe core and a kOS part.\r\n2. open name tag editing window of one part.\r\n3. open name tag editing window of another part.\r\n4. press cancel.\r\n5. press escape.\r\n6. now you should see something wierd instead of pause menu.\r\nlog: https://www.dropbox.com/s/dtdqet6zvrc9hdu/kOS_bug_log.txt?dl=0\r\n"},"comment":{"url":"https://api.github.com/repos/KSP-KOS/KOS/issues/comments/93487647","html_url":"https://github.com/KSP-KOS/KOS/issues/718#issuecomment-93487647","issue_url":"https://api.github.com/repos/KSP-KOS/KOS/issues/718","id":93487647,"user":{"login":"Dunbaratu","id":5216848,"avatar_url":"https://avatars.githubusercontent.com/u/5216848?v=3","gravatar_id":"","url":"https://api.github.com/users/Dunbaratu","html_url":"https://github.com/Dunbaratu","followers_url":"https://api.github.com/users/Dunbaratu/followers","following_url":"https://api.github.com/users/Dunbaratu/following{/other_user}","gists_url":"https://api.github.com/users/Dunbaratu/gists{/gist_id}","starred_url":"https://api.github.com/users/Dunbaratu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dunbaratu/subscriptions","organizations_url":"https://api.github.com/users/Dunbaratu/orgs","repos_url":"https://api.github.com/users/Dunbaratu/repos","events_url":"https://api.github.com/users/Dunbaratu/events{/privacy}","received_events_url":"https://api.github.com/users/Dunbaratu/received_events","type":"User","site_admin":false},"created_at":"2015-04-15T17:03:34Z","updated_at":"2015-04-15T17:03:34Z","body":"The problem seems to be caused by the fact that I just inserted the default window ID of 0 when telling Unity to open the window.  Therefore Unity gets confused into treating two different name tag windows as if they were the same window for the sake of keyboard focus, mouse events, and so on.\r\n\r\nWhen I changed it to use a unique integer per nametag window, the bug went away.\r\n\r\nI was made suspicious by the fact that both windows were drawn in the same location onscreen.  They are supposed to be calculating their position based on which part you clicked, and that didn't make sense why they were getting mangled together.\r\n"}}