Saving Preferences on a App template, overwrites the default preferences also
Open, Needs TriagePublic

Description

System Information
Operating system and graphics card
Win10 64b - ATI Radeon

Blender Version
Broken: 2.79
Worked: Never
Short description of error

When an App template is loaded, saving the user preferences should only save the userpref.blend for the current template. But instead it overwrites the default template, followed by the config/{template_name}/userpref.blend

Exact steps for others to reproduce the error
Change the template to a custom one, do some changes in the preferences, save user_settings. It will output both write commands in the console, and after reverting to the default template, those preferences are still active.

Details

Type
Bug
Miguel Porces (cmporces) renamed this task from Saving Preferences on a App template, overwrites the default template also to Saving Preferences on a App template, overwrites the default preferences also.Thu, Nov 9, 12:31 PM
Miguel Porces (cmporces) updated the task description. (Show Details)

I can confirm the same issue here on Win10Pro 64bit and Blender 2.79 official portable 64bit.

This is being done on purpose since the template is not used for all preferences.

Unfortunately this means some changes will overwrite the regular preferences.

To solve properly we need to either split preferences into multiple files, or merge so the changes from the template arent kept (probably the best short term solution)