Bug 119163 - Spreadsheets containing thousands of embedded images are slow to navigate
Summary: Spreadsheets containing thousands of embedded images are slow to navigate
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
6.0.3.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: perf
Depends on:
Blocks: Calc-Images
  Show dependency treegraph
 
Reported: 2018-08-09 06:47 UTC by Murz
Modified: 2022-06-19 22:16 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
libreoffice_slow_example.xls (6.14 MB, application/vnd.ms-excel)
2018-08-09 06:52 UTC, Murz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Murz 2018-08-09 06:47:52 UTC
Description:
Our company very often work with price-lists from MS Excel, that contain embedded images, and Libreoffice Calc works with them too slow - CPU usage is very high and document scroll, cursor moving is very slow too.

MS Excel on same computer works this file very quickly, without hangs.

Seems the source of the problem is in image render module, because if I disable displaying images in Libreoffice Calc settings, Libreoffice goes to work quickly.

Example of problem file is here: https://drive.google.com/open?id=1ht9iPrkxHKsN2pK8YiRdm8efdCv1BG4j

Steps to Reproduce:
Open example file, located here: https://drive.google.com/open?id=1ht9iPrkxHKsN2pK8YiRdm8efdCv1BG4j in Libreoffice Calc

Actual Results:
Libreoffice Calc must works quickly, like MS Office

Expected Results:
Libreoffice Calc works very slow with scrolling document via mouse, also at moving cursor between cells via keyboard.


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
Comment 1 Murz 2018-08-09 06:52:12 UTC
Created attachment 144051 [details]
libreoffice_slow_example.xls

Here is file that demonstrate the problem with slow Libreoffice Calc.
Comment 2 Xavier Van Wijmeersch 2018-08-09 09:11:59 UTC
Its open in 13 second, i don't think its very slow

Version: 6.0.4.2
Build ID: 9b0d9b32d5dcda91d2f1a96dc04c645c450872bf
CPU threads: 8; OS: Linux 4.14; UI render: default; VCL: kde4; 
Locale: nl-BE (en_US.UTF-8); Calc: group

Version: 6.1.1.0.0+
Build ID: 26300f5d4c4e6241baf8cadcfea094e7969814a5
CPU threads: 8; OS: Linux 4.14; UI render: default; VCL: kde4; 
Locale: nl-BE (en_US.UTF-8); Calc: group threaded

Version: 6.2.0.0.alpha0+
Build ID: ed1e2967064e098459324818baa5466ad2a90492
CPU threads: 8; OS: Linux 4.14; UI render: default; VCL: kde4; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2018-08-03_10:10:36
Locale: nl-BE (en_US.UTF-8); Calc: group threaded
Comment 3 Murz 2018-08-09 09:36:58 UTC
Slow is not file opening time, but Libreoffice Calc interface when working with document - scroll via mouse, select cells, move between cells via mouse, etc.
Comment 4 m_a_riosv 2018-08-10 01:04:26 UTC
Wow there are 9000 images in the file. Changing to ods file type doesn't help.
There are work in progress about images manage.
Hi @Armin, maybe are you interested on take a look to sample file.
Comment 5 Buovjaga 2018-09-02 17:26:03 UTC
Tweaking fields per last comment.
Comment 6 QA Administrators 2020-12-30 03:39:17 UTC Comment hidden (obsolete)
Comment 7 Buovjaga 2021-05-03 12:23:29 UTC
Still lags noticeably when scrolling

Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 9c930c4f3109d123c0831d0fcecf9c8b32e5bbc7
CPU threads: 2; OS: Windows 10.0 Build 19042; UI render: default; VCL: win
Locale: fi-FI (fi_FI); UI: en-US
Calc: threaded
Comment 8 Roman Kuznetsov 2022-06-19 22:16:50 UTC
(In reply to Buovjaga from comment #7)
> Still lags noticeably when scrolling
> 
> Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community
> Build ID: 9c930c4f3109d123c0831d0fcecf9c8b32e5bbc7
> CPU threads: 2; OS: Windows 10.0 Build 19042; UI render: default; VCL: win
> Locale: fi-FI (fi_FI); UI: en-US
> Calc: threaded

Still repro in

Version: 7.5.0.0.alpha0+ / LibreOffice Community
Build ID: e4d23c27288b99c3ed3cfa332ff308b31c01f97d
CPU threads: 4; OS: Linux 5.14; UI render: default; VCL: gtk3
Locale: ru-RU (ru_RU.UTF-8); UI: en-US
Calc: threaded Jumbo