InamuraJIN / ActionRecorder

GNU General Public License v3.0
179 stars 15 forks source link

Category Order does not save #21

Closed gitgithubb closed 1 year ago

gitgithubb commented 3 years ago

Category Order is not recalled when re-openeing Blender Saved Sessions. Auto save enabled, Save to file "Pressed" prior to saving file, then Quit Blender 2.91-2.92

Within the file directory, Category Order, and Names do reflect the changes made and saved. When re-opening (any) saved Blender file, the Category order is not as saved.. (OSX 10.14). But upon re-opening the same Blender file, within the File directory, the Category names and order revert back to unsorted.

1-Category Order upon saving 2-Category Order reflected in defualt directory 3-Category Order upon re-opening same doc

UPDATE - upon pressing "Save to File", the changes are relcted in the file structure, then, immediately upon pressing "Load from File", the file directory naming reverts back to unsorted. *pressing "Save to File" then "Load from File" 2 or more times will yeild a different sort order with each time.

https://user-images.githubusercontent.com/53125841/105272907-48bcef00-5b68-11eb-9408-3947cbff544a.mp4

(performed clean install of blender 2.91-2.92, re-installed addon. problem persists) (disk util shows no error on dsk) defualt folder preferences chosen)

Thanks very much. (hope it is on my end, i see no other mentions). cheers to you and yours. be well.

RivinHD commented 3 years ago

Thank you for your report. I have tried to reproduce the bug, but unfortunately without success.

I'm done some changes and probably find the issue, but I'm not sure because I can't test it. The issue is probably that the OS system sort the folders differently than windows, but this is fixed in the next update.

If you want to fix it now, you can go to ActionRecorder.py in line 526 (this line of code: for folder in os.listdir(AR_Var.StorageFilePath):) and change it with for folder in sorted(os.listdir(AR_Var.StorageFilePath)):.

The changes will be in the next update.

gitgithubb commented 3 years ago

thank you very much for your efforts. so much appreciated. I was not able to verify this on another Mac, so reproducible I could not fully verify. Again thanks much, I understand. be well. cheers.

RivinHD commented 1 year ago

Fixed with Release 4.0.2