Bug 113385 - The personalization themes are opening quite slowly
Summary: The personalization themes are opening quite slowly
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
5.0 all versions
Hardware: All All
: medium normal
Assignee: Muhammet Kara
URL:
Whiteboard: target:6.2.0
Keywords:
Depends on:
Blocks: Firefox-Themes 99776
  Show dependency treegraph
 
Reported: 2017-10-23 18:06 UTC by Telesto
Modified: 2018-10-25 17:00 UTC (History)
2 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 Telesto 2017-10-23 18:06:59 UTC
Description:
Very slow to load themes.

Steps to Reproduce:
1. Tools / Options / personalization / Select Theme
2. Under Categories selected LibreOffice button.



Actual Results:  
Loading the themes takes a long time

Expected Results:
Should be fast pretty fast


Reproducible: Always

User Profile Reset: No

Additional Info:
Found in
Version: 6.0.0.0.alpha1+
Build ID: 380d6afe5fd691f6ad4b17fc38b79b9fca4ba906
CPU threads: 4; OS: Windows 6.3; UI render: default; 
TinderBox: Win-x86@39, Branch:master, Time: 2017-10-22_09:58:27
Locale: nl-NL (nl_NL); Calc: CL

Cygwin Terminal output for the debug build on Windows:
warn:ucb.ucp.webdav:1492:3688:ucb/source/ucp/webdav-neon/NeonSession.cxx:1815: Neon returned NE_ERROR, http response status code was: 0 'Could not parse response status line'
warn:ucb.ucp.webdav:1492:3688:ucb/source/ucp/webdav-neon/NeonSession.cxx:1815: Neon returned NE_ERROR, http response status code was: 403 '403 Forbidden'
warn:ucb.ucp.webdav:1492:3688:ucb/source/ucp/webdav-neon/webdavcontent.cxx:4139: OPTIONS - SC_FORBIDDEN for URL <https://addons.cdn.mozilla.net/user-media/addons/420580/preview_large.jpg?1360290026>
warn:vcl.schedule:1492:840:vcl/source/app/scheduler.cxx:342: we're too early - restart the timer!
warn:ucb.ucp.webdav:1492:3688:ucb/source/ucp/webdav-neon/NeonSession.cxx:1815: Neon returned NE_ERROR, http response status code was: 0 'Could not parse response status line'
warn:ucb.ucp.webdav:1492:3688:ucb/source/ucp/webdav-neon/NeonSession.cxx:1815: Neon returned NE_ERROR, http response status code was: 403 '403 Forbidden'
warn:ucb.ucp.webdav:1492:3688:ucb/source/ucp/webdav-neon/webdavcontent.cxx:4139: OPTIONS - SC_FORBIDDEN for URL <https://addons.cdn.mozilla.net/user-media/addons/465602/preview.png?1380327637>
warn:vcl.schedule:1492:840:vcl/source/app/scheduler.cxx:342: we're too early - restart the timer!
warn:ucb.ucp.webdav:1492:3688:ucb/source/ucp/webdav-neon/NeonSession.cxx:1815: Neon returned NE_ERROR, http response status code was: 0 'Could not parse response status line'
warn:ucb.ucp.webdav:1492:3688:ucb/source/ucp/webdav-neon/NeonSession.cxx:1815: Neon returned NE_ERROR, http response status code was: 0 'Could not parse response status line'
warn:ucb.ucp.webdav:1492:3688:ucb/source/ucp/webdav-neon/NeonSession.cxx:1815: Neon returned NE_ERROR, http response status code was: 403 '403 Forbidden'
warn:ucb.ucp.webdav:1492:3688:ucb/source/ucp/webdav-neon/webdavcontent.cxx:4139: OPTIONS - SC_FORBIDDEN for URL <https://addons.cdn.mozilla.net/user-media/addons/420822/preview_large.jpg?1360376427>
warn:ucb.ucp.webdav:1492:3688:ucb/source/ucp/webdav-neon/NeonSession.cxx:1815: Neon returned NE_ERROR, http response status code was: 0 'Could not parse response status line'
warn:ucb.ucp.webdav:1492:3688:ucb/source/ucp/webdav-neon/NeonSession.cxx:1815: Neon returned NE_ERROR, http response status code was: 403 '403 Forbidden'
warn:ucb.ucp.webdav:1492:3688:ucb/source/ucp/webdav-neon/webdavcontent.cxx:4139: OPTIONS - SC_FORBIDDEN for URL <https://addons.cdn.mozilla.net/user-media/addons/427964/preview_large.jpg?1363875629>
warn:ucb.ucp.webdav:1492:3688:ucb/source/ucp/webdav-neon/NeonSession.cxx:1815: Neon returned NE_ERROR, http response status code was: 0 'Could not parse response status line'
warn:ucb.ucp.webdav:1492:3688:ucb/source/ucp/webdav-neon/NeonSession.cxx:1815: Neon returned NE_ERROR, http response status code was: 403 '403 Forbidden'
warn:ucb.ucp.webdav:1492:3688:ucb/source/ucp/webdav-neon/webdavcontent.cxx:4139: OPTIONS - SC_FORBIDDEN for URL <https://addons.cdn.mozilla.net/user-media/addons/805521/preview.png?1492089619>


