pcb

Comment 6 for bug 1773409

Revision history for this message
Dr M (drmcn) wrote : Re: [Bug 1773409] Re: File operations, bugs and change requests

I can confirm that it had no default when it opens the netlist file.
The default should be the same directory as the pcb file.

On 05/27/2018 01:03 PM, Chad Parker wrote:
> Regarding #1:
>
> It looks like pcb should be keeping track of three different
> directories: a layout dir, an element dir, and a netlist dir. So, the
> first time you load any of these three things, the path should be your
> working directory, probably home if you are launching through a gui. The
> second time you load a layout, it should open pointing at the same
> directory your current layout is in. The second time you load a netlist,
> it should open pointing to the same directory your current netlist is
> in. And ditto for elements.
>
> Can you confirm this behavior?
>
> If you were to launch pcb from a terminal in which the current directory
> were the directory of your layout, then that directory would be the
> working directory, and the dialogs should open pointing there.
>
> One way to perhaps make this a little kinder would be to use the "layout
> dir" as a fallback for the netlist dir or element dir if they aren't set
> yet. However, I can conceive of instances in which this would be
> undesirable. For example, if a user keeps their footprint library in
> $HOME/lib/pcb/footprints , then it would be more convenient to have the
> opening directory be your home directory.
>
> So, perhaps opening netlists should use the layout directory but loading
> elements should not?
>