Comment 7 for bug 1740022

Revision history for this message
Jan Krieger (jkriege2) wrote :

This issue is also there for pcbnew (just tested with recent nightly above). If I try to select a footprint, it accesses the path set by environment variables, which does not exist there! After opening and closing the env var dialog it accesses the correct location (set in the dialog).

> Ad point 3, IMHO systems variables should ALWAYS override.
You mean that they should always take precedence over what a user sets in KiCAD? I would disagree here. I would see it like this:

KiCAD should use system environment variables, when nothing is set inside KiCAD. If I (as a user) set something else in KiCAD, that should either overwrite the system variables (expected behaviour #1, IMHO), or store the new value in the KiCAD config-files and apply it to overwrite whatever is set in the system env. vars. (expected behaviour #2, this seems to be what KiCAD does at the moment, except the overwrite-part, which only works when opening and closing the env. var. dialog).

The current behaviour is somehow inconsistent, as it depends on whether I open a dialog (to view the variables) or not.