Feature Request #4443 - Restart in Safe Mode (ala LibreOffice) which backs up FC config files

Have some feature requests, feedback, cool stuff to share, or want to know where FreeCAD is going? This is the place.
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
User avatar
Kunda1
Posts: 8739
Joined: Thu Jan 05, 2017 9:03 pm

Feature Request #4443 - Restart in Safe Mode (ala LibreOffice) which backs up FC config files

Postby Kunda1 » Sat Sep 19, 2020 2:53 am

Apparently LO has a cool feature that helps users deal with corrupt profile/config files. It's called Safe Mode. It backs up the current config files and uses a vanilla copy. This would be mean: No more asking users to back up their ~/.FreeCAD/ and ~/.config/FreeCAD directories (well at least the majority of usecases).

https://wiki.documentfoundation.org/Faq/General/110
https://help.libreoffice.org/latest/en- ... _mode.html
Last edited by Kunda1 on Fri Sep 25, 2020 12:45 am, edited 1 time in total.
Reason: Added ticket number to thread title
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
chrisb
Posts: 29010
Joined: Tue Mar 17, 2015 9:14 am

Re: Feature Request: Restart in Safe Mode (ala LibreOffice) which backs up FC config files

Postby chrisb » Sat Sep 19, 2020 4:59 am

Good idea. Is it controlled via commandline?
A Sketcher Lecture with in-depth information is available in English, auf deutsch, en français, en español.
User avatar
Kunda1
Posts: 8739
Joined: Thu Jan 05, 2017 9:03 pm

Re: Feature Request: Restart in Safe Mode (ala LibreOffice) which backs up FC config files

Postby Kunda1 » Sat Sep 19, 2020 9:28 am

chrisb wrote:
Sat Sep 19, 2020 4:59 am
Good idea. Is it controlled via commandline?
It can be, but even more conveniently from the File -> 'Restart in Safe Mode' drop-down menu ;)
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
chrisb
Posts: 29010
Joined: Tue Mar 17, 2015 9:14 am

Re: Feature Request: Restart in Safe Mode (ala LibreOffice) which backs up FC config files

Postby chrisb » Sat Sep 19, 2020 11:57 am

And the restart technique is ready, we know it from the AddonManager :D .
A Sketcher Lecture with in-depth information is available in English, auf deutsch, en français, en español.
User avatar
Kunda1
Posts: 8739
Joined: Thu Jan 05, 2017 9:03 pm

Re: Feature Request: Restart in Safe Mode (ala LibreOffice) which backs up FC config files

Postby Kunda1 » Fri Sep 25, 2020 12:40 am

LibreOffice-SafeMode.png
LibreOffice-SafeMode.png (59.32 KiB) Viewed 193 times
Screenshot of the comprehensive options of LibreOffice's Safe Mode
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
User avatar
Kunda1
Posts: 8739
Joined: Thu Jan 05, 2017 9:03 pm

Re: Feature Request #4443 - Restart in Safe Mode (ala LibreOffice) which backs up FC config files

Postby Kunda1 » Fri Sep 25, 2020 12:46 am

Created issue #4443 and x-posting back to ticket.
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
User avatar
Kunda1
Posts: 8739
Joined: Thu Jan 05, 2017 9:03 pm

Re: Feature Request #4443 - Restart in Safe Mode (ala LibreOffice) which backs up FC config files

Postby Kunda1 » Sun Nov 29, 2020 11:23 pm

Started to make the .ui file for this. Maybe a dev will come along and plug in the functionality ? :D :lol:
Attachments
FreeCAD-Safe-Mode-demo.png
FreeCAD-Safe-Mode-demo.png (53.25 KiB) Viewed 41 times
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features