On Sun, Sep 22, 2019 at 8:37 AM jkn <[email protected]> wrote:

>> The problem was in the traces.  I'll see what I can do with the bindings.
The --trace=keys traces are now much more informative.
> Cool - thank you!

Alas, there seems to be an intractable Qt problem, explained in #1344
<https://github.com/leo-editor/leo-editor/issues/1344>.  Alt-keys generate
*only* shortcut-override events, and Qt generates *duplicate* events.
Handling them duplicates almost all key presses.

Googling this problem indicates that no easy solution is likely.  The
shortcut-override events come from child widgets, and focus issues are
involved.

I could try ignoring duplicate events, but adding state/history to already
very complex event filters is asking for trouble.  In short, I know of no
reasonable way forward.

Edward

P.S.  There is no problem with making bindings to Alt keys.  The dummy
bindings in leoSettings.leo are never used. The problem is capturing the
incoming key events.

EKR

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/CAMF8tS37%2BDO7T1buggsGnPMTY3g5_vyexvP1UfVNT%3DjYrvcKGQ%40mail.gmail.com.

Reply via email to