Bug 156576 - User profile sharing between different 7.x LibreOffice versions
Summary: User profile sharing between different 7.x LibreOffice versions
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
7.0.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: User-Profile
  Show dependency treegraph
 
Reported: 2023-08-02 09:28 UTC by prrvchr
Modified: 2023-08-09 10:19 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description prrvchr 2023-08-02 09:28:14 UTC
Description:
For debugging needs of bug 156511 I installed in addition to the official Ubuntu version (7.3.7.2) version 7.6.0.1 available in deb package [1]
[1] https://www.libreoffice.org/download/download-libreoffice/?type=deb-x86_64&version=7.6.0

This is a very bad idea, nothing will work anymore. See:
- bug 156531 (This makes your dialog libraries unusable)
- bug 156556 (This makes your dialog libraries unusable)

Steps to Reproduce:
Install LibreOffice 7.3.7.2 on Ubuntu 22.04 with your package manager.
Install LibreOffice 7.6.0.1 on Ubuntu 22.04 from LibreOffice DEB package.
https://www.libreoffice.org/download/download-libreoffice/?type=deb-x86_64&version=7.6.0

Actual Results:
If you switch from version, without any error message nothing works anymore...


Expected Results:
I thought that by staying in version 7.x this was possible. Big mistake that cost me a lot of time...


Reproducible: Always


User Profile Reset: No

Additional Info:
If you are really obliged to install several versions of LibreOffice in parallel (for test questions for example), then at each version switch, you must delete the user profile in order to have a correct functioning.
Comment 1 Stéphane Guillou (stragu) 2023-08-02 10:26:24 UTC
I have 7.3.7.2 and 7.6.0.1 installed in parallel, both from debs, on Ubuntu 20.04, and I can use them without problem using the same 

Can you be more specific about what "nothing works anymore" means? Any message when starting in the console?

As you said, having several versions in parallel is a niche case, mostly for quality assurance and development. For such cases, know that you can also use a different location for your user profile at startup, for example:

 soffice -env:UserInstallation=file:///tmp/test
Comment 2 prrvchr 2023-08-02 10:49:10 UTC
(In reply to Stéphane Guillou (stragu) from comment #1)

> Can you be more specific about what "nothing works anymore" means? Any
> message when starting in the console?

In fact, above all, it breaks access to the dialog libraries provided by an extension, which can no longer (curiously only for certain xdl files) be loaded.

If we look in Tools -> Macros -> Organize dialogs... -> Dialogs, you can see the name of the extension but if you open the extension it's empty there are no dialogs!

> soffice -env:UserInstallation=file:///tmp/test

I didn't know, thanks for the info.


I haven't tested only with DEB packages (7.3 and 7.6) but a mix of Ubuntu and LibreOffice packages. Could that be the source of the problem?
Comment 3 prrvchr 2023-08-09 09:43:39 UTC
I tried to reproduce under a new virtual machine (Lubuntu 22.04 on VirtualBox 6.1.38) by mixing LibreOffice Community installations (Ubuntu package) with LibreOffice Document Foundation DEB package.
I have never managed to reproduce... I manage to have 3 different installations which work perfectly.

I think this malfunction has nothing to do with LibreOffice, I apologize for that, but rather related to a full disk on my virtual machines...
Comment 4 Stéphane Guillou (stragu) 2023-08-09 10:18:29 UTC
Thanks for testing further and reporting back, prrvchr!
Comment 5 Stéphane Guillou (stragu) 2023-08-09 10:19:43 UTC
Let's set to "works for me" as we haven't pin-pointed a bug outside of LibreOffice.