Bug 153112

Summary: Macros lost - suggest keeping a backup of user profiles
Product: LibreOffice Reporter: Toby <tobydjones>
Component: CalcAssignee: Not Assigned <libreoffice-bugs>
Status: UNCONFIRMED ---    
Severity: normal    
Priority: medium    
Version: 7.2.4.1 release   
Hardware: All   
OS: Windows (All)   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=99716
Whiteboard:
Crash report or crash signature: Regression By:

Description Toby 2023-01-19 20:52:52 UTC
When I went to use Calc today, I found that all my macros had disappeared, along with at least one key bind. My shortcuts to my macros, that I had added to the tools menu, remained.

I found that this file:
C:\Users\Toby\AppData\Roaming\LibreOffice\4\user\basic\Standard\Module1.xba
had been reset to just have an empty Sub Main.

I don't know what happened, or when - if is was a clean up after a crash, or as part of an upgrade, it happened silently.

I suggest:
a) LO reports to the user if it resets any part of their profile
b) LO keeps a backup of user profiles, perhaps on a schedule, and certainly on upgrade, so that if a profile needs to be wiped, a backup can be used instead.

I am on v7.2.4.1
Comment 1 m_a_riosv 2023-01-19 21:18:40 UTC
Not automatically, but it's possible to do a profile backup.
Menu/Help/Restart in Safe Mode
In safe mode, selecting Advanced, and there is the option.
And the option to recover the profile.