Closed GoogleCodeExporter closed 8 years ago
If both send_key and fake_keypress don't work, there is no way to fix it (those
are the only two available methods in X of generating key events).
Original comment by cdekter
on 11 Aug 2010 at 10:04
fair enough thanks, maybe i can turn something off in ff
Original comment by tpowe...@gmail.com
on 11 Aug 2010 at 10:45
Actually if the backtrace you posted on the other bug just a little while ago
was produced at the time this bug was occurring, it might be something else.
Can you get me a log produced during execution of your script with firefox?
Original comment by cdekter
on 11 Aug 2010 at 11:03
Sure this is from just now, i've changed to 70.0.5 since the one above btw
DEBUG - interface - New window mapped, grabbing hotkeys
DEBUG - interface - New window mapped, grabbing hotkeys
DEBUG - interface - New window mapped, grabbing hotkeys
DEBUG - interface - New window mapped, grabbing hotkeys
DEBUG - interface - New window mapped, grabbing hotkeys
DEBUG - iomediator - <super> pressed
DEBUG - service - Key: u'j', modifiers: ['<super>']
INFO - service - Matched hotkey phrase/script with prompt=False
DEBUG - service - Script runner executing: Script('arr_down')
DEBUG - interface - Send special key: [u'<down>']
DEBUG - iomediator - <super> released
Original comment by tpowe...@gmail.com
on 11 Aug 2010 at 11:17
PS: it's been very consistent in it's not working in google/firefox etc, some
mention of something similar here for ironahk if that makes any sense?
http://www.autohotkey.com/forum/topic34421-45.html
Tobias has written X11 hooks which uses polling to capture events in GTK
windows that use non-standard registers such as gnome-do and the awesome bar in
Firefox.
Original comment by tpowe...@gmail.com
on 11 Aug 2010 at 11:32
Hmm now I don't see any issue any more... oh well
Original comment by cdekter
on 11 Aug 2010 at 11:32
Original comment by cdekter
on 12 Aug 2010 at 1:36
Just to say, i get the behaviour i want in firefox if i use phrases that
contain the key (i.e. <down>) rather than send_key, crashes a fair bit though!
:¬)
Original comment by tpowe...@gmail.com
on 14 Aug 2010 at 9:26
... or if i use send_keys instead of send_key to send single keys! Combinations
are always fine.
Original comment by tpowe...@gmail.com
on 14 Aug 2010 at 9:37
That's really weird, the underlying code is the same. Might be some kind of
timing-sensitive bug I guess. At least you got it working...
Original comment by cdekter
on 14 Aug 2010 at 9:45
Timing sounds plausible, there's a lag with every action in the awesome bar
(while it listens for bookmarks etc?) and it crashes if I hold down the hotkey
associated with the action for too long, has made me happy anyway, can get the
behaviour i want as long as i'm gentle with it.
Original comment by tpowe...@gmail.com
on 14 Aug 2010 at 9:57
Original issue reported on code.google.com by
tpowe...@gmail.com
on 11 Aug 2010 at 5:30