{"action":"created","issue":{"url":"https://api.github.com/repos/FreeRDP/Remmina/issues/995","repository_url":"https://api.github.com/repos/FreeRDP/Remmina","labels_url":"https://api.github.com/repos/FreeRDP/Remmina/issues/995/labels{/name}","comments_url":"https://api.github.com/repos/FreeRDP/Remmina/issues/995/comments","events_url":"https://api.github.com/repos/FreeRDP/Remmina/issues/995/events","html_url":"https://github.com/FreeRDP/Remmina/issues/995","id":177127910,"number":995,"title":"Grab all keyboard events: Should be off when Remmina loses focus","user":{"login":"bernd-wechner","id":7296506,"avatar_url":"https://avatars.githubusercontent.com/u/7296506?v=3","gravatar_id":"","url":"https://api.github.com/users/bernd-wechner","html_url":"https://github.com/bernd-wechner","followers_url":"https://api.github.com/users/bernd-wechner/followers","following_url":"https://api.github.com/users/bernd-wechner/following{/other_user}","gists_url":"https://api.github.com/users/bernd-wechner/gists{/gist_id}","starred_url":"https://api.github.com/users/bernd-wechner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bernd-wechner/subscriptions","organizations_url":"https://api.github.com/users/bernd-wechner/orgs","repos_url":"https://api.github.com/users/bernd-wechner/repos","events_url":"https://api.github.com/users/bernd-wechner/events{/privacy}","received_events_url":"https://api.github.com/users/bernd-wechner/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/FreeRDP/Remmina/labels/bug","name":"bug","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-09-15T09:20:03Z","updated_at":"2016-10-14T13:32:39Z","closed_at":null,"body":"Context:\r\n* Client (OS name and version): Linux Mint 18\r\n* Remmina version (remmina --version): 1.2.0-rcgit-15\r\n* Desktop environment (GNOME, Unity, KDE, ..):  Cinnamon\r\n* Connecting to (OS and version): Windows 7 and Linux Mint 18 (matters not, remote OS irrelevant to issue)\r\n* Connecting via (RDP, VNC, ...): RDP and VNC (matters not, protocol irrelevant to issue)\r\n\r\nIssue:\r\nWhen I enable Grab all keyboard events, this is great because I can ALT+TAB on the remote system. Love it! Alas if I move to another window (and/or workspace) and forget I have this set, bizarreness is encountered. Not only does keyboard no longer seem to work (in reality it is, just all keystrokes going to Remmina and I forgot ;-) but also menus don't drop down on mouse clicks and other bizarre issue (which may be MINT/Cinnamon specific).\r\n\r\nPoint though is, that when the Remmina window that has Grab all keyboard events set loses focus it should stop grabbing them ...\r\n\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/37898483-grab-all-keyboard-events-should-be-off-when-remmina-loses-focus?utm_campaign=plugin&utm_content=tracker%2F431604&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F431604&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/FreeRDP/Remmina/issues/comments/253799703","html_url":"https://github.com/FreeRDP/Remmina/issues/995#issuecomment-253799703","issue_url":"https://api.github.com/repos/FreeRDP/Remmina/issues/995","id":253799703,"user":{"login":"bernd-wechner","id":7296506,"avatar_url":"https://avatars.githubusercontent.com/u/7296506?v=3","gravatar_id":"","url":"https://api.github.com/users/bernd-wechner","html_url":"https://github.com/bernd-wechner","followers_url":"https://api.github.com/users/bernd-wechner/followers","following_url":"https://api.github.com/users/bernd-wechner/following{/other_user}","gists_url":"https://api.github.com/users/bernd-wechner/gists{/gist_id}","starred_url":"https://api.github.com/users/bernd-wechner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bernd-wechner/subscriptions","organizations_url":"https://api.github.com/users/bernd-wechner/orgs","repos_url":"https://api.github.com/users/bernd-wechner/repos","events_url":"https://api.github.com/users/bernd-wechner/events{/privacy}","received_events_url":"https://api.github.com/users/bernd-wechner/received_events","type":"User","site_admin":false},"created_at":"2016-10-14T13:32:39Z","updated_at":"2016-10-14T13:32:39Z","body":"@antenore Alas not easy for me to try another DE. Can put it on the list but amazingly busy this end. I wanted to try and build Remmina some while ago but on Mint 17.2 lots of stuff was awry, as it was based on a dated Ubuntu stem and I'm hoping now on Mint 18 I'll be able to build it. Then it's not out of the question that I look into patching it myself if I can nail the issue. But time is very very scarce alas with numerous projects pulling my every limb assunder. \r\n\r\nInstead, what I can do which is only half as good but still indicative, is test Remmina so I just did. Switched over to it, and clicked the \"Grab all keyboard events\" button. Puzzling behaviour is demonstrated but interesting and possibly informative for you.\r\n\r\nAs I just did it, while typing this I can type out the steps for you easily. Context is, I am working on one Workspace and Remmina is open with a running session on my HTPC on another workspace. I switch work spaces with ALT+CTRL+ARROW (right and left) and this is what I did:\r\n\r\n1. Switch to Remmina Workspace\r\n2. Click the  \"Grab all keyboard events\" button.\r\n3. Switch back this workspace (and to my web browser)\r\n4. Type - it works. Keyboard events aren't being grabbed!\r\n\r\nAwesome! So ...\r\n\r\n5. Switch back to Remmina Workspace.\r\n6. Press ALT+TAB to flick through windows. I'm cycling through local windows.\r\n7. Click in the Remmina window (remote session)\r\n8. Press ALT+TAB to flick through windows. I'm cycling through local windows. I'm no cycling through the remote session windows. \r\n9. Switch back to this workspace. Doesn't work, is swichting on remote system (both are Mint 18)\r\n10. Switch back to this workspace by clicking on workspace icon in my tasbar\r\n11. Try typing in this box. No ressponse, keyboard events seemingly being swallows by Remmina. \r\n12. Switch back to Remmina workspace. \r\n13. Click the  \"Grab all keyboard events\" button.\r\n14. Switch back to here. I can type again. \r\n\r\nIn summary, it seems only to start grabbing the keyboard events once the remote session has focus, and then holds onto it. \r\n\r\nCan maybe try more rigorous tests later, but it's way past midnight now, just saw a pile of guests off, and have to hit the sack as my 3 year old will be getting me up early ;-). Just a  wind down moment in which I got notification of your reply.\r\n\r\n"}}
{"actor":{"display_login":"bernd-wechner"}}