User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0
Comment 1 Xisco Faulí 2017-10-23 21:31:02 UTC
Confirmed in

Version: 6.0.0.0.alpha1+
Build ID: d76c4e5c9aaf8bd27ec97679bcaeba5b18aca493
CPU threads: 4; OS: Linux 4.10; UI render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); Calc: group

and 

Version: 5.2.0.0.alpha1+
Build ID: 5b168b3fa568e48e795234dc5fa454bf24c9805e
CPU Threads: 4; OS Version: Linux 4.10; UI Render: default; 
Locale: ca-ES (ca_ES.UTF-8)

and

Version: 5.0.0.0.alpha1+
Build ID: 0db96caf0fcce09b87621c11b584a6d81cc7df86
Locale: ca-ES (ca_ES.UTF-8)

I'm wondering if it's a server problem... We should try to get a wireshark log...

Moving to NEW in the meantime...
Comment 2 Muhammet Kara 2018-10-07 21:14:23 UTC
Should be solved with: https://gerrit.libreoffice.org/#/c/61449/
Comment 3 Muhammet Kara 2018-10-08 07:52:05 UTC
On my machine, a search for the "Abstract" category went down from ~40 seconds to ~6 seconds.
And it takes 2-3 seconds for the next run of the same query.

And there are no more Neon errors or HTML fetching.
Comment 4 Xisco Faulí 2018-10-08 12:18:33 UTC
wow, this is extremely fast now. Nice work @Muhammet

Version: 6.2.0.0.alpha0+
Build ID: 4854acc7929ea58632c5d0f7f80a4adc3c62b8cd
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); Calc: threaded

Do you plan to backport it to 6.1 ? if not, it should be reflected in https://wiki.documentfoundation.org/ReleaseNotes/6.2

Thank you very much for putting some love into the personas feature!!
Comment 5 Muhammet Kara 2018-10-25 17:00:59 UTC
(In reply to Xisco Faulí from comment #4)
> wow, this is extremely fast now. Nice work @Muhammet
> 
> Version: 6.2.0.0.alpha0+
> Build ID: 4854acc7929ea58632c5d0f7f80a4adc3c62b8cd
> CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
> Locale: ca-ES (ca_ES.UTF-8); Calc: threaded
> 
> Do you plan to backport it to 6.1 ? if not, it should be reflected in
> https://wiki.documentfoundation.org/ReleaseNotes/6.2
> 
> Thank you very much for putting some love into the personas feature!!

My pleasure. Thank you too! :)

Not planning to backport. Will try to add some bits to the release notes.