Bug 101284 - Resizing windows sometimes doesn't throttle and kills the CPU at 100% usage on all cores
Summary: Resizing windows sometimes doesn't throttle and kills the CPU at 100% usage o...
Status: RESOLVED DUPLICATE of bug 99153
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
5.2.0.1 rc
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-04 00:29 UTC by Dan Dascalescu
Modified: 2016-08-07 15:13 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
LibreOffice extremely high CPU usage when resizing its window (9.28 MB, application/zip)
2016-08-04 00:57 UTC, Dan Dascalescu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Dascalescu 2016-08-04 00:29:25 UTC
1. Launch LibreCalc 5.2.0.1
2. Open the attachment from bug 100709
3. While the spreadsheet is opening (which takes a pretty long while), drag around two or more corners of the window to resize it.

Notice how at some point, the resizing handler keeps firing with every mouse move.

It could be argued this is a corner case, but it's not. After the resizing has stabilized,

4. Open another file (I could reproduce the issue with a CSV with less than 20 lines),
5. Resize that window after the file has finished loading (a very legitimate use case).

You may see the very same CPU-killing behavior as seen at the end of the screencast.

I've seen the second part (completely normal use case) of the bug many times, but it appears it takes working with Calc for a number of minutes before the issue appears. Steps 1-3 simply accelerate the reproduction.
Comment 1 Dan Dascalescu 2016-08-04 00:57:29 UTC
Created attachment 126562 [details]
LibreOffice extremely high CPU usage when resizing its window

Adding the attachment separately because Bugzilla croaked when I added it along with creating the bug (it should've checked for the size being > 10,000Kb).
Comment 2 Buovjaga 2016-08-07 15:13:52 UTC

*** This bug has been marked as a duplicate of bug 99153 ***