"Configure path" does not apply on startup

Bug #1747428 reported by Dominik B
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Expired
Undecided
Unassigned

Bug Description

I am using prebuild KiCad nightly dc66b73a2 from the 02.02.2018 on Windows 10

I have no KiCad environment variables set on my system (Windows).
I want to use the "Configure path" option to set the locations of my library's. To apply them I need to open the dialog and press ok, they get not applied automatically on startup ok KiCAD.

Tags: starter
Dominik B (matyro)
description: updated
description: updated
Dominik B (matyro)
tags: added: eeschema
tags: added: starter
removed: eeschema
Revision history for this message
Oivind Toien (otoien) wrote :

Seems related to Bug #1743823 and Bug #1740022.
If System environment variables have not been installed at any point (they must be *actively ticked off* on install) the Configure path definitions are obeyed on startup (windows version 2018-02-05 revision d1a45d147, assuming they have previously been correctly configured).

Otherwise the system environment variables will take precedence.

Revision history for this message
Wayne Stambaugh (stambaughw) wrote :

Can someone tell me if unchecking the system environment variables option in the windows installer will remove any existing system environment variables set be previous installs? If it doesn't, we may want to consider doing so or we will have lots of bug reports due to this issue.

Revision history for this message
Wayne Stambaugh (stambaughw) wrote : Re: [Bug 1747428] Re: "Configure path" does not apply on startup

On 2/8/2018 2:32 PM, Wayne Stambaugh wrote:
> Can someone tell me if unchecking the system environment variables
> option in the windows installer will remove any existing system
> environment variables set be previous installs? If it doesn't, we may
                         ^^ by ^^
> want to consider doing so or we will have lots of bug reports due to
> this issue.
>

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

@Dominik, I made some changes to the logic here today. When you get a chance could you re-test this and see if it's fixed for you?

Revision history for this message
Dominik B (matyro) wrote :

I have no error currently but all my symboles got replaces with questionmarks. I will try to fix this and retest it

Jeff Young (jeyjey)
Changed in kicad:
status: New → Incomplete
Revision history for this message
Oivind Toien (otoien) wrote :

>Can someone tell me if unchecking the system environment variables option in the windows installer will >remove any existing system environment variables set be previous installs? If it doesn't, we may want to >consider doing so or we will have lots of bug reports due to this issue.

They will not, if they have previously been installed they need to be removed actively in Windows:
Start->(right-click)Computer->Properties->Advanced System Settings->Environment Variables

However I think that if the installer got the option to install system environment variables ticked off by default opposed to the current situation, a lot fewer users that keep the libraries in their home directory will fall into the trap of installing this option that overrides the custom path settings in KiCad. (Of course it would be even better if this setting this option to the off state would also do the work of removing existing system environment variables on install.)

There is an ongoing thread in forum on this problem:
https://forum.kicad.info/t/setting-path-variables/10365

Revision history for this message
David Pearce (halzia) wrote :

Non-administrator level users won't be able to disable the Windows Path settings.
As the defaults make 3D model downloads go to a directory that is read only for non-admins, the logic is broken here

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for KiCad because there has been no activity for 60 days.]

Changed in kicad:
status: Incomplete → 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.