kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #18650
Re: [PATCH] Use the OS Documents folder for default project instead of CWD
-
To:
kicad-developers@xxxxxxxxxxxxxxxxxxx
-
From:
Wayne Stambaugh <stambaughw@xxxxxxxxx>
-
Date:
Mon, 15 Jun 2015 16:06:49 -0400
-
In-reply-to:
<CAH0ExXpGwppkWMFensctzwbHh6e2vk=kZGjn7jue6uNUMimjTA@mail.gmail.com>
-
User-agent:
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
Hey Martin,
Your patch does not seem to work on windows. When I try to open a new
project from kicad, the file open dialog still points to the kicad
executable path. In my case it's c:\mingw\bin. The Eeschema change
seems to work as expected. Is it possible the path is getting changed
in kicad somewhere before the file dialog is called? Please take
another look at your changes and see if you can resolve this issue.
Cheers,
Wayne
On 6/14/2015 12:26 PM, Martin d'Allens wrote:
> Hi all,
>
> This recent bug complains about the default project path being in a
> read-only directory on Windows:
> https://bugs.launchpad.net/kicad/+bug/1463510
>
> The attached patch changes the default project folder to wx's
> GetDocumentsDir(), which should translate to "$HOME", "...\My Documents"
> (Win), or "~/Documents" (Mac).
> I tested it solely on Ubuntu.
>
> There could be more scenarios where we want to do the same. I tried to
> extend this behaviour to Eeschema's standalone mode for starters, tell
> me if more needs be done.
>
> However the behaviour of writing to some default directory without
> asking is unsettling. I suppose most noname.pro <http://noname.pro> /
> noname.sch wouldn't exist if a "Save as" popup was shown the first time.
>
> Martin
>
>
> _______________________________________________
> 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
>
Follow ups
References