Page MenuHome

Application Template: custom useprefs are not read/written correctly
Open, Waiting for Developer to ReproducePublic

Description

System Information
Operating system: Windows-10-10.0.16299 64 Bits
Graphics card: GeForce GTX 670/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 399.07

Blender Version
Broken: version: 2.80 (sub 74), branch: blender2.7, commit date: 2019-06-11 23:43, hash: rB6529d20d79a5
Worked: (optional)

Short description of error
For an Application Template which provides a startup.blend and a userpref.blend:

  • At opening: The main preferences are read.
  • At saving: The main preferences and the application template preferences are written.

Exact steps for others to reproduce the error

  • Install the application template:
  • In SplashScreen choose Example Template
  • Open the console, you can read:

Read prefs: C:\Users\Name\AppData\Roaming\Blender Foundation\Blender\2.80\config\userpref.blend

It's wrong, the path must be:

...\2.80\config\Example_Template\userpref.blend

  • Open User preferences, change something, save preferences. In the console:

Writing userprefs: 'C:\Users\Name\AppData\Roaming\Blender Foundation\Blender\2.80\config\userpref.blend' ok
Writing userprefs app-template: 'C:\Users\Name\AppData\Roaming\Blender Foundation\Blender\2.80\config\Example_Template\userpref.blend' ok

It writes both main userpref and the app-template's. It must write only the app-template's.

Details

Type
Bug

Event Timeline

Sebastian Parborg (zeddb) triaged this task as Waiting for Developer to Reproduce priority.