{"action":"created","issue":{"url":"https://api.github.com/repos/telegramdesktop/tdesktop/issues/5458","repository_url":"https://api.github.com/repos/telegramdesktop/tdesktop","labels_url":"https://api.github.com/repos/telegramdesktop/tdesktop/issues/5458/labels{/name}","comments_url":"https://api.github.com/repos/telegramdesktop/tdesktop/issues/5458/comments","events_url":"https://api.github.com/repos/telegramdesktop/tdesktop/issues/5458/events","html_url":"https://github.com/telegramdesktop/tdesktop/issues/5458","id":389235362,"node_id":"MDU6SXNzdWUzODkyMzUzNjI=","number":5458,"title":"Mouse cursor unexpectedly overrides menu selection","user":{"login":"Streetwalrus","id":1155030,"node_id":"MDQ6VXNlcjExNTUwMzA=","avatar_url":"https://avatars0.githubusercontent.com/u/1155030?v=4","gravatar_id":"","url":"https://api.github.com/users/Streetwalrus","html_url":"https://github.com/Streetwalrus","followers_url":"https://api.github.com/users/Streetwalrus/followers","following_url":"https://api.github.com/users/Streetwalrus/following{/other_user}","gists_url":"https://api.github.com/users/Streetwalrus/gists{/gist_id}","starred_url":"https://api.github.com/users/Streetwalrus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Streetwalrus/subscriptions","organizations_url":"https://api.github.com/users/Streetwalrus/orgs","repos_url":"https://api.github.com/users/Streetwalrus/repos","events_url":"https://api.github.com/users/Streetwalrus/events{/privacy}","received_events_url":"https://api.github.com/users/Streetwalrus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-12-10T10:30:25Z","updated_at":"2018-12-25T12:11:55Z","closed_at":null,"author_association":"NONE","body":"### Steps to reproduce\r\nThis is reproducible in several situations:\r\n- Emoji completion panel\r\n- Sticker suggestions based on emoji\r\n- \"Forward\" dialog, especially when using search\r\n- Probably more, but I run into these most often\r\n\r\n### Actual behaviour\r\nThe mouse cursor sometimes selects the item it's hovering over, even if it hasn't moved, even as the search updates. I'm trying to find consistent setups for all cases.\r\nThis often leads to the following:\r\n- Sending the wrong emoji\r\n- Sending the wrong sticker, or sending one when I just want to send an emoji\r\n- Forwarding messages to the wrong chat\r\n\r\nThe only way to override that selection with the keyboard is using arrow keys, which moves relative to the original selection determined by the mouse cursor.\r\n\r\n### Expected behaviour\r\nPressing enter after searching in these contexts should activate the first result. Updating the search should reset the selection. For suggested stickers, no sticker should be sent unless I've pressed an arrow key.\r\n\r\n### Configuration\r\n**Operating system:** Arch Linux\r\n**Version of Telegram Desktop:** 1.4.3"},"comment":{"url":"https://api.github.com/repos/telegramdesktop/tdesktop/issues/comments/449845440","html_url":"https://github.com/telegramdesktop/tdesktop/issues/5458#issuecomment-449845440","issue_url":"https://api.github.com/repos/telegramdesktop/tdesktop/issues/5458","id":449845440,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0OTg0NTQ0MA==","user":{"login":"john-preston","id":17900494,"node_id":"MDQ6VXNlcjE3OTAwNDk0","avatar_url":"https://avatars1.githubusercontent.com/u/17900494?v=4","gravatar_id":"","url":"https://api.github.com/users/john-preston","html_url":"https://github.com/john-preston","followers_url":"https://api.github.com/users/john-preston/followers","following_url":"https://api.github.com/users/john-preston/following{/other_user}","gists_url":"https://api.github.com/users/john-preston/gists{/gist_id}","starred_url":"https://api.github.com/users/john-preston/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/john-preston/subscriptions","organizations_url":"https://api.github.com/users/john-preston/orgs","repos_url":"https://api.github.com/users/john-preston/repos","events_url":"https://api.github.com/users/john-preston/events{/privacy}","received_events_url":"https://api.github.com/users/john-preston/received_events","type":"User","site_admin":false},"created_at":"2018-12-25T12:11:55Z","updated_at":"2018-12-25T12:11:55Z","author_association":"MEMBER","body":"@Streetwalrus In the last one only the last one is unexpected, right? The first steps are OK in my opinion:\r\n\r\n* Place cursor over the sidebar\r\n* Press escape, then enter, this will open the chat under the cursor\r\n* Press escape, then enter again, this will open the first chat in the list\r\n\r\nBecause first step activates mouse-selection mode and then selecting a chat (in the second step) resets the selection mode back to non-mouse-selection."}}
{"actor":{"display_login":"john-preston"}}