Load Factory Settings autosaves changes to preferences after loading another .blend file #66674

Closed
opened 2019-07-10 19:40:07 +02:00 by Brecht Van Lommel · 4 comments

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: blender/blender@bb7b741d2f
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.
**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: `blender/blender@bb7b741d2f` 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.

Added subscriber: @brecht

Added subscriber: @brecht
Campbell Barton was assigned by Brecht Van Lommel 2019-07-10 19:40:23 +02:00

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).

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`).

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'

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

I can't reproduce it now either, I must have made a mistake.
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: studio/blender-studio#66674
No description provided.