← Back to team overview

kicad-developers team mailing list archive

Re: "Tutorial" on modern toolset events & actions


Hi JP,

Well, that’s certainly not where I was expecting the issue to be.

Cmd-X, Cmd-C and Cmd-D all work in immediate mode on OSX, both with and without the patch.


> On 7 Jul 2019, at 12:06, jp charras <jp.charras@xxxxxxxxxx> wrote:
> Le 06/07/2019 à 19:43, Jeff Young a écrit :
>> OK, not really.  More of an “exercise left to the reader”.
>> I'm working through a bug that doesn’t reproduce on OSX, and so have
>> been leaning on others (JP so far) to do a bit of sleuthing. One
>> side-effect is that there is a lot of info in the bug report for people
>> who aren’t familiar with the modern toolset.  Might be worth reading if
>> you’re interested and haven’t been following it.
>> https://bugs.launchpad.net/kicad/+bug/1835083 
> Hi Jeff,
> Could you test this patch on OSX?
> (This patch is for tests only, not for committing)
> It fixes the Ctrl+D issue on Windows (but do not change anything on Linux).
> On Windows, the root cause was a wxEVT_CHAR_HOOK/wxEVT_CHAR filtering
> that filters the Ctrl+D (and certainly some others Ctrl+ ...) char
> events, and never dispatch it by the event dispatcher.
> The wxEVT_CHAR_HOOK/wxEVT_CHAR event handling is very tricky and is
> specific to each platform and what is working on a platform does not
> always work on the other platforms.
> Even with this patch, the Ctrl+X and the Ctrl+C commands do not work on
> Windows in immediate mode.
> Are they workinf on OSX?
> On Linux, with or without the patch:
> - Ctrl+X and the Ctrl+C commands do not work in immediate mode
> - Ctrl+D selects the symbol, but does not duplicate it.
> -- 
> Jean-Pierre CHARRAS
> <ctrr_d_test.patch>_______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp