Re: [Kicad-developers] Tool processing & RunHotKey return

2019-07-27 Thread Jeff Young
I think JP ran into this earlier, so he might know more about it. Another issue might be that at the end of the tool loop the event will get skipped which will send it to wxWidgets for processing (at which point it will probably come back as a hotkey again). We might already have logic to deal

[Kicad-developers] Tool processing & RunHotKey return

2019-07-27 Thread Ian McInerney
In the tool dispatcher currently, if any action is associated with a key combination (even if the action is not handled by any active tools) then a key event with that combination will not progress further than the dispatchHotKey function in the dispatcher. For instance, this means that the letter

Re: [Kicad-developers] [Patch] Log traces for tool dispatch

2019-07-27 Thread Ian McInerney
Whoops, ignore the patch in the last email since it appears a log statement slipped out of an if null check. Here is an updated patch. -Ian On Sat, Jul 27, 2019 at 5:30 PM Ian McInerney wrote: > As I was working on the cvpcb actions, I needed to trace the tool dispatch > routes through the

[Kicad-developers] [Patch] Log traces for tool dispatch

2019-07-27 Thread Ian McInerney
As I was working on the cvpcb actions, I needed to trace the tool dispatch routes through the stack, so I went ahead and added a new debug trace for monitoring the dispatch events. It is contained in the attached patch. I don't guarantee that I found every location they pass through, but I got the

Re: [Kicad-developers] Bus upgrades merge

2019-07-27 Thread Diego Herranz
Thanks, JP. I've created https://bugs.launchpad.net/kicad/+bug/1838140. Cheers, Diego On Sat, 27 Jul 2019 at 15:03, jp charras wrote: > Le 27/07/2019 à 14:35, Diego Herranz a écrit : > > Hi, all. > > > > I'm using nightlies and facing a weird bug with buses. I was wondering > > whether it can

Re: [Kicad-developers] PCBNew Find and "match words"

2019-07-27 Thread Wayne Stambaugh
I just looked and it appears that this got removed. I guess we will have to add FR_SEARCH_REGEX to the FIND_REPLACE_FLAGS enum in include/base_struct.h and then add a wxRegex search to EDA_ITEM::Matches() to provide regular expression searching. On 7/26/19 5:21 PM, Jeff Young wrote: > Oh cool.

Re: [Kicad-developers] Bus upgrades merge

2019-07-27 Thread Diego Herranz
Hi, all. I'm using nightlies and facing a weird bug with buses. I was wondering whether it can be related to these bus upgrades. I've got a bus: ROW0, ROW1, ROW2, ROW3, ROW4, ROW5, ROW6, ROW7, which on the PCB layout becomes ROW0, ROW0, ROW0, ROW0, ROW0, ROW0, ROW0, ROW7 ??? It seems to be

Re: [Kicad-developers] PCBNew Find and "match words"

2019-07-27 Thread Thomas Pointhuber
That looks quite like the "Edit Symbol Fields" dialog. I would suggest to extend this one instead of creating your own one. What I would like to see is an advanced search for components, having at least the filter features of cvpcb. This would allow ditching the redundant dialogs for symbol and

Re: [Kicad-developers] [PATCH] Board statistics dialog

2019-07-27 Thread Diego Herranz
I've been testing this dialog and I think it is a nice addition. Thanks! There seems to be something wrong with the area calculation, though. See image below: [image: area.png] Thanks, Diego On Tue, 23 Jul 2019 at 11:18, Ian McInerney wrote: > Alexander, > > Instead of declaring the 2 static

Re: [Kicad-developers] PCBNew Find and "match words"

2019-07-27 Thread Dino Ghilardi
Also as an example of possible U.I. for search, including common, simple and advanced options. https://www.youtube.com/watch?v=QCMddxkKe8k (starting around 0:18 of the video). Cheers, Dino. On 26/07/19 23:21, Jeff Young wrote: Oh cool. I’ll look into it…. On 26 Jul 2019, at 14:57,