{"action":"created","issue":{"url":"https://api.github.com/repos/KSP-CKAN/CKAN/issues/2534","repository_url":"https://api.github.com/repos/KSP-CKAN/CKAN","labels_url":"https://api.github.com/repos/KSP-CKAN/CKAN/issues/2534/labels{/name}","comments_url":"https://api.github.com/repos/KSP-CKAN/CKAN/issues/2534/comments","events_url":"https://api.github.com/repos/KSP-CKAN/CKAN/issues/2534/events","html_url":"https://github.com/KSP-CKAN/CKAN/issues/2534","id":367999042,"node_id":"MDU6SXNzdWUzNjc5OTkwNDI=","number":2534,"title":"Inconsistent checkbox behavior when pressing spacebar","user":{"login":"antipin00","id":17460779,"node_id":"MDQ6VXNlcjE3NDYwNzc5","avatar_url":"https://avatars3.githubusercontent.com/u/17460779?v=4","gravatar_id":"","url":"https://api.github.com/users/antipin00","html_url":"https://github.com/antipin00","followers_url":"https://api.github.com/users/antipin00/followers","following_url":"https://api.github.com/users/antipin00/following{/other_user}","gists_url":"https://api.github.com/users/antipin00/gists{/gist_id}","starred_url":"https://api.github.com/users/antipin00/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antipin00/subscriptions","organizations_url":"https://api.github.com/users/antipin00/orgs","repos_url":"https://api.github.com/users/antipin00/repos","events_url":"https://api.github.com/users/antipin00/events{/privacy}","received_events_url":"https://api.github.com/users/antipin00/received_events","type":"User","site_admin":false},"labels":[{"id":139464212,"node_id":"MDU6TGFiZWwxMzk0NjQyMTI=","url":"https://api.github.com/repos/KSP-CKAN/CKAN/labels/GUI","name":"GUI","color":"006b75","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-10-09T00:35:09Z","updated_at":"2018-10-09T01:01:33Z","closed_at":null,"author_association":"NONE","body":"Background\r\n----------\r\n\r\n**CKAN Version:** v1.25.3\r\n\r\n**Operating System:** Windows (8.1, but looks like others as well)\r\n\r\n\r\nProblem\r\n-------\r\nWhen selecting a mod from list, 'Installed' checkbox can be toggled by pressing spacebar. But if 'Installed' checkbox was clicked by mouse, then pressing spacebar toggles it 2 times (first when pressing down, second when releasing).\r\nIf there is also 'Update' checkbox available, then:\r\n-If mod was selected by clicking outside 'Update' checkbox, pressing spacebar works as described above\r\n-If mod was selected by clicking 'Update' checkbox, pressing spacebar toggles 'Installed' checkbox and releasing it toggles 'Update' checkbox\r\n\r\n![clicks](https://user-images.githubusercontent.com/17460779/46639900-97017c00-cb71-11e8-8bf0-faaaf033290a.gif)\r\n(on the gif I held spacebar for a fraction of second so there is a pause between pressing and releasing)\r\n\r\nProbably caused by conflict between whatever toggles 'Installed' checkbox of selected mod when pressing spacebar and OS's toggling of selected checkbox using tab controls (note the dotted border)."},"comment":{"url":"https://api.github.com/repos/KSP-CKAN/CKAN/issues/comments/428025466","html_url":"https://github.com/KSP-CKAN/CKAN/issues/2534#issuecomment-428025466","issue_url":"https://api.github.com/repos/KSP-CKAN/CKAN/issues/2534","id":428025466,"node_id":"MDEyOklzc3VlQ29tbWVudDQyODAyNTQ2Ng==","user":{"login":"HebaruSan","id":1559108,"node_id":"MDQ6VXNlcjE1NTkxMDg=","avatar_url":"https://avatars2.githubusercontent.com/u/1559108?v=4","gravatar_id":"","url":"https://api.github.com/users/HebaruSan","html_url":"https://github.com/HebaruSan","followers_url":"https://api.github.com/users/HebaruSan/followers","following_url":"https://api.github.com/users/HebaruSan/following{/other_user}","gists_url":"https://api.github.com/users/HebaruSan/gists{/gist_id}","starred_url":"https://api.github.com/users/HebaruSan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HebaruSan/subscriptions","organizations_url":"https://api.github.com/users/HebaruSan/orgs","repos_url":"https://api.github.com/users/HebaruSan/repos","events_url":"https://api.github.com/users/HebaruSan/events{/privacy}","received_events_url":"https://api.github.com/users/HebaruSan/received_events","type":"User","site_admin":false},"created_at":"2018-10-09T01:01:33Z","updated_at":"2018-10-09T01:01:33Z","author_association":"MEMBER","body":"Here's where we handle this keypress:\r\n\r\nhttps://github.com/KSP-CKAN/CKAN/blob/fc0fa20a1d31319f75bd35a83da382f19d064d0b/GUI/MainModList.cs#L327-L339"}}
{"actor":{"display_login":"HebaruSan"}}