caldurza / autokey

Automatically exported from code.google.com/p/autokey
GNU General Public License v3.0
0 stars 0 forks source link

Phrase sends a key that it should capture #270

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Use following phrase (remapping super+v to ctrl+v) in chrome:
             {
                "usageCount": 4, 
                "omitTrigger": false, 
                "prompt": false, 
                "description": "Paste", 
                "abbreviation": {
                    "ignoreCase": false, 
                    "wordChars": "[\\w]", 
                    "immediate": false, 
                    "abbreviation": null, 
                    "backspace": true, 
                    "triggerInside": false
                }, 
                "hotkey": {
                    "hotKey": "v", 
                    "modifiers": [
                        "<super>"
                    ]
                }, 
                "phrase": "<ctrl>+v", 
                "modes": [
                    3
                ], 
                "showInTrayMenu": false, 
                "matchCase": false, 
                "filter": ".*hrome.*", 
                "type": "phrase", 
                "sendMode": "kb"
            }, 
2. Open chrome and type (super+V)
3. Remapping super+v to ctrl+v works, but it still sends a V key to a browser, 
what is annoying in many situations, because if I try to paste something I get 
V letter in the beggining

What is the expected output? What do you see instead?
I shouldn't see letter V in chrome if I press cmd + v

What version of the product are you using? On what operating system?
Ubuntu linux

Original issue reported on code.google.com by robert...@google.com on 27 Jan 2014 at 11:19

GoogleCodeExporter commented 8 years ago
Some workaround is to send <backspace> key in all of my phrases. This doesn't 
sound like a real solution and feels hacky.

Original comment by robert...@google.com on 28 Jan 2014 at 9:49