Bug 93923 - UI freeze on resizing a chart in a large spreadsheet
Summary: UI freeze on resizing a chart in a large spreadsheet
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
4.4.2.2 release
Hardware: x86-64 (AMD64) Linux (All)
: high major
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Chart
  Show dependency treegraph
 
Reported: 2015-09-04 14:23 UTC by Andrey Semashev
Modified: 2018-03-29 11:54 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
The spreadsheed illustrating the problem. (1.35 MB, application/vnd.ms-excel)
2015-09-04 14:23 UTC, Andrey Semashev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Semashev 2015-09-04 14:23:46 UTC
Created attachment 118416 [details]
The spreadsheed illustrating the problem.

Created in continuation of bug #81230.

When a chart in Calc spreadsheet consists of many points, resizing it causes UI to block with a CPU code being loaded 100% for a very long time (a few minutes). For some time it also affects mouse handling in the desktop environment (XFCE 4.12) - the mouse cursor changes to the one that is displayed when you resize windows and it doesn't change back to normal even when I switch to another application; it also appears as if other applications are not responsive to mouse actions. After some time DE restores its functionality, while Calc is still loading the CPU.

Steps to reproduce:

1. Open the attached spreadsheet.
2. Using mouse, resize the chart and look at CPU load.

This is on Kubuntu 15.04 x86_64. Converting the spreadsheet to .ods does not fix the problem.
Comment 1 Jean-Baptiste Faure 2015-09-06 11:46:18 UTC
Not reproducible with LO 5.0.3.0+ under Ubuntu 15.04 x86-64
Not reproducible with LO 4.4.6.0+ under Ubuntu 15.04 x86-64
both built at home with gcc 5.1.

Please, could you try to upgrade to a recent version? Current upstream stable version are 4.4.5 and 5.0.1.

What is your Window Manager, XFCE or KDE? You speak about XFCE but you said that the distribution is Kubuntu then KDE.

Best regards. JBF
Comment 2 Andrey Semashev 2015-09-06 12:21:03 UTC
> Please, could you try to upgrade to a recent version? Current upstream stable version are 4.4.5 and 5.0.1.

Reproducible for me with Calc 5.0.1.2 installed from this PPA: https://launchpad.net/~libreoffice/+archive/ubuntu/ppa

To clarify, I open the attached file from within Calc, by choosing File->Open.

> What is your Window Manager, XFCE or KDE? You speak about XFCE but you said that the distribution is Kubuntu then KDE.

The distribution is Kubuntu 15.04 x86_64. The desktop environment is XFCE 4.12 with compton compositing manager (which has to be installed from the repositories on this distro). The window manager in XFCE is xfwm4. Just if it matters, I'm using Nvidia proprietary drivers (tried at least with 346.59 and 355.11).
Comment 3 Buovjaga 2015-09-23 08:26:08 UTC
Not reproduced.

So how does it behave, if you switch from Xfce to KDE?

I can test with some Xfce setup later myself.

Kubuntu 15.04 64-bit Plasma 5.4
Version: 5.0.1.2
Build ID: 00m0(Build:2)
Locale: en-US (en_US.UTF-8)
Comment 4 Andrey Semashev 2015-09-23 18:36:47 UTC
The problem reproduces for me on the same system in KDE5.
Comment 5 Buovjaga 2015-09-24 05:59:07 UTC
Still not reproduced.
Tested on Arch Linux 64-bit, Xfce 4.12, LibO 5.0.1
Comment 6 Usama 2016-01-08 17:56:54 UTC
I can confirm it on Libreoffice 5.1.0.1 On Ubuntu 15.04. Calc freeze and there is no way out.
Comment 7 Bookman900 2016-01-08 18:09:51 UTC
Hi Andrey!
I've tested on Gentoo Linux x86 with LO 5.0.3.2

It seems to me that this is a distro-specific issue, as Ubuntu is a rather fatty distro for any applications.

In this case it's far better to Load a live-dvd cope on *Xubuntu* (15.10) and to re-open these file to understand wheter DE affects the performance.

I'll make the ticket to "needinfo". If you're a user of UBuntu, you should try on least resource-eating DE.
Comment 8 Buovjaga 2016-01-08 19:14:59 UTC
Hmm, now I could reproduce a long freeze after a couple of resizes.
Ubuntu with Unity.

No problem on Windows, btw.

Ubuntu 15.10 64-bit 
Version: 5.2.0.0.alpha0+
Build ID: 7aeb2e8c42cd7d0850aaf33a8a8b4d88c173047f
CPU Threads: 2; OS Version: Linux 4.2; UI Render: default; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF-dbg, Branch:master, Time: 2016-01-07_03:58:16
Locale: en-US (en_US.UTF-8)

Win 7 Pro 64-bit Version: 5.2.0.0.alpha0+
Build ID: b4082bed2de12cd576a06a9f456a71101809f3ed
CPU Threads: 4; OS Version: Windows 6.1; UI Render: default; 
TinderBox: Win-x86@62-merge-TDF, Branch:MASTER, Time: 2016-01-02_00:47:38
Locale: fi-FI (fi_FI)
Comment 9 QA Administrators 2017-03-06 14:12:45 UTC Comment hidden (obsolete)
Comment 10 Noel Grandin 2018-03-29 11:14:11 UTC
this seems to be fixed as of current master
Comment 11 Buovjaga 2018-03-29 11:54:57 UTC
Yep, cannot repro, but let's tweak status as commit is unknown.