nutti / Screencast-Keys

Blender Add-on: Screencast Keys
GNU General Public License v3.0
1.27k stars 112 forks source link

Autosave stops working when screencast keys is on #83

Closed Evgen0040 closed 2 years ago

Evgen0040 commented 2 years ago

System Information

Expected behavior
Blender make new autosave accordingly to autosave settings

Description about the bug
When add-on is enabled in n-menu blender not creating new autosave file, after disabling screencast keys from n-menu new autosave file appears immediately

nutti commented 2 years ago

In the modal mode, auto saving is disabled from Blender's specification. But I will try to tackle this issue with some ideas.

mac4kent commented 2 years ago

Check YouTube I made to show you. https://youtu.be/0IAvdEJrBQs

mac4kent commented 2 years ago

I hope you understand about auto save on Preferences or manual click (Save Pref) button https://youtu.be/gv75teq1chY about Push the N key same thing

Mets3D commented 2 years ago

I suspect this won't be fixable unless it's fixed on Blender's side. In the meantime, I'd maybe add a warning with red text that pops up underneath the checkbox when it's enabled, to inform the user that autosave is disabled. AFAIK this has been an issue since at least 2.76, and I've seen a lot of users, including myself, my colleagues, and this guy: https://developer.blender.org/T95171 lose work because of it.

nutti commented 2 years ago

@Mets3D

Yes, I have already known this issue. So, I'm trying to call bpy.ops.wm.save_as_mainfile operator in modal method per several seconds. This is not complete solution, but we could imitate the blender's behavior for auto saving. Any comments are welcomed.

nutti commented 2 years ago

This issue is now solved. If the custom auto save feature, enable Auto Save option. However, be careful to enable this option because this hacks the internal structure of Blender. So this option is experimental option same as Get Event Aggressively option.

issue_83

mac4kent commented 2 years ago

GOOD Blender 3.1.0 is release right now I let you know.

mac4kent commented 2 years ago

Preferences I did check box turn on Auto save not work after push the 'N' key setting.