kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #32568
Re: eeschema regression
I was working a new board and I'm seeing this now too. I didn't make
any changes to this code so who ever broke it, please fix it. You
shouldn't need to reload the entire library table every time you add a
symbol. The library caches should only get reloaded the first time they
are opened, a change occurs to the library file since the last time they
were opened (this is automatic and doesn't require you do anything), or
changes are made to the library table.
On 12/17/2017 2:19 PM, Nick Østergaard wrote:
> I am not sure why, but I see the progress dialog opened for an equal
> amount of time every time in my case. Testing on windows 10.
>
> The path Seth proposed seem to work sort of. But it does not show the
> loading dialog on init and I get an error dialog shortly after I open
> eeschema that it fails to load a dcm file. This error does not occur
> without Seths patch.
>
> But on subsequent additions of a symbol the dialog is not shown and with
> no delay as expected.
>
> 2017-12-16 23:52 GMT+01:00 Oliver Walters
> <oliver.henry.walters@xxxxxxxxx <mailto:oliver.henry.walters@xxxxxxxxx>>:
>
> Wayne,
>
> I believe you are correct, they are cached and the progress dialog
> is the actual source of the perceived delay. If this dialog is only
> shown on first library load that would be sufficient.
>
> On Sun, Dec 17, 2017 at 12:40 AM, Wayne Stambaugh
> <stambaughw@xxxxxxxxx <mailto:stambaughw@xxxxxxxxx>> wrote:
>
> Are you sure the libraries are actually being reloaded? The
> behavior I
> observe is the first time I open the symbol chooser, the
> progress dialog
> is open for a significant amount of time while the libraries are
> being
> loaded. On all subsequent openings of the symbol chooser, the
> progress
> dialog is dismissed very quickly indicating that the libraries have
> already been cached. I agree that the progress dialog being
> displayed
> every time the symbol chooser is opened is annoying. I probably
> merged
> this patch too quickly. After the initial loading of all of the
> symbol
> libraries, the progress dialog doesn't need to be shown.
>
> On 12/15/2017 09:10 PM, Oliver Walters wrote:
> > I think that there has been a functional regression in a
> recent build,
> > relating to placing symbols in eeschema.
> >
> > Previously, the libraries were loaded once when the schematic
> was opened.
> >
> > now, the entire symbol library set is re-loaded every time you
> select
> > "Place Symbol". This brings up the "loading symbol libraries"
> progress
> > dialog before opening the component selector window.
> >
> > This is very tedious - especially on Windows where loading
> symbols can
> > be an order of magnitude slower than linux. It really
> interrupts work flow.
> >
> > I do not imagine this is intended behaviour? Can anyone
> comment on this?
> >
> > Oliver
> >
> >
> > _______________________________________________
> > Mailing list: https://launchpad.net/~kicad-developers
> <https://launchpad.net/~kicad-developers>
> > Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
> <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
> > Unsubscribe : https://launchpad.net/~kicad-developers
> <https://launchpad.net/~kicad-developers>
> > More help : https://help.launchpad.net/ListHelp
> <https://help.launchpad.net/ListHelp>
> >
>
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> <https://launchpad.net/~kicad-developers>
> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
> <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
> Unsubscribe : https://launchpad.net/~kicad-developers
> <https://launchpad.net/~kicad-developers>
> More help : https://help.launchpad.net/ListHelp
> <https://help.launchpad.net/ListHelp>
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> <https://launchpad.net/~kicad-developers>
> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
> <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
> Unsubscribe : https://launchpad.net/~kicad-developers
> <https://launchpad.net/~kicad-developers>
> More help : https://help.launchpad.net/ListHelp
> <https://help.launchpad.net/ListHelp>
>
>
Follow ups
References