Bug 70717 - StartCenter: very slow start with lots of templates
Summary: StartCenter: very slow start with lots of templates
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: framework (show other bugs)
Version:
(earliest affected)
4.2.0.0.alpha0+ Master
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2013-10-21 10:24 UTC by Stephan Bergmann
Modified: 2020-05-20 12:46 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 Stephan Bergmann 2013-10-21 10:24:17 UTC
When you have lots of templates (e.g., in an --enable-extra-template build), starting soffice (to show the Start Center) has become very slow with the new Start Center, apparently because it unconditionally initializes information about all templates (BackingWindow::initControls calling BackingWindow::setupTemplateView, sfx2/source/dialog/backingwindow.cxx).  (Even slower still on first start, when "The templates are being initialized for first-time usage.")
Comment 1 Jean-Baptiste Faure 2013-11-16 14:07:47 UTC
I did the test with a --enable-extra-template build. Starting soffice to show the StartCenter is as quick as before but the template manager is very loooooong to open, mainly the first time.

Best regards. JBF
Comment 2 retired 2013-11-28 09:47:57 UTC
so as of comment #1 setting to NEW.
Comment 3 Alex Thurgood 2014-01-07 08:46:43 UTC
Confirming also on :

Version: 4.3.0.0.alpha0+
Build ID: c0d5d26ad74cc7b6470d1e0c8951bee548c7ba17
Comment 4 Alex Thurgood 2014-01-07 08:51:05 UTC
It takes a minimum of 50 seconds on my 

Aspire X1430
4 Gb RAM
3.11.0-12-generic 
x86_64 x86_64 x86_64 GNU/Linux Mint Petra

to completely display the template manager window from first click on the Templates button in the Start Center.

Alex
Comment 5 Alex Thurgood 2014-01-07 08:54:07 UTC
The slow start leads to users clicking on the Template button multiple times, which in turn leads to bug 72587
Comment 6 Tamás Zolnai 2014-01-10 12:05:58 UTC
StartCenter doesn't load templates autocratically any more and so this bug does not exist in this form.
There is an other bug about Template Manager loading slowness: https://bugs.freedesktop.org/show_bug.cgi?id=61471
So close this bug as fixed.