Bug 120719 - tools -> options ability to backup and restore user options and customizations, reuse the profile export / restore from SafeModeDialog
Summary: tools -> options ability to backup and restore user options and customization...
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All Windows (All)
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: needsDevAdvice
: 52387 59493 120160 160449 (view as bug list)
Depends on:
Blocks: User-Profile
  Show dependency treegraph
 
Reported: 2018-10-20 06:06 UTC by 00
Modified: 2024-06-13 11:27 UTC (History)
8 users (show)

See Also:
Crash report or crash signature:


Attachments
Add here, "Export All Settings" button. (180.76 KB, image/png)
2019-03-12 07:28 UTC, 00
Details

Note You need to log in before you can comment on or make changes to this bug.
Description 00 2018-10-20 06:06:16 UTC
Description:
Because LibreOffice does not have the function of "export all settings", it 
is solved by the following method. 

Add the "Export All Settings" button. When you press the button, the "Dialog 
Window" will appear. In the "Dialog Window", the following content will be 
displayed. Users can follow the following contents to All settings are set. 

......................................................................................................................................................................................................... 
LibreOffice exports all settings 
All LibreOffice settings are placed in the LibreOffice folder. 

C:\Users←user. \a←When installing the operating system, enter the name. 
\AppData←File Explorer~ "Hidden Project" will open to display the AppData 
folder. \Roaming\LibreOffice 

Back up the LibreOffice folder and reinstall it, then put the LibreOffice 
folder in the original place. 

Note: 
1. If the preview version is installed, the name of the preview version is 
LibreOfficeDev, so the LibreOfficeDev folder will be displayed. 
2. The official version and the preview version can be installed together. 
If the official version and the preview version are installed, the 
LibreOffice folder and the LibreOfficeDev folder will be displayed. 
3. To clear all settings, delete the LibreOffice folder. When you open the 
program, a new LibreOffice folder will be created. 





LibreOffice exports its own single toolbar 
Toolbar=Toolbar 

Common path 
C:\Users←user. \a←When installing the operating system, enter the name. 
\AppData←File Explorer~ "Hidden Project" will open to display the AppData 
folder. \Roaming\LibreOffice\4\user\config\soffice.cfg\modules\ Please take 
the branch path of the individual software below. 

Branch path 
The \Startes\StartModule\toolbar\self-made "Start Screen" toolbar is placed 
here. 

The \writers\swriter\toolbar\ own "writer file" toolbar is placed here. 

\modules\scalc\toolbar\Own the "calc spreadsheet" toolbar, which is placed 
here. 

\modules\simpress\toolbar\Own the "impress briefing" toolbar, which is 
placed here. 

\modules\sdraw\toolbar\Do your own "draw drawing" toolbar, all placed here. 

\modules\smath\toolbar\Own the "math formula" toolbar, which is placed 
here. 

\modules\dbapp\toolbar\Own the "base database" toolbar, which is placed 
here. 

When backing up the file and reinstalling it, put the file in the original 
place. 

Note: 
1. Because the toolbars you make, the default file names are all numbered, 
so you need to open the file to know the name of the toolbar. 
2, the previous file name "custom_toolbar_" can not be changed, the error 
will be changed, the file name can be changed. 
   For example: custom_toolbar_c01611ed.xml→custom_toolbar_I am my.xml. 
3. A good list of tools can be copied to other places. 
   For example, the toolbar in the "writer file" can be copied to the "calc 
spreadsheet". 





LibreOffice's homemade punctuation toolbar 
The first step starts the "recording macro function" 
Tools\Options\Advanced\Enable the macro recording function (tick), so in the 
"Tools\Macro", the "Logging Macro" option will appear. 

The second step is to record the macro 
Tools\Macro\Record Macros→Record Action (click “Ω” input symbol→select 
symbol→insert)→stop recording→The name stored in “Module1” is Main→Modify 
Main Name→Save. 

