Minder icon indicating copy to clipboard operation
Minder copied to clipboard

Option to disable autosave.

Open mbledkowski opened this issue 2 years ago • 11 comments

Hi, I would like to ask you to add an option to disable autosave. It would be useful for the people that keep their minder files in git repositories. Best regards, Maciej Błędkowski @mbledkowski

mbledkowski avatar May 05 '22 14:05 mbledkowski

I'm not sure I understand the issue with auto-saving to a file that is managed by GitHub. How does this cause issues?

phase1geo avatar May 05 '22 20:05 phase1geo

The issue in my case is that I keep minder mindmap with other code in one repository. When I want to check something in the mindmap, minder automatically makes changes to the file and saves them (moving around for some reason changes the data in the file).

mbledkowski avatar May 06 '22 01:05 mbledkowski

The mindmap file is changed because Minder keeps track of the scroll position so that if the app is closed and reopened, the app looks the same as it did before the close which is a usability feature of elementary OS apps.

phase1geo avatar May 09 '22 16:05 phase1geo

The elementary OS HIG is also the reason why the app auto saves. I don't wish to alter this feature of the app.

phase1geo avatar May 09 '22 17:05 phase1geo

I am asking just for an option in app preferences, I am not saying that it should be disabled by default or anything like that.

mbledkowski avatar May 09 '22 19:05 mbledkowski

FYI, I'm in the process of implementing a change for #503 that should at least fix the issue of Minder saving scroll and zoom changes to the Minder file. I'm not indicating that I won't consider adding a manual save feature to preferences, but at least that change should help to alleviate the bulk of your issues.

phase1geo avatar Sep 22 '22 13:09 phase1geo

Hi, just to add my support to have such option in the preferences; I've lost work a few times after a very difficult to reproduce bug that rarely happens makes many nodes disappear (involving cutting and pasting); I have to go back to some backup while if the autosave was disabled I wouldn't lose my work...

daveiro avatar Nov 09 '22 22:11 daveiro

2023, and this option has to exist, on multiple occasions I have lost hours of work when minder would suddenly crash, which would happen repeatedly when:

  • I undo too many times
  • I cut, copy or paste more than 50 nodes
  • some kind of error related to assertion failed

minder crashing in itself would not be that much of a problem if it weren't for the auto-save 'saving' my work before the crash taking the nodes or other info stored in its clipboard down with it

titorgla avatar Dec 06 '23 15:12 titorgla

yea, please disable autosave, it crashed my work!

mikdmst1 avatar Mar 05 '24 20:03 mikdmst1

Do you have a stack trace of the crash?

phase1geo avatar Mar 05 '24 22:03 phase1geo

I guess what I'm getting at here is to know if the problem was actually in the save code or not. If the code to save a mindmap has a bug which leads to an application crashing, that same could could cause the application to crash when manually saving. Understanding and fixing the source of the crash is more important than disabling auto-save.

phase1geo avatar Mar 06 '24 21:03 phase1geo