[Kicad-developers] BOM component table dialog (quasi-)modality in osx
Hi, I’ve lurked this list for quite some time, and finally applied to join, so thank you for approving me. I hope I can make some contributions to this excellent project. I use KiCAD in OSX 10.12 and noticed an issue with the recent BOM component table feature. When closing the dialog box, the main KiCAD windows and menus still behave as if a modal dialog box is still open: all menu items are greyed-out, and the windows don't respond to clicks or other events, and I have to kill the process from the OS. After reading some explanations in the comments, I can’t say I fully grasp the issue, but when I try invoking and closing the dialog as QuasiModal, it seems to work. I don’t know if this breaks it for other OS’s or if it violates a UI policy, so please let me know if there’s a better way! Attached is the simple hack I made. thanks! From 2253bec68af9b0b4ffc177bccc1325b4702ee084 Mon Sep 17 00:00:00 2001 From: danngreenDate: Thu, 1 Jun 2017 13:08:17 -0700 Subject: [PATCH] Made BOM editor dialog quasi modal --- eeschema/dialogs/dialog_bom_editor.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/eeschema/dialogs/dialog_bom_editor.cpp b/eeschema/dialogs/dialog_bom_editor.cpp index e5114e533..f1d9a9aee 100644 --- a/eeschema/dialogs/dialog_bom_editor.cpp +++ b/eeschema/dialogs/dialog_bom_editor.cpp @@ -44,7 +44,7 @@ int InvokeDialogCreateBOMEditor( SCH_EDIT_FRAME* aCaller ) { DIALOG_BOM_EDITOR dlg( aCaller ); -return dlg.ShowModal(); +return dlg.ShowQuasiModal(); } DIALOG_BOM_EDITOR::DIALOG_BOM_EDITOR( SCH_EDIT_FRAME* parent ) : @@ -129,6 +129,7 @@ bool DIALOG_BOM_EDITOR::CloseDialog() { if( !m_bom->HaveFieldsChanged() ) { +EndQuasiModal( wxID_CANCEL ); Destroy(); return true; } @@ -146,6 +147,7 @@ bool DIALOG_BOM_EDITOR::CloseDialog() break; } +EndQuasiModal( wxID_CANCEL ); Destroy(); return true; } -- 2.11.0 ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp
[Kicad-developers] Hello & Questions to future Administration of Python Plugins
Hi everyone, Thanks Wayne for approving me to the developers mailing list. I am very new to KiCAD (only heard of it some time ago) and just stumbled upon a Youtube Video of 2017 FOSDEM (I believe?) where Wayne presented the current state of KiCAD. As a result I had to see for myself and I am quite impressed of the development of KiCAD in the last years! Very impressive. I am a Researcher working in the areas of IC Design, (RF-) PCB Design and I am also a quite realiable programmer (thats what I think anyway :-)). I am used to EAGLE CAD (from the oldern days) and Altium Designer (ugh..). For IC Design we use Cadence Virtuoso. Now, what really kicks me off with KiCAD is the (still very early) Python support. In my opinion, it is definitely the right choice to pull some non-major functionality from the main KiCAD core and implement it into Python. Why? Simply because that way it is much easier for people to modify, tweak, extend and bugfix the KiCAD software, without having to study the KiCAD core. I want to be the living proof for this fact ;-) I already have some ideas for pcbnew plugins. E.g. a Via-Fence Generator (select a line-segment in pcbnew, start generator and enjoy the vias to the left and right of the line). There is similar functionality in Altium, but it is very rudimentory and cannot be adjusted or tweaked very much. Also it is sometimes quite buggy resulting in non-ideal via placement and due to this we usually place those vias (with GCPW transmission lines for example) by hand... I think this would be a nice example of what non-proficient users could add to KiCAD without ever touching anything belonging to the KiCAD C++ core application (where the latter would not fit into my available spare time due to its complexity, sorry!) Anyway, what I wanted to ask before even starting with the development is the following. I know the current status of the Python interface in pcbnew is very limited and "only" an interface generated by SWIG. So I guess there will be some heavy adjustments in the API in the future (which is fine with me). Is it planned in the future to make plugins part of the KiCAD distribution (i.e. ship them within the distro packages?)? (Or do KiCAD users have to find a way for organizing a repository of KiCAD plugins?) If yes, is the correct place to discuss their development (and request features) in this mailing list? Or should the forums be used instead/at first? I guess that is it for now. A big thanks to all the developers and especially the CERN folks. I put in a donation a few days ago :-) Best Regards ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp
Re: [Kicad-developers] did something happened?
No, I guess people are simply busy with other things. 2017-06-01 17:37 GMT+02:00 Fabrizio Tappero: > hi guys, > I am experiencing a very low email traffic in this mailing list. Did > something happened? > > cheers > Fabrizio > > > ___ > Mailing list: https://launchpad.net/~kicad-developers > Post to : kicad-developers@lists.launchpad.net > Unsubscribe : https://launchpad.net/~kicad-developers > More help : https://help.launchpad.net/ListHelp > ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp
Re: [Kicad-developers] did something happened?
May be people moved to the discourse forum?, :) On Jun 1, 2017 17:38, "Fabrizio Tappero"wrote: > hi guys, > I am experiencing a very low email traffic in this mailing list. Did > something happened? > > cheers > Fabrizio > > > ___ > Mailing list: https://launchpad.net/~kicad-developers > Post to : kicad-developers@lists.launchpad.net > Unsubscribe : https://launchpad.net/~kicad-developers > More help : https://help.launchpad.net/ListHelp > > ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp
[Kicad-developers] did something happened?
hi guys, I am experiencing a very low email traffic in this mailing list. Did something happened? cheers Fabrizio ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp