A profile manager
- Hagar Delest
- Moderator
- Posts: 32666
- Joined: Sun Oct 07, 2007 9:07 pm
- Location: France
A profile manager
Very often we ask user to reset their profile because of a flaw introduced either by an upgrade or by a random glitch.
To avoid users tweaking their hidden files and folders, a profile manager could be added like Firefox: Use the Profile Manager to create and remove Firefox profiles.
Current profile would be renamed to user.back so that customization could still be retrieved.
Such a profile manager could be called by soffice.exe -p for example (if not already used). The most difficult part for the user being to launch the terminal (Execute command in Windows Start menu). Not sure a GUI would help (in the Start center for example).
To avoid users tweaking their hidden files and folders, a profile manager could be added like Firefox: Use the Profile Manager to create and remove Firefox profiles.
Current profile would be renamed to user.back so that customization could still be retrieved.
Such a profile manager could be called by soffice.exe -p for example (if not already used). The most difficult part for the user being to launch the terminal (Execute command in Windows Start menu). Not sure a GUI would help (in the Start center for example).
LibreOffice 7.6.2.1 on Xubuntu 23.10 and 7.6.4.1 portable on Windows 10
Re: A profile manager
That's an interesting proposal, specially for mac users: on last OSX versions you need to use the command line to turn on the view of hidden folders.
Maybe add some kind of integrity check of key files? But I have no idea if such check is feasible.
Maybe add some kind of integrity check of key files? But I have no idea if such check is feasible.
There are two types of people: those who believe that there are two types of people and those who do not.
openSUSE Leap with KDE Plasma / LibreOffice
openSUSE Leap with KDE Plasma / LibreOffice
Re: A profile manager
Just a couple of thoughts ...
Needing a profile manager is a big red flag: there must be bugs; the profile should never get corrupted. Any profile manager should include some steps to help the developers pinpoint the underlying problem(s).
A profile manager should (at least) warn the user when the profile includes macros or templates, as nuking those could lose the user's work. Maybe they could be migrated or backed up somehow.
Needing a profile manager is a big red flag: there must be bugs; the profile should never get corrupted. Any profile manager should include some steps to help the developers pinpoint the underlying problem(s).
A profile manager should (at least) warn the user when the profile includes macros or templates, as nuking those could lose the user's work. Maybe they could be migrated or backed up somehow.
AOO4/LO5 • Linux • Fedora 23
- Hagar Delest
- Moderator
- Posts: 32666
- Joined: Sun Oct 07, 2007 9:07 pm
- Location: France
Re: A profile manager
That's what I mean with renaming to user.back: no deletion allowed!
Ideally, it should also offer the possibility to reactivate a profile.
Ideally, it should also offer the possibility to reactivate a profile.
LibreOffice 7.6.2.1 on Xubuntu 23.10 and 7.6.4.1 portable on Windows 10
Re: A profile manager
The User/Library on OS X version 10.7 Lion is accessible in Finder. Hold down the Option key and click on Go in the Menubar. No need to use Terminal (command line) unless you want to permanently unhide it.RGB wrote:That's an interesting proposal, specially for mac users: on last OSX versions you need to use the command line to turn on the view of hidden folders.
Larry I. Gusaas
Moose Jaw, SK Canada
Website: http://larry-gusaas.com
"An artist is never ahead of his time but most people are far behind theirs." Edgard Varese
Apache OpenOffice 4.1.14 — MacBook Air (M1)—macOS Ver.13.5 Ventura
Moose Jaw, SK Canada
Website: http://larry-gusaas.com
"An artist is never ahead of his time but most people are far behind theirs." Edgard Varese
Apache OpenOffice 4.1.14 — MacBook Air (M1)—macOS Ver.13.5 Ventura
Re: A profile manager
There was a comment on the dev mailing list that maybe the culprit of these user profile problems is the file registrymodifications.xcu. Maybe it is worth to try asking users to first rename that file and if that does not work then restart the whole profile. Maybe add a line to the user profile guide?
There are two types of people: those who believe that there are two types of people and those who do not.
openSUSE Leap with KDE Plasma / LibreOffice
openSUSE Leap with KDE Plasma / LibreOffice
- Hagar Delest
- Moderator
- Posts: 32666
- Joined: Sun Oct 07, 2007 9:07 pm
- Location: France
Re: A profile manager
Already done. I've changed it some weeks ago and introduced a surgical and a nuclear methods.
But it still wrecks a lot of custom settings.
NB: I've made a topic on the ML about frequent crashes; I've investigated and I confirm that renaming the registrymodification.xcu fixes the problem (not sure how long however) but since I lose too much customization, it's not a good solution for me.
But it still wrecks a lot of custom settings.
NB: I've made a topic on the ML about frequent crashes; I've investigated and I confirm that renaming the registrymodification.xcu fixes the problem (not sure how long however) but since I lose too much customization, it's not a good solution for me.
LibreOffice 7.6.2.1 on Xubuntu 23.10 and 7.6.4.1 portable on Windows 10
Re: A profile manager
It might be worth saving a good and a bad copy of that file, and running a file compare utility against it, to try to isolate the culprit.Hagar Delest wrote: I've investigated and I confirm that renaming the registrymodification.xcu fixes the problem (not sure how long however) but since I lose too much customization, it's not a good solution for me.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
- Hagar Delest
- Moderator
- Posts: 32666
- Joined: Sun Oct 07, 2007 9:07 pm
- Location: France
Re: A profile manager
I've had not enough time to investigate it deeply but I found that the file is not the culprit:
- Opened a file that triggers the behavior within very few seconds on current profile: crash (expected)
- Renamed the profile: no crash
- Reactivated the former profile: crash (expected)
- Renamed registrymodification.xcu: no crash
I wanted to remove parts of the registrymodification.xcu file to see if I could spot something in a specific part of it (like recent documents history for example) but no time and I had to give back the Vista machine...
- Opened a file that triggers the behavior within very few seconds on current profile: crash (expected)
- Renamed the profile: no crash
- Reactivated the former profile: crash (expected)
- Renamed registrymodification.xcu: no crash
I wanted to remove parts of the registrymodification.xcu file to see if I could spot something in a specific part of it (like recent documents history for example) but no time and I had to give back the Vista machine...
LibreOffice 7.6.2.1 on Xubuntu 23.10 and 7.6.4.1 portable on Windows 10
Re: A profile manager
Somewhere (http://www.systeminternals.com?) I once found a file compare utility, which ran on Windows and displayed unmatched lines, resynchronising after a mismatch. I'll see if I can find the name, but it will be late tomorrow or maybe Sunday.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
Re: A profile manager
Renaming registrymodifications.xcu file lost content of basic/Standard/Module1.xba, script.xlb and dialog.xlb files to initialize user's profile. I want to suggest to backup Standard library of Basic before to do it.
Please, edit this thread's initial post and add "[Solved]" to the subject line if your problem has been solved.
Apache OpenOffice 4-dev on Xubuntu 14.04
Apache OpenOffice 4-dev on Xubuntu 14.04
Re: A profile manager
Do you mean that by renaming registrymodifications.xcu, on next start those files are lost? That's quite serious.hanya wrote:Renaming registrymodifications.xcu file lost content of basic/Standard/Module1.xba, script.xlb and dialog.xlb files to initialize user's profile. I want to suggest to backup Standard library of Basic before to do it.
There are two types of people: those who believe that there are two types of people and those who do not.
openSUSE Leap with KDE Plasma / LibreOffice
openSUSE Leap with KDE Plasma / LibreOffice
- Hagar Delest
- Moderator
- Posts: 32666
- Joined: Sun Oct 07, 2007 9:07 pm
- Location: France
Re: A profile manager
The files are not lost I think but the references to the macros are lost.
There are other side effects like custom dictionaries perhaps. It needs some investigation indeed.
There are other side effects like custom dictionaries perhaps. It needs some investigation indeed.
LibreOffice 7.6.2.1 on Xubuntu 23.10 and 7.6.4.1 portable on Windows 10
Re: A profile manager
Just a note: a manager might (should?) also deal with autosaved documents in the profile. Another good reason not to delete the profile.
AOO4/LO5 • Linux • Fedora 23
Re: A profile manager
My description is not clear. When user's profile is not there, contents from basis3.4/presets directory are copied into user's profile directory. When the files conflicts each other, they are simply overwritten in desktop::create_user_install funtion of main/desktop/source/app/userinstall.cxx.RGB wrote:Do you mean that by renaming registrymodifications.xcu, on next start those files are lost? That's quite serious.hanya wrote:Renaming registrymodifications.xcu file lost content of basic/Standard/Module1.xba, script.xlb and dialog.xlb files to initialize user's profile. I want to suggest to backup Standard library of Basic before to do it.
Current presets directory contains autotext/, config/, basic/, database/ and gallery/ data.
Please, edit this thread's initial post and add "[Solved]" to the subject line if your problem has been solved.
Apache OpenOffice 4-dev on Xubuntu 14.04
Apache OpenOffice 4-dev on Xubuntu 14.04
- Hagar Delest
- Moderator
- Posts: 32666
- Joined: Sun Oct 07, 2007 9:07 pm
- Location: France
Re: A profile manager
Even when it's there, the files are overwritten! I just made a test and just renaming the rm.xcu (registrymodification.xcu) leads to the loss of the Module1.xba. If another module was there, it is kept but its content is not seen by the new rm.xcu.
The problem is that even if you reactivate the former rm.xcu, you have lost at least Module1 content! NB: it seems that I also lost my Module2 (initial rm.xcu doesn't see it anymore) but I had made so many operations for tests that it may come from something different.
So I'll change again the tutorial. The best way if you need to come back to the previous situation is to keep a copy of the whole folder.
The problem is that even if you reactivate the former rm.xcu, you have lost at least Module1 content! NB: it seems that I also lost my Module2 (initial rm.xcu doesn't see it anymore) but I had made so many operations for tests that it may come from something different.
So I'll change again the tutorial. The best way if you need to come back to the previous situation is to keep a copy of the whole folder.
LibreOffice 7.6.2.1 on Xubuntu 23.10 and 7.6.4.1 portable on Windows 10
Re: A profile manager
I think the file compare utility I mentioned the other day was windiff.exe. A quick Google will throw up several sources for it.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
Re: A profile manager
If the original profile was heavily customized, the file compare utility will give too many results, I think. The problem is that a non customized profile will not fail: if not changed, why it should get corrupted? A sort of "syntax check" on the corrupted file is needed... The profile manager will need some sort of integrity check on the various files and folders, it seems.
There are two types of people: those who believe that there are two types of people and those who do not.
openSUSE Leap with KDE Plasma / LibreOffice
openSUSE Leap with KDE Plasma / LibreOffice
Re: A profile manager
I was thinking of matching with an image of the customised profile, taken before it failed, with that after failure.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
Re: A profile manager
OK. I had to reset my User Profile after a week of strange problems with my chosen language shifting to Esperanto and my Spell Check function rejecting every word. Finally on Saturday I had time to spend hours on this forum and find the solution, reset User Profile. BUT I've been working on computers for more than 40 years and I'm reasonably skilled. People like my wife would scream, cry, pound her mouse on the table, and give up on OA entirely if that happened to her or other non-tech users. It doesn't even help to re-install, you have to learn about secret "hidden" files and know where to find them.
So I'm asking that developers put a utility in the Tools menu that allows users to access the (secret) hidden User Profile and reset it when something goes wrong. I've been using AO for 10 years and this is the first time I've had that trouble, so its not needed every day or every year, but it needs to be there. Any known technical problem that can't even be fixed by reloading and reinstalling the whole program needs to have 1. information in "HELP" and 2. A user accessible and "user friendly" function.
Its a known problem. I found out about it reading this forum about problems with spell checking. I don't know what other problems a bad User Profile may cause but it needs a user friendly solution.
So I'm asking that developers put a utility in the Tools menu that allows users to access the (secret) hidden User Profile and reset it when something goes wrong. I've been using AO for 10 years and this is the first time I've had that trouble, so its not needed every day or every year, but it needs to be there. Any known technical problem that can't even be fixed by reloading and reinstalling the whole program needs to have 1. information in "HELP" and 2. A user accessible and "user friendly" function.
Its a known problem. I found out about it reading this forum about problems with spell checking. I don't know what other problems a bad User Profile may cause but it needs a user friendly solution.
I have Open Office 4.1.1 running on Windows Vista home premium.
Re: A profile manager
LibreOffice 5 has something like Firefox. It is already in LO4.4 but not searchable therefore not usable.
In LO4: Tools>Options>Advanced... [Expert Settings]
In LO4: Tools>Options>Advanced... [Expert Settings]
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice