Created attachment 144153 [details]
Presentation with a slide with 2000 shapes
When copy/pasting a slide with multiple shapes in Ubuntu, the UI freezes for a long time.
I attach a file with an empty slide and a second slice that contains > 2000 shapes (1000 triangles and 1000 circles). If I copy/paste slide 2, the UI freezes for a long time. For more complex documents, the time increases considerably.
LO 220.127.116.11: 1m 52s
LO 18.104.22.168: 1m 18s
Also, if I dare to try to select and copy all the shapes in the slide, the whole computer freezes and becomes unusable.
I believe that a similar document was handled significantly better in LO a few years back (~2013).
If I do the same operation in a VM with Windows 7 and Microsoft Office 2013 (.odp, .ppt or .pptx), the copy/paste or selection is almost instantaneous. Interestingly, when I save in LO the .odp file in .ppt/pptx, the 29MB file becomes a 1MB file.
1. I opened attach file in LO 22.214.171.124 on Windows 10 and tried copy/paste slide with many shapes. I have about 3-4 sec for paste new slide!
don't confirm long time paste of slide on >>>Windows 10<<<.
2. Really, if save ODP to PPTX, then size of file will be VERY small (about 1 mb)! And this PPTX opens fine in LO, it has all shapes and photo of man in right-bottom corner of slide.
I'm not getting the slow times as the reporter, but they are slower than in previous versions.
On ubuntu 16.04 x64 with Version: 126.96.36.199.alpha0+
Build ID: 4f50129e54c8b4a78e35dc869fd1f5fbc5aa9a87
CPU threads: 2; OS: Linux 4.4; UI render: default; VCL: gtk2;
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2018-08-04_22:32:09
Locale: en-US (en_US.UTF-8); Calc: threaded
they are about 8-10 secs and undo something similar.
With Version: 188.8.131.52
Build ID: 6b8ed514a9f8b44d37a1b96673cbbdd077e24059
CPU Threads: 2; OS Version: Linux 4.4; UI Render: default; VCL: gtk2; Layout Engine: new;
Locale: en-US (en_US.UTF-8); Calc: single
pasting takes about 3-4 secs and undo-ing is < a second.
@ Gorka Navarrete
Which version of Ubuntu & Libo downloaded from libreoffice.org or Ubuntu repro?
@Telesto, The times I reported are from a 2 years old Ubuntu 16.04 HP workstation (Xeon proc, 16GB, SSD HD) in a Downloaded (from the web) LO 184.108.40.206 and 220.127.116.11 from the LO PPA: https://launchpad.net/~libreoffice/+archive/ubuntu/ppa
But this also happens in a i7-5600U 8GB SSD Lenovo laptop with ubuntu 18.04 using LO 18.104.22.168 from the Ubuntu repos, and in a third desktop i7 8GB SSD computer.
A part of the problem seems to be related with GTK3. Using sudo apt remove libreoffice-gtk* makes the time go down to less than 5 seconds in my laptop (from ~2 minutes).
Caolan, may be you are interesting in this problem?
Yep, gtk3 takes 8 secs for me while gen and gtk2 take a bit over 3 secs.
No idea where those 1 min+ times are coming from. Gorka: you should do a separate test by launching in safe mode, from terminal with 'libreoffice --safe-mode' or Help - Restart in safe mode and then Continue in safe mode.
Arch Linux 64-bit
Build ID: 033a68c49fe2b8aa397832d92d400eb0259ea809
CPU threads: 8; OS: Linux 4.18; UI render: default; VCL: gtk3;
Locale: fi-FI (fi_FI.UTF-8); Calc: threaded
Built on September 5th 2018
it may not be gtk3 vs non-gtk3, it may be a11y enabled libreoffice vs a11y disabled one
Buovjaga, I tried starting from a terminal with libreoffice --safe-mode and times are still >1m.
With a i7-4790 (8GB RAM), Ubuntu 18.04, LO 22.214.171.124:
safe mode: ~1m40s
normal mode: ~1m37s
NO gtk3 (a11y disabled): ~2s