{"action":"created","issue":{"url":"https://api.github.com/repos/DaveDavenport/rofi/issues/494","repository_url":"https://api.github.com/repos/DaveDavenport/rofi","labels_url":"https://api.github.com/repos/DaveDavenport/rofi/issues/494/labels{/name}","comments_url":"https://api.github.com/repos/DaveDavenport/rofi/issues/494/comments","events_url":"https://api.github.com/repos/DaveDavenport/rofi/issues/494/events","html_url":"https://github.com/DaveDavenport/rofi/issues/494","id":187566611,"number":494,"title":"Rofi lags on startup, misses key presses","user":{"login":"oscarfv","id":270741,"avatar_url":"https://avatars.githubusercontent.com/u/270741?v=3","gravatar_id":"","url":"https://api.github.com/users/oscarfv","html_url":"https://github.com/oscarfv","followers_url":"https://api.github.com/users/oscarfv/followers","following_url":"https://api.github.com/users/oscarfv/following{/other_user}","gists_url":"https://api.github.com/users/oscarfv/gists{/gist_id}","starred_url":"https://api.github.com/users/oscarfv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oscarfv/subscriptions","organizations_url":"https://api.github.com/users/oscarfv/orgs","repos_url":"https://api.github.com/users/oscarfv/repos","events_url":"https://api.github.com/users/oscarfv/events{/privacy}","received_events_url":"https://api.github.com/users/oscarfv/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/DaveDavenport/rofi/milestones/10","html_url":"https://github.com/DaveDavenport/rofi/milestones/1.3","labels_url":"https://api.github.com/repos/DaveDavenport/rofi/milestones/10/labels","id":1954275,"number":10,"title":"1.3","description":"","creator":{"login":"DaveDavenport","id":406245,"avatar_url":"https://avatars.githubusercontent.com/u/406245?v=3","gravatar_id":"","url":"https://api.github.com/users/DaveDavenport","html_url":"https://github.com/DaveDavenport","followers_url":"https://api.github.com/users/DaveDavenport/followers","following_url":"https://api.github.com/users/DaveDavenport/following{/other_user}","gists_url":"https://api.github.com/users/DaveDavenport/gists{/gist_id}","starred_url":"https://api.github.com/users/DaveDavenport/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DaveDavenport/subscriptions","organizations_url":"https://api.github.com/users/DaveDavenport/orgs","repos_url":"https://api.github.com/users/DaveDavenport/repos","events_url":"https://api.github.com/users/DaveDavenport/events{/privacy}","received_events_url":"https://api.github.com/users/DaveDavenport/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":18,"state":"open","created_at":"2016-08-22T06:05:28Z","updated_at":"2016-11-06T16:28:20Z","due_on":null,"closed_at":null},"comments":16,"created_at":"2016-11-06T15:04:22Z","updated_at":"2016-11-06T16:58:10Z","closed_at":"2016-11-06T16:28:20Z","body":"## Version\r\n\r\nVersion: 1.2.0-163-g0554db6 (master)\r\n\r\n## Configuration\r\n\r\nhttps://gist.github.com/oscarfv/5e9c447d70b3e21bb3416f4549e9f8a8\r\n\r\n## Launch Command\r\n\r\nrofi -combi-modi window,run,drun -show combi\r\n\r\n## Steps to reproduce\r\n\r\n* Step 1\r\n\r\n`# Clear Linux disk cache:`\r\necho 3 | sudo tee /proc/sys/vm/drop_caches\r\n\r\n* Step 2\r\n\r\n./rofi -combi-modi window,run,drun -show combi\r\n\r\nContents of `rofi-timing.log`: https://gist.github.com/oscarfv/19eaa8e8a2b25cace9b3c3400339447e\r\n\r\n## What behaviour you see\r\n\r\nI'm using rofi as a krunner replacement on Kubuntu 16.10. The CPU is a quad core 2.4 GHz Intel Q6600 with 8 GB RAM (admittedly old, but still faster than some modern machines). The disk is a 7400 rpm HDD. The machine is idle.\r\n\r\nWith krunner, I'm accustomed to start typing as soon as I press the hotkey. However, with rofi, sometimes there is a long pause until the window appears. Meanwhile, the window that has the focus when the hotkey is pressed receives the key events. Needless to say, this can create a serious mess.\r\n\r\n* -\r\n\r\n## What behaviour you expect to see\r\n\r\nThis issue is related to https://github.com/DaveDavenport/rofi/issues/425 If running rofi in daemon mode is out of the question, I'll suggest creating the window and getting the focus as soon as possible, instead of waiting for the candidate list to be populated which, AFAIU, is what rofi does now.\r\n\r\nBTW, apart from this issue, I'm very happy with rofi and consider it far more convenient than krunner. Thank you.\r\n\r\n\r\n* -\r\n"},"comment":{"url":"https://api.github.com/repos/DaveDavenport/rofi/issues/comments/258693972","html_url":"https://github.com/DaveDavenport/rofi/issues/494#issuecomment-258693972","issue_url":"https://api.github.com/repos/DaveDavenport/rofi/issues/494","id":258693972,"user":{"login":"DaveDavenport","id":406245,"avatar_url":"https://avatars.githubusercontent.com/u/406245?v=3","gravatar_id":"","url":"https://api.github.com/users/DaveDavenport","html_url":"https://github.com/DaveDavenport","followers_url":"https://api.github.com/users/DaveDavenport/followers","following_url":"https://api.github.com/users/DaveDavenport/following{/other_user}","gists_url":"https://api.github.com/users/DaveDavenport/gists{/gist_id}","starred_url":"https://api.github.com/users/DaveDavenport/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DaveDavenport/subscriptions","organizations_url":"https://api.github.com/users/DaveDavenport/orgs","repos_url":"https://api.github.com/users/DaveDavenport/repos","events_url":"https://api.github.com/users/DaveDavenport/events{/privacy}","received_events_url":"https://api.github.com/users/DaveDavenport/received_events","type":"User","site_admin":false},"created_at":"2016-11-06T16:58:10Z","updated_at":"2016-11-06T16:58:10Z","body":"In theory we can keep rofi and even a window running in the background.\r\nA good patch is welcome."}}
{"actor":{"display_login":"DaveDavenport"}}