File operations, bugs and change requests
Bug #1773409 reported by
Dr M
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pcb |
Fix Released
|
Low
|
Chad Parker |
Bug Description
There are several issues in the dialogues and actions under the file menu.
1) The dialogue to load layout or net file should open in the same directory as the already open pcb file. I spend a lot of time repeatedly navigating back to my work directory from this dialogue.
2) The gsch2pcb or load layout item, I figure which, where it should have simply changed one foot print, instead reinitialized the pcb file, trashing my layout and causing a loss of about one hour of work.
Changed in pcb: | |
assignee: | nobody → Chad Parker (parker-charles) |
importance: | Undecided → Low |
milestone: | none → pcb-4.2.0 |
status: | New → In Progress |
Changed in pcb: | |
status: | In Progress → Fix Committed |
Changed in pcb: | |
milestone: | pcb-4.2.0 → pcb-4.1.3 |
Changed in pcb: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
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?