raghuram534 / autokey

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

Hotkeys not working after upgrade from 0.70.5 to v0.71 #71

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Upgrade to AutoKey 0.71
2. Try to use an assigned hot key.

What is the expected output? What do you see instead?
The script should activate, but it doesn't.

What version of the product are you using? On what operating system?
AutoKey 0.71, Ubuntu 10.04, Using the (default) X Record, but also tried EvDev 
as workaround with no success.

Please provide any additional information below.
Copying iomediator.py, scripting.py, and service.py from 0.70.5 into 
/usr/share/pyshared/autokey and restarting AutoKey fixes it. Copying the 0.71 
files back breaks it again.

Under 0.71:
DEBUG - iomediator - <shift> pressed
DEBUG - iomediator - <alt> pressed
DEBUG - service - Raw key: u'2', modifiers: ['<alt>', '<shift>'], Key: u'@'
DEBUG - service - No phrase/script matched hotkey
DEBUG - iomediator - <shift> released
DEBUG - iomediator - <alt> released

Under 0.70.5:
DEBUG - iomediator - <shift> pressed
DEBUG - iomediator - <alt> pressed
DEBUG - service - Key: u'2', modifiers: ['<alt>', '<shift>']
INFO - service - Matched hotkey phrase/script with prompt=False
DEBUG - service - Script runner executing: Script('Quote double')
DEBUG - iomediator - Send via event interface
...(output from script running successfully)

Original issue reported on code.google.com by dv8box-...@yahoo.com on 12 Aug 2010 at 1:33

GoogleCodeExporter commented 8 years ago
Unable to reproduce this. Can you export the script and attach it here?

Original comment by cdekter on 12 Aug 2010 at 1:35

GoogleCodeExporter commented 8 years ago
Any more info? Otherwise I'll close.

Original comment by cdekter on 18 Aug 2010 at 2:44

GoogleCodeExporter commented 8 years ago
Attached is the script.  I tried starting autokey without any previous config 
file.  I assigned <alt>+<shift>+2 to the "Insert Date" sample script, and the 
failure and log output was the same as above.

I've also attached the log of AutoKey's startup, in case there are any signs 
there of what's going wrong.

I've experimented with different modifier combinations and found that it is 
only combinations with the shift key that fail:
Ctrl+2             works
Alt+2              works
Shift+2            does not work
Super+2            works

Ctrl+Alt+2         works
Ctrl+Shift+2       does not work
Ctrl+Super         works

Shift+Alt+2        does not work
Shift+Super+2      does not work
Ctrl+Alt+Shift+2   does not work
Ctrl+Shift+Super+2 does not work

The '2' just happens to be the key for that script.  Using another key, e.g. a 
letter key, makes no difference in the results.

But for the time being, I'm just reverting to 0.70.5, which has no such trouble.

Original comment by dv8box-...@yahoo.com on 18 Aug 2010 at 3:44

Attachments:

GoogleCodeExporter commented 8 years ago
Thanks, found the problem and will be fixed in the next release.

Original comment by cdekter on 18 Aug 2010 at 4:45

GoogleCodeExporter commented 8 years ago
Great.  Thanks.

Original comment by dv8box-...@yahoo.com on 18 Aug 2010 at 12:44