{"action":"closed","issue":{"url":"https://api.github.com/repos/leo-editor/leo-editor/issues/515","repository_url":"https://api.github.com/repos/leo-editor/leo-editor","labels_url":"https://api.github.com/repos/leo-editor/leo-editor/issues/515/labels{/name}","comments_url":"https://api.github.com/repos/leo-editor/leo-editor/issues/515/comments","events_url":"https://api.github.com/repos/leo-editor/leo-editor/issues/515/events","html_url":"https://github.com/leo-editor/leo-editor/issues/515","id":240170202,"number":515,"title":"quicksearch can freeze Leo if there are too many results","user":{"login":"vitalije","id":6542426,"avatar_url":"https://avatars2.githubusercontent.com/u/6542426?v=3","gravatar_id":"","url":"https://api.github.com/users/vitalije","html_url":"https://github.com/vitalije","followers_url":"https://api.github.com/users/vitalije/followers","following_url":"https://api.github.com/users/vitalije/following{/other_user}","gists_url":"https://api.github.com/users/vitalije/gists{/gist_id}","starred_url":"https://api.github.com/users/vitalije/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vitalije/subscriptions","organizations_url":"https://api.github.com/users/vitalije/orgs","repos_url":"https://api.github.com/users/vitalije/repos","events_url":"https://api.github.com/users/vitalije/events{/privacy}","received_events_url":"https://api.github.com/users/vitalije/received_events","type":"User","site_admin":false},"labels":[{"id":79922380,"url":"https://api.github.com/repos/leo-editor/leo-editor/labels/Bug","name":"Bug","color":"fc2929","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-07-03T13:18:12Z","updated_at":"2017-07-05T18:52:04Z","closed_at":"2017-07-05T18:52:04Z","body":"Today I was working on quicksearch.py plugin and while testing I used to open leo/test/unitTest.leo and start quick search for some words. There were lot of words that freeze Leo. Try global, start, loop, ...\r\nand Leo would struggle. I had to kill it several times.\r\n\r\nI have tried to put some upper bound on number of items in result lists in find_h and find_b, but the result was not good enough. Even with the upper limit of 100 items it can freeze Leo. I don't know whether it freezes while searching or while adding Qt list items. Maybe we can limit the number of list items displayed.\r\n"}}
{"actor":{"display_login":"vitalije"}}