Bug 130784 - Base very slow
Summary: Base very slow
Status: RESOLVED NOTOURBUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Base (show other bugs)
Version:
(earliest affected)
6.4.0.3 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-19 21:22 UTC by Vincent Bamps
Modified: 2021-12-14 12:06 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Base with performance trouble (34.08 KB, application/vnd.oasis.opendocument.database)
2020-05-14 20:47 UTC, Vincent Bamps
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vincent Bamps 2020-02-19 21:22:17 UTC
Description:
Base has become very very slow.
It is not usable anymore.
I went back to LibreOffice Version: 6.3.4.2 and evrything is back to normal.

Steps to Reproduce:
1.open a form with subform in base
2.navigate through the records

Actual Results:
screen freezes for a few seconds, subform is not updated with the parent form

Expected Results:
The subform shows the records related to the parent form


Reproducible: Always


User Profile Reset: No



Additional Info:
reset of user profile didn't change anything.
Changing java jre version didn't change anything.
Comment 1 Julien Nabet 2020-02-19 21:29:16 UTC
Which DB do you use?
Embedded Hsqldb? Embedded Firebird? MariadB? Postgres?
Comment 2 Vincent Bamps 2020-02-19 21:56:40 UTC
It has an Embedded Firebird.
I checked in the .odb file and I found  database/firebird.fbk
Comment 3 Julien Nabet 2020-02-20 07:41:10 UTC
Is it specific to this file or does it happen on every odb file with embedded Firebird?
Would it be possible you attach the file so we can give a try? (see https://wiki.documentfoundation.org/QA/Bugzilla/Sanitizing_Files_Before_Submission)

Do you reproduce this with embedded HSQLDB file?

You must know that few work is done on Base because of lack of resource. Moreover, Firebird is hardly maintained.
Comment 4 Alex Thurgood 2020-05-07 09:44:47 UTC
Without a test file, we will probably not be able to reproduce. Please provide one if you can, bearing in mind that the file will become public.

You mention that the ODB file contained a fbk file, but did you create this database file originally as embedded hsqldb and then migrate, or did you create from the beginning as an embedded Firebird ODB ?

If you migrated, the migration assistant leaves the original copy of the hsqldb file within the ODB, I have no idea what exactly gets loaded into memory when you then open that ODB file to work on.
Comment 5 Vincent Bamps 2020-05-14 20:47:03 UTC
Created attachment 160832 [details]
Base with performance trouble
Comment 6 Vincent Bamps 2020-05-14 20:47:49 UTC
Please find the file gemiddelde.odb in attachement.
Comment 7 Vincent Bamps 2020-05-14 20:57:16 UTC
I tried it with the latest version.
Version: 6.4.3.2
Build ID: 747b5d0ebf89f41c860ec2a39efd7cb15b54f2d8
CPU threads: 8; OS: Linux 4.4; UI render: default; VCL: x11; 
Locale: nl-BE (en_US.UTF-8); UI-Language: en-US
Calc: threaded




When libreOffice is launched from the command line :

SAL_USE_VCLPLUGIN=gen libreoffice6.4

Now there is no more performance problem.

I had also issues with start center (Bug 130291) and icons not showing in the menus.
This is all solved when starting with the command line above.
Thanks !
Comment 8 Julien Nabet 2020-05-14 21:04:48 UTC
Thank you for your feedback.

What's your usual env? GTK, KDE, other? Could you also provide version + Linux distrib?
Comment 9 Vincent Bamps 2020-05-15 16:07:29 UTC
Hello,
I'm using Linux Mint 18 Cinnamon 64-bit
Cinnamon version 3.0.7
Comment 10 Julien Nabet 2020-05-15 16:20:12 UTC
(In reply to Vincent Bamps from comment #9)
> Hello,
> I'm using Linux Mint 18 Cinnamon 64-bit
> Cinnamon version 3.0.7

Ok so the fork of Gnome.
Just for curiosity, could you try this:
SAL_USE_VCLPLUGIN=gtk3
?
Comment 11 Vincent Bamps 2020-05-15 20:10:54 UTC
Starting LibreOffice with command line:

SAL_USE_VCLPLUGIN=gtk3 libreoffice6.4

reproduces the issue.

So, Base remains very slow and is not usable under this configuration.
I switched back to LibreOffice-6.3.5.2 the last version before all the trouble.

Thanks for your time.
Comment 12 Julien Nabet 2020-05-15 20:18:42 UTC
Xisco: thought about putting NOTOURBUG (rather Mint's one), what do you think?
Comment 13 Vincent Bamps 2020-05-16 12:51:24 UTC
OK,
What would be the workaround to make it work properly in Linux Mint .
Thanks!