Maniphest T66674

Load Factory Settings autosaves changes to preferences after loading another .blend file
Closed, Archived

Assigned To
Campbell Barton (campbellbarton)
Authored By
Brecht Van Lommel (brecht)
Jul 10 2019, 7:40 PM
Tags
  • BF Blender
  • Blender Studio
Subscribers
Brecht Van Lommel (brecht)

Description

System Information
Operating system: Linux-4.15.0-54-generic-x86_64-with-debian-buster-sid 64 Bits
Graphics card: Quadro RTX 5000/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 430.17

Blender Version
Broken: version: 2.80 (sub 74), branch: master, commit date: 2019-07-10 15:05, hash: rBbb7b741d2f1c
Worked: (optional)

Short description of error
When using Load Factory Settings it should skip autosave. However this skip autosave state is cleared after opening another .blend file.

Exact steps for others to reproduce the error

  • Load Factory Settings
  • Change e.g. Interface > Display > Resolution Scale in the preferences.
  • Open a .blend file.
  • Quit.
  • Restart Blender and preferences will have been saved.

Event Timeline

Brecht Van Lommel (brecht) assigned this task to Campbell Barton (campbellbarton).Jul 10 2019, 7:40 PM
Brecht Van Lommel (brecht) lowered the priority of this task from 90 to High.
Brecht Van Lommel (brecht) created this task.
Brecht Van Lommel (brecht) updated the task description.
Brecht Van Lommel (brecht) added a project: Blender Studio.
Brecht Van Lommel (brecht) updated the task description.Jul 10 2019, 7:42 PM
Campbell Barton (campbellbarton) added a comment.EditedJul 12 2019, 7:17 AM

I can't redo this error, I've tried --factory-startup, resetting from file menu, resetting from the preferences menu.

Then opening a file from the file selector & recently opened files list.

Also clearing ~/.config/blender path and re-creating preferences just in case some local change caused it to work, still no luck.

From what I can see this should never happen because all file reading goes via WM_file_read, which keeps all G_FLAG_ALL_RUNTIME flags set as-is (which includes G_FLAG_USERPREF_NO_SAVE_ON_EXIT).

Brecht Van Lommel (brecht) changed the task status from Unknown Status to Unknown Status.Jul 12 2019, 11:46 AM

I can't reproduce it now either, I must have made a mistake.

Brecht Van Lommel (brecht) lowered the priority of this task from High to Normal.Jul 12 2019, 11:46 AM