Bug 125721 - (LibreOffice-Flatpak) Opening the Options window takes a long time
Summary: (LibreOffice-Flatpak) Opening the Options window takes a long time
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
6.2.4.2 release
Hardware: All Linux (All)
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: LibreOffice-Flatpak
  Show dependency treegraph
 
Reported: 2019-06-05 16:54 UTC by antistress
Modified: 2022-08-27 11:39 UTC (History)
4 users (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 antistress 2019-06-05 16:54:38 UTC
Hi,

I'm using the LibreOffice flatpak version (6.2.4.2) from flathub

Opening the Options window (Tools > Options) takes a long time : much more than the deb package (version 6.1.5) I used to have

Thanks
Comment 1 Xisco Faulí 2019-06-06 16:23:03 UTC
Thank you for reporting the bug. To be certain the reported issue is not
related to corruption in the user profile, could you please reset your
Libreoffice profile ( https://wiki.documentfoundation.org/UserProfile ) and
re-test?

I have set the bug's status to 'NEEDINFO'. Please change it back to
'UNCONFIRMED' if the issue is still present
Comment 2 antistress 2019-06-06 20:12:50 UTC
Well, I had just installed LibO from flathub when I find that bug.

LibO flatpak package was never installed before.

Since flatpak versions have their own profile (/home/user/.var/app/org.libreoffice.LibreOffice/config/libreoffice/4/user instead of /home/user/.config/libreoffice/4/user), I'd say it was a brand new profile :)
Comment 3 antistress 2019-06-06 20:19:37 UTC
I also followed the instructions as proposed : I've restarted LibO in safe mode, then I've chosen "Reset to factory settings" from the dialog box (with "Reset settings and user interface modification" & "Reset entire user profile" selected) and tried to open the Options window : the bug is still there.

Thanks !
Comment 4 antistress 2019-06-08 13:07:00 UTC
I tried to measure the delay between alt+f12 and having the Option window displayed on the screen (my system : Debian Sid 64 bits with GNOME-X11) : 5,36 sec
Comment 5 Buovjaga 2019-08-28 17:19:47 UTC
Please launch like this from the command line (replace libreoffice with your flatpak executable) and measure the time:
SAL_USE_VCLPLUGIN=gen libreoffice
SAL_USE_VCLPLUGIN=gtk libreoffice
SAL_USE_VCLPLUGIN=gtk3 libreoffice

Are there differences between the UI plugins?
Comment 6 QA Administrators 2020-02-25 02:49:16 UTC Comment hidden (obsolete)
Comment 7 QA Administrators 2020-03-27 07:43:47 UTC Comment hidden (obsolete)
Comment 8 antistress 2020-04-08 22:04:56 UTC
(In reply to Buovjaga from comment #5)
> Please launch like this from the command line (replace libreoffice with your
> flatpak executable) and measure the time:
> SAL_USE_VCLPLUGIN=gen libreoffice
> SAL_USE_VCLPLUGIN=gtk libreoffice
> SAL_USE_VCLPLUGIN=gtk3 libreoffice
> 
> Are there differences between the UI plugins?

Sorry I don't understand what to do.

here are my results :

$ SAL_USE_VCLPLUGIN=gen libreoffice
bash: libreoffice : commande introuvable

$ SAL_USE_VCLPLUGIN=gen org.libreoffice.LibreOffice
bash: org.libreoffice.LibreOffice : commande introuvable

Do you want me to test libreoffice deb package (which I've uninstalled but that I can reinstall) or libreoffice flatpak, and how can I do ?
Comment 9 Stephan Bergmann 2020-04-09 07:06:37 UTC
(In reply to antistress from comment #8)
> $ SAL_USE_VCLPLUGIN=gen libreoffice
> bash: libreoffice : commande introuvable

$ flatpak run --env=SAL_USE_VCLPLUGIN=gen org.libreoffice.LibreOffice

(and there is no Gtk2 plugin bundled in the flatpak, so just the default "gtk3" vs. "gen")
Comment 10 antistress 2020-04-09 10:03:05 UTC
Ok I did the test and ran $ flatpak run --env=SAL_USE_VCLPLUGIN=gen org.libreoffice.LibreOffice, pressed Alt+F12 and then mesasure the time

Then I restarted my computer and ran $ flatpak run --env=SAL_USE_VCLPLUGIN=gtk3 org.libreoffice.LibreOffice, pressed Alt+F12 and then mesasure the time

Both of them took about 5s before displaying the settings box.

Be that as it may, the gtk3 version didn't take more time than the gen version, on the contrary

Thanks
Comment 11 antistress 2020-04-16 10:50:07 UTC
Also note that if 1st time opening is damn slow, 2nd time is ok
Thanks
Comment 12 Xisco Faulí 2020-11-18 15:26:15 UTC Comment hidden (obsolete)
Comment 13 antistress 2020-11-18 22:03:44 UTC
(In reply to Xisco Faulí from comment #12)
> Hello antistress,
> Could you please try to reproduce it with the latest version of LibreOffice
> from https://www.libreoffice.org/download/libreoffice-fresh/ ?
> I have set the bug's status to 'NEEDINFO'. Please change it back to
> 'UNCONFIRMED' if the bug is still present in the latest version.

Hi,

I'm not sure ton understand : this bug is about the flatpak version of LibO..?
Comment 14 QA Administrators 2020-11-19 04:14:26 UTC Comment hidden (obsolete)
Comment 15 antistress 2022-08-27 10:25:39 UTC
Hi, with Latest Flatpak (7.4.0.3) I can't reproduce that bug anymore. Thanks !