Bug 50762 - EDITING: Extremely slow handling of larger tables
Summary: EDITING: Extremely slow handling of larger tables
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
3.5.4 release
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: BSA
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-06 00:59 UTC by Morten Leikvoll
Modified: 2015-10-15 06:40 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Shark profile of LibreOffice when changing style of table in Impress (21.69 KB, text/plain)
2013-06-06 11:55 UTC, Mikko Ahlroth
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Morten Leikvoll 2012-06-06 00:59:04 UTC
Problem description: 
Extremely slow handling of larger tables.

Steps to reproduce:
1. Create new presentation
2. Add a table with 20 rows and 20 columns
3. Try moving or resizing it

Current behavior:
With a modern fast worstation pc, it takes >10seconds just to do basic operations like move or resize.
Try adding a table of 40x40 and it takes forever (almost 2 min on my fast pc) just to place it. I initially thought it was a crash until I investigated further.

Expected behavior:
Microsoft Powerpoint does it in seconds, even the 40x40.

Platform (if different from the browser): 
              
Browser: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E)
Comment 1 A (Andy) 2012-12-25 10:53:18 UTC
reproducible with LO 3.6.4.3. (Win7 Home, 64bit, i5, 4 GB RAM)

I can confirm that it takes quite long to insert (approx. 10 seconds) and to move or resize the 20x20 table (20 to 30 seconds) or LO hangs even up.  To insert a 40x40 table takes more 2 1/2 minutes.
Comment 2 Mikko Ahlroth 2013-06-06 11:00:50 UTC
Confirmed on OS X with LO 4.0.3.3. Moving, resizing or changing style of tables are very slow. Changing the style of a 10x25 table on a 2 GHz Intel Core 2 Duo machine takes 13 seconds with 100 % processor usage.

Possibly related to bug 38892.
Comment 3 vilpan 2013-06-06 11:32:32 UTC
Confirmed on Debian "Squeeze" 6.0.7, LO 3.5.4.2. Another user confirmed the same issue on Debian "Wheezy" (current stable), which has the same version of LO packaged.

Inserting a 10x25 table takes ~6s, changing the style in Table Design takes ~19s, moving the table by dragging takes above 10s (from release of mouse button to redraw of the table) on an i5-2410M based laptop (2.3 GHz, 2 cores). One core is fully occupied during the period of unresponsiveness.

Bug 46917 seems related as well.
Comment 4 Mikko Ahlroth 2013-06-06 11:55:14 UTC
Created attachment 80395 [details]
Shark profile of LibreOffice when changing style of table in Impress

I created a new Impress file and inserted a table of size 20x20 on an empty slide. I started Shark profiling and with the table selected, from "Taulukon suunnittelu" ("Table design" I think) I chose a different page style. The file contains the call stack as recorded by Shark, with the heaviest calls sorted to be on top.
Comment 5 Richard Neill 2013-07-22 02:18:40 UTC
This is true for moving any object, no matter how simple.  For example:

1. New Impress Presentation. One slide (using the default master).

2. Create one text box, and type a few words in it. 

3. Move the box with the mouse. It's really quite sluggish, even on a fast PC. The screen repaints at about 5Hz.

4. Now try creating an empty 5x25 table, and moving that. The screen redraws about every 5 seconds.

5. Textboxes with 20 lines of text are also pretty bad. It feels a bit like X11-forwarding over a dial-up modem!

I'm using 4.0.2.2 in Ubuntu Raring, 64-bit.
Comment 6 QA Administrators 2015-10-14 19:56:41 UTC Comment hidden (obsolete)
Comment 7 Morten Leikvoll 2015-10-15 06:40:18 UTC
Works on
Version: 4.3.7.2
Build ID: 8a35821d8636a03b8bf4e15b48f59794652c68ba

Running "Windows 10 Pro" edition system type "64-bit operating system, x64 based processor"