Bug report #17297
Overwriting environment variables with custom variables in Options -> System does not work
|Affected QGIS version:||master||Regression?:||Yes|
|Operating System:||Windows 7 x64||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:|
|Crashes QGIS or corrupts data:||No|
When one overwrites an environment variable that is defined on the system level with a custom variable defined by the user (in Menu Settings --> Options --> System --> Environment) the new value is picked up, but not correctly used.
Example: define variable PGSYSCONFDIR centrally on the system, overwrite it with a custom PGSYSCONFDIR variable on the user level. In the list of "Current environment variables" the new custom value correctly shows up, but the old value before overwriting is still used.
See also screenshot attached
It is a regression. It worked fine on 2.18x