Don't require .pro file per board or schematic

Bug #1820693 reported by zakhar nasimov
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
KiCad
Expired
Wishlist

Bug Description

If any of .sch or .kicad_pcb are entitled anything other than a matching existing .pro file in identical directory a spurious .pro file is generated when running them. This might be deliberate and it seems it should reside in a menu configuration option to disable this functionality to permit users to modify different files.

description: updated
description: updated
description: updated
Revision history for this message
Rene Poeschl (poeschlr) wrote :

The normal way to use kicad is to have one project with all its files inside the project directory. Editing hierarchical sheets is then not done by opening them from the OS file browser but with the help of the hierarchical navigator.

Could you therefore explain how you use kicad and why it is necessary for your workflow to use the OS file browser to start editing files?

Revision history for this message
zakhar nasimov (thedocument) wrote :

different revisions or boards which do not need ANY accompanying schematic. The latter is something I have a plurality of boards for which each demand a .pro file for no purpose.

Revision history for this message
zakhar nasimov (thedocument) wrote :

I especially make much use of bitmap to component converter. Its one of the more excellent and utmost useful features of kicad. With this I make boards which do not need any schematics or project files.

Revision history for this message
energijapanikoj@gmail.com (energijapanikoj) wrote :

I also have this issue.

Sometimes I just need to mill out the board partially, excluding the most components, leaving only mechanical related components - connectors, mounting holes, slots, etc. I like to do this simple run of single sided PCB before sending the whole project for manufacturing. What I do is I copy kicad_pcb file to a separate file and remove all the unnecessary stuff. I don't need schematics for that, I just want some footprints at their locked positions. This .pro file autocreation is mildly annoying while I understand that stuf like project related footprint libraries and board settings are saved to .pro file.

On another hand this is related to making kicad more friendly to revision control systems - a lot of stuff is changed in the files while just zooming/panning and showing/hiding layers. It would be cool to have a single separate file containing all this relatively low priority information. I will write a separate wishlist ticket for this.

Revision history for this message
Jeff Young (jeyjey) wrote :

Some board settings are stored in the project file.

But I can change this to a wishlist item to stop doing that.

Changed in kicad:
importance: Undecided → Wishlist
summary: - spurious generation of project files
+ Don't require a .pro file per board
Changed in kicad:
status: New → Triaged
Revision history for this message
Michael Kavanagh (michaelkavanagh) wrote : Re: Don't require a .pro file per board

Maybe only make the .pro file when the board has changes saved?

Seth Hillbrand (sethh)
Changed in kicad:
milestone: none → 6.0.0-rc1
summary: - Don't require a .pro file per board
+ Don't require a .pro file per board or per schematic
Revision history for this message
Seth Hillbrand (sethh) wrote : Re: Don't require a .pro file per board or per schematic

Personally, I find this behavior more annoying when working in eeschema than pcbnew. Mostly because hierarchical sheets will normally generate schematics without associated .pro files. Opening one from stand-alone eeschema will pollute the directory.

This is new behavior introduced to the default loading behavior by lp:1745022

Perhaps a better solution would have been to load a dummy project from the temp location and allow it to be discarded.

summary: - Don't require a .pro file per board or per schematic
+ Don't require .pro file per board or schematic
Revision history for this message
Wayne Stambaugh (stambaughw) wrote :

@Seth, I think using a temporary dummy project file is a workable solution.

Seth Hillbrand (sethh)
Changed in kicad:
assignee: nobody → Seth Hillbrand (sethh)
Revision history for this message
Rene Poeschl (poeschlr) wrote :

Or detect if the directory has already a project file and open that instead of a dummy one (as it is likely that one wants the same settings in such a sub sheet compared to the main sheet even if opening it via the file browser.) Only if there is no project file would i go for creating a dummy project. (See it as opening the project but on a different page than the main one.)

---

Maybe an even better long term solution would be to replace the append schematic functionality with a more powerful copy paste mechanism that can copy between projects (meaning between kicad instances) This would then mean that the standalone mode could be fully dropped.

---

And regarding moving stuff into the schematic or pcb file: well i thought we wanted to move settings out of it to allow easier version control. Would this idea not run counter to that?

Revision history for this message
KiCad Janitor (kicad-janitor) wrote :

KiCad bug tracker has moved to Gitlab. This report is now available here: https://gitlab.com/kicad/code/kicad/-/issues/2363

Changed in kicad:
status: Triaged → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.