{"action":"created","issue":{"url":"https://api.github.com/repos/atareao/Touchpad-Indicator/issues/28","repository_url":"https://api.github.com/repos/atareao/Touchpad-Indicator","labels_url":"https://api.github.com/repos/atareao/Touchpad-Indicator/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/atareao/Touchpad-Indicator/issues/28/comments","events_url":"https://api.github.com/repos/atareao/Touchpad-Indicator/issues/28/events","html_url":"https://github.com/atareao/Touchpad-Indicator/issues/28","id":361018380,"node_id":"MDU6SXNzdWUzNjEwMTgzODA=","number":28,"title":"\"Disable touchpad when typing\" lags over 1 second before disabling touchpad","user":{"login":"michael-ts","id":3298626,"node_id":"MDQ6VXNlcjMyOTg2MjY=","avatar_url":"https://avatars0.githubusercontent.com/u/3298626?v=4","gravatar_id":"","url":"https://api.github.com/users/michael-ts","html_url":"https://github.com/michael-ts","followers_url":"https://api.github.com/users/michael-ts/followers","following_url":"https://api.github.com/users/michael-ts/following{/other_user}","gists_url":"https://api.github.com/users/michael-ts/gists{/gist_id}","starred_url":"https://api.github.com/users/michael-ts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michael-ts/subscriptions","organizations_url":"https://api.github.com/users/michael-ts/orgs","repos_url":"https://api.github.com/users/michael-ts/repos","events_url":"https://api.github.com/users/michael-ts/events{/privacy}","received_events_url":"https://api.github.com/users/michael-ts/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-09-17T19:53:56Z","updated_at":"2018-09-19T21:54:40Z","closed_at":null,"author_association":"NONE","body":"I very frequently find that I am typing yet my cursor will jump to a different location on the screen due to accidental touch on the touchpad which is directly beneath the keyboard on my laptop.  I have enabled the feature where the touchpad is supposed to be disabled as soon as I start typing, so I would expect that the instant a key is pressed the touchpad would be disabled, but this is not happening.\r\n\r\nToday I was trying to get to the bottom of how this could happen when I noticed that it actually takes over 1 seconds from when I type a key until the visual appearance of the touchpad-indicator icon at the bottom of my screen changes and touchpad input is disabled, allowing ample time to start typing and immediately accidentally touch the touchpad resulting in my text going to the wrong location.  In fact, if I just press and hold a single key here is what I see before the touchpad is disabled: \"111111111111111111111111111\".  That's 27 characters that get typed before I no longer have to worry about accidentally hitting the touchpad.  When I am typing in a \"stop and go\" fashion this means that nearly every time I start typing I can have this problem.\r\n\r\nI decided to play around with the timeout (\"milliseconds to wait after the last key press before enabling the touchpad\") to see if decreasing it would have any effect on this lag, as the delay in disabling the touchpad seems very similar to the delay after the last key until the touchpad is re-enabled.  To my surprise, when I decreased the timeout delay to only 300ms I find that it STILL takes over a second after my last keystroke before the touchpad is enabled again.    Even when I decrease the timeout to 0ms it still totally ignores it and takes about a second before the touchpad is disabled and over a second to re-enable.  (Edit: Ok, after re-opening I guess 300ms is the shortest delayed allowed.  The fact that I have to click \"Ok\" and realize that the software is taking a few seconds to restart itself instead of being able to just \"Apply\" without closing isn't helping, as because I just clicked Ok and assumed it would take and the box just closed there was no chance for it to correct me.  Too bad, I was going to try -800 next...)  In fact, it seems to take slightly longer to re-enable than the delay in disabling it."},"comment":{"url":"https://api.github.com/repos/atareao/Touchpad-Indicator/issues/comments/422971736","html_url":"https://github.com/atareao/Touchpad-Indicator/issues/28#issuecomment-422971736","issue_url":"https://api.github.com/repos/atareao/Touchpad-Indicator/issues/28","id":422971736,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMjk3MTczNg==","user":{"login":"michael-ts","id":3298626,"node_id":"MDQ6VXNlcjMyOTg2MjY=","avatar_url":"https://avatars0.githubusercontent.com/u/3298626?v=4","gravatar_id":"","url":"https://api.github.com/users/michael-ts","html_url":"https://github.com/michael-ts","followers_url":"https://api.github.com/users/michael-ts/followers","following_url":"https://api.github.com/users/michael-ts/following{/other_user}","gists_url":"https://api.github.com/users/michael-ts/gists{/gist_id}","starred_url":"https://api.github.com/users/michael-ts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michael-ts/subscriptions","organizations_url":"https://api.github.com/users/michael-ts/orgs","repos_url":"https://api.github.com/users/michael-ts/repos","events_url":"https://api.github.com/users/michael-ts/events{/privacy}","received_events_url":"https://api.github.com/users/michael-ts/received_events","type":"User","site_admin":false},"created_at":"2018-09-19T21:54:40Z","updated_at":"2018-09-19T21:54:40Z","author_association":"NONE","body":"\"About\" tells me the version of touchpad indicator is: 2.1.2-0extras 18.04.0\r\nI'm running LUbuntu, although lsb_release -a  says I'm running \"Ubuntu 18.04.1 LTS\""}}
{"actor":{"display_login":"michael-ts"}}