Is it already known which plugin(s) are related to this problem?
Have you made a bug report for it in the last 20 months? As long as bugs don’t get reported, they won’t get fixed either. There is a strong correlation between those two.
With also the last remark of Billy_B in that thread there are now at least 4 people reporting this on this user forum.
I don’t use plugins much, and don’t have this problem myself.
Yes, it is known … But it’s not clear where to report? I usually calculate the deletion method by 1 and check … The second problem is that the plugin, after being removed from the manager, can remain in another folder and hang in processes, and in this case only the complete deletion of the folder where it is located helps (from the post above description) … On the one hand, this is a problem of the plugin developer, on the other hand, deleting the plugin from the manager does not always help, and here is the problem of kicad
Another point on the example of the kibom plugin that continues to work and does not close, this behavior only happens on win64 on Linux, everything works fine As a result, there is not only a dependence on the plugin, but also on the platform
Are you sure that everything is ok with your plugins? I can’t trace the dependency, for some reason some of the plugins work fine and the other honor does not allow the program to close completely … somehow it turns out selectively and on which side of the problem it’s hard to say …
the main thing here is to determine which side of the problem, if from the plugin side, then a question to the author if the problem is on the kicad side, then open the error on gitlab
Replication Layout really hangs after closing…
I uninstalled the replicate layout plugin, on work PC problem → gone. (for now, I’ll keep checking)
I reinstalled, problem is still → gone.
I’ll try my other machine tonigh. Though this one also had the problem.
I knew well what you wrote. But I suspected the other plugin… because my problems started about the same time that I installed the plugin. I have used the the JLCPCB plugin much longer than that. And now it seems that the layout replicate plugin may be the cause
I also think plugins should run in some kind of sandbox so they can’t crash KiCad at all. I imagine there are libraries for such things, but all my programming knowledge is on microcontroller level and I don’t know much about PC stuff.
I removed all of my plugins and added them back one-by-one with enough testiing between each move.
It turns out that the plugins that caused my crashing was due to bad Indentation of pcb Refresh!!! Just needed to indent to correct position and Bingo, no more crashing.
I’m not completely finished going through them (just did the one’s I often use so, if it happens again, I’ll re-post…
As of now my plugins work without Crashing when re-opening PCB and Projects/PCB’s.
My plugins include:
embedded action code
running external App’s
tweaking Footprints, layers
calculations, text replacement, graphic tweaks…
track and pad tweaks…
calling wx, Tkinter Graphics, windows and Message Pop-Up’s…
I went through all of my Plugins and found only the one mentioned having Refresh with incorrect indentation. After fixing that, and going throung many Usage-Tests, Open, Close, Open-other Projects and challenging my plugins to Crash, No Problems . So, conclude it was my Oversight at not seeing the indentation of Refresh in one plugin was not consistent with my other plugins, even though that plugin worked.