← Back to team overview

kicad-developers team mailing list archive

Re: EESchema save project file behavior.

 

On 8/17/2011 3:32 PM, Dick Hollenbeck wrote:
> On 08/17/2011 01:37 PM, Wayne Stambaugh wrote:
>> Does anyone know why the wxFileDialog is displayed every time the project
>> (.pro) file is saved?  None of the other files saved by EESchema exhibit this
>> behavior.  It seems to me that this should be transparent to the user.  If the
>> project file needs to be saved to a different file and/or folder, there should
>> probably be a separate "Save Project As" command in the file menu.  I also find
>> it strange that the project file is not saved when the rest of the schematic is
>> saved in the SCH_EDIT_FRAME::SaveProject() function.  The reason I am asking is
>> I am adding checks to make sure the user has write privileges before attempting
>> to save any files to prevent a bunch of file write errors and apparently a
>> crash bug (https://bugs.launchpad.net/kicad/+bug/811118) on some systems.  If
>> no one has any objections, I'll make the changes to the save project file
>> function and add a save project as command along with the user privilege checks.
>>
>> Wayne
> 
> 
> One lowly and lonely voice saying no objections....
> 
> 
> Please give the path on *.pro a good looking over while you are in there
> refurbishing.
> 
> In the back of my mind yesterday I thought I saw a case where at least a window
> title or something was not correct WRT to the path where the project file was
> supposed to go into.
> 
> 
> 1) load eeschema from the command line, no arguments.
> 
> 2) Save the initial empty schematic as /tmp/test.sch
> 
> 3) Somewhere in there I thought I saw a bad path on the *.pro file, (perhaps it
> was just a window title or something).  Just consider it piss poor memory on my
> part, I'm not quite accepting it yet myself, but it looks like I should.

I'm in the same boat.  Thank God for smart phones and calendar apps or I would
really be in trouble.  If you happen to stumble across the problem again, let
me know and I'll fix it.

Wayne

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


References