On 1/18/2016 12:23 PM, jp charras wrote:
> Le 18/01/2016 17:26, Chris Pavlina a écrit :
>> Good points.
>>
>> Would you agree that at least "Save" is currently broken? It does not 
>> allow you to save to a different project file. It displays the file 
>> selector dialog, but then ignores the selection and saves to the current 
>> project.
>>
>> Actually, "Load" seems to do this too.
> 
> Yes, they are broken.
> 
>>

<<< snipped >>>

>>
>> Would you be okay with me doing that?
> 
> I am OK.

I started working this a long time ago but got side tracked with being
the project manager.  I'm fine with this being cleaned up.  You may want
to go through the settings carefully and make sure they a separated
correctly.  There may still be some project vs. application (user)
settings still being interleaved and saved in the wrong place.

> 
> If you want to enhance the .pro file, add also in this file the path of
> the saved gerber and drill files (Eeschema already save the path of plot
> files).

Makes sense to save these at the project level.

> 
> It could be worth to know this path when running Gerbview from Kicad.
> The path and all other plot prms is already saved in the .kicad_pcb
> file, but this is not a very good idea (at least for some of them).
> The right place is the .pro file, not the board file, because these
> parameters can be used outside Pcbnew.

It's probably too late to move these settings from the board file.  I
don't want to break the board file format to change this.  Moving
forward, I would prefer that project related settings be saved in the
.pro file rather than the board and/or schematic file.  I've never been
fond of the fact that my board file changes when I change the plot
settings or the change layer visibility because I use a VCS for version
control.

> 
>>
>> On Mon, Jan 18, 2016 at 05:05:51PM +0100, jp charras wrote:
>>> Le 17/01/2016 19:02, Chris Pavlina a écrit :
>>>> Hi,
>>>>

<<< snipped >>>

>>>>
>>>> - Replace Save/Load Preferences with something like Import/Export 
>>>>   Hotkeys. Instead of saving to the project file, save to a separate 
>>>>   settings file. This would resolve *my* first major misunderstanding, 
>>>>   which is why even though "Save Preferences" saves to the project file, 
>>>>   "Load Preferences" doesn't execute at project load.

Using export makes more sense than save.  Updating the .pro file should
happen automatically when the project is closed.

>>>>
>>>> I *think* this is more what it's used for, anyway - just having a place 
>>>> to import and export preferences to.
>>>>

<<< snipped >>>

>>>
>>> The footprint library table is no more stored as "Preferences".
>>> I am thinking the components library list (which are still in the
>>> project config file) will be soon stored in something like a component
>>> library table (Wayne ?).

Yes.  There will be a schematic symbol library table designed very much
like the footprint library table so the symbol libraries in the .pro
file will go away at some point in the future.

>>>
>>> Therefore the purpose of the project file (the .pro file) have to be
>>> redefined.
>>> However, we need to wait the new Eeschema version, to change the .pro file.
>>>
>>> Here is what I am thinking:
>>> * the .pro file should store info shared between eeschema / pcbnew /
>>> Gerbview (for instance like paths used to store plot files : the path
>>> for Gerber and drill file could be used by Gerbview) and a few options
>>> specific to the project )
>>>
>>> * Note also the library tables which were saved in the .pro files are
>>> (of will be) saved in separate files, and the .pro file should not
>>> contains a lot of info.
>>>
>>> To avoid misunderstandings:
>>> * Save/Load Preferences is (or should be) actually Save/Load only
>>> project settings, and called Save/Load Project Settings.
>>>
>>> * I am not sure the Save/Load is very useful (only saving project
>>> settings as template to build a new template kicad.pro is useful)
>>> It could be removed
>>> (perhaps just have option "Make a template .pro file from this project")
>>>
>>> * Preferences should be only the user preferences (like colors, size and
>>> position of windows, autosave delay...)
>>> (hotkeys import/export is currently an other topic, and has nothing to
>>> do with Preferences and Project Settings config files in kicad code)
>>>
>>> -- 
>>> Jean-Pierre CHARRAS
>>>
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~kicad-developers
>>> Post to     : kicad-developers@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~kicad-developers
>>> More help   : https://help.launchpad.net/ListHelp
>>
> 
> 

_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to     : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to