Step 3 Add a new toolbar 
Tools\Custom\Toolbar→『Add』→『Enter Name』 (eg punctuation) → OK, the new 
toolbar will appear in the upper left. 

Step 4 Add the macro to the new toolbar 
Tools\Custom\Toolbar\Category\Macro\My Macro\Standard\Module1\Main→Click 
“Main”→Join→Modify→Rename (can be named with punctuation)→OK→OK. 



Actual Results:
This method, I have used it for a long time, can be used,


Reproducible: Always


User Profile Reset: No



Additional Info:
Comment 1 00 2018-10-20 06:17:54 UTC Comment hidden (no-value)
Comment 2 00 2018-10-20 06:22:06 UTC Comment hidden (no-value)
Comment 3 Adolfo Jayme Barrientos 2018-10-20 09:05:42 UTC
→ NEW. Thanks for filing
Comment 4 V Stuart Foote 2018-10-20 18:26:20 UTC
How would this be different than what *already* is provided via SafeMode dialog? 

Perhaps another button to call that UNO command for launching profileexporteddialog.ui

https://gerrit.libreoffice.org/#/c/30479
Comment 5 00 2018-10-21 14:23:32 UTC
In Taiwan, everyone uses this method.
"Yes" is better than "No".
Comment 6 Thomas Lendo 2018-10-26 17:41:22 UTC
Isn't this a dupe of
Bug 88585 - Feature request: user profile synchronization across multiple LO installs
or
Bug 64439 - Add "Backup & Reset Profile" Button to Advanced Options
or
Bug 59493 - Allow exporting configuration files easily and make some kind Configuration repository
or
Bug 52387 - Usability issue: There is no provision to export/import user-settings
?
Comment 7 00 2019-03-12 07:28:48 UTC
Created attachment 149901 [details]
Add here, "Export All Settings" button.
Comment 8 V Stuart Foote 2024-04-20 11:27:01 UTC
*** Bug 160449 has been marked as a duplicate of this bug. ***
Comment 9 V Stuart Foote 2024-04-20 11:32:28 UTC
*** Bug 52387 has been marked as a duplicate of this bug. ***
Comment 10 V Stuart Foote 2024-04-20 11:32:38 UTC
*** Bug 120160 has been marked as a duplicate of this bug. ***
Comment 11 V Stuart Foote 2024-04-20 11:32:48 UTC
*** Bug 59493 has been marked as a duplicate of this bug. ***
Comment 12 V Stuart Foote 2024-04-20 12:11:47 UTC
Obviously working at the os/DE user profile level directly as OP suggested (Windows instance) is not feasible. 

But we have the functional Zip based profile backup/restore implemented for the SafeModeDialog at the 5.3 build [1].

Giving users direct access to that backup/restore from Tools -> Options would deliver the requested feature(s), and give users the ability to migrate their profiles between installations.

@Samuel, any reason the Backup and Restore from SafeModeUI couldn't be reused against a profile saved outside the SafeMode dialog?

=-ref-=
[1] https://gerrit.libreoffice.org/c/core/+/30479/
Comment 13 Heiko Tietze 2024-04-22 09:09:40 UTC
Could also be done per extension. Justin had a talk where he recommended to apply defaults [1] and I could imagine this can easily be enhanced with an export option.

[1] https://events.documentfoundation.org/libreoffice-conference-2023/talk/TCJAU7/
Comment 14 Heiko Tietze 2024-04-23 11:03:16 UTC
(In reply to V Stuart Foote from comment #12)
> @Samuel, any reason the Backup and Restore from SafeModeUI couldn't be
> reused against a profile saved outside the SafeMode dialog?
Essentially a question to developers (adding a button next to "Archive User Profile" is simple). I wonder how to deal with renamed, removed, added attributes. Probably to ignore it.

Personally I'd prefer Justin's solution, if enhanced with save-to and load-from functions.