Bug 100953 - [UI] Sluggish text selection requires a full CPU core
Summary: [UI] Sluggish text selection requires a full CPU core
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
5.1.4.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: perf, regression
Depends on:
Blocks:
 
Reported: 2016-07-16 10:38 UTC by szotsaki
Modified: 2017-10-22 16:19 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Demonstration slide (161.42 KB, application/vnd.oasis.opendocument.presentation)
2016-07-16 10:38 UTC, szotsaki
Details

Note You need to log in before you can comment on or make changes to this bug.
Description szotsaki 2016-07-16 10:38:55 UTC
Created attachment 126235 [details]
Demonstration slide

1. Start your favourite task manager and order it by CPU usage.
2. Open the attached .odp file and position your mouse pointer in the last line over the word "Minden".
3. Press the mouse button on that word and slowly start moving your mouse upwards letting the selection follow the pointer.
4. While doing this, inspect the CPU usage of soffice.bin.

Selecting text causes 100% usage of a core and that makes the whole procedure sluggish.

According to my LibreOffce settings:
- hardware acceleration is on;
- antialiasing is on;
- OpenGL is ticked on, however the status text says it's disabled.

OS: openSUSE Leap 42.1, x64, KDE 5
Comment 1 steve 2016-07-16 16:07:07 UTC
No CPU spikes on OS X. Setting to Linux only.
Comment 2 Buovjaga 2016-07-16 20:32:15 UTC
Yeah, it did get pretty high.

Arch Linux 64-bit, KDE Plasma 5
Version: 5.3.0.0.alpha0+
Build ID: ab1b351840160655a9f0caedbb35e9fdf203c5a0
CPU Threads: 8; OS Version: Linux 4.6; UI Render: default; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group
Built on July 16th 2016
Comment 3 Telesto 2017-06-25 11:59:45 UTC
Comfirming with:
Version: 6.0.0.0.alpha0+
Build ID: cb37c5f0f3de7b545231a53d46a5271058af76ad
CPU threads: 4; OS: Windows 6.19; UI render: default; 
TinderBox: Win-x86@42, Branch:master, Time: 2017-06-23_06:55:41
Locale: nl-NL (nl_NL); Calc: CL

no repro with
Version: 5.0.6.3
Build ID: 490fc03b25318460cfc54456516ea2519c11d1aa
Locale: en-US (nl_NL)

Setting back to all, because Windows is also affected
Comment 4 Telesto 2017-10-07 19:08:51 UTC
No repro with:
Version: 6.0.0.0.alpha0+
Build ID: c5a93cad149618bbd43632f1660a558c34bdbf7e
CPU threads: 4; OS: Windows 6.3; UI render: default; 
TinderBox: Win-x86@42, Branch:master, Time: 2017-10-07_01:04:25
Locale: nl-NL (nl_NL); Calc: CL
Comment 5 Buovjaga 2017-10-22 16:19:05 UTC
(In reply to Telesto from comment #4)
> No repro with:
> Version: 6.0.0.0.alpha0+
> Build ID: c5a93cad149618bbd43632f1660a558c34bdbf7e
> CPU threads: 4; OS: Windows 6.3; UI render: default; 
> TinderBox: Win-x86@42, Branch:master, Time: 2017-10-07_01:04:25
> Locale: nl-NL (nl_NL); Calc: CL

True.

Arch Linux 64-bit, KDE Plasma 5
Version: 6.0.0.0.alpha1+
Build ID: 2460e7637f635727f4596f3e3d799eed434df082
CPU threads: 8; OS: Linux 4.13; UI render: default; VCL: kde4; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group
Built on October 22nd 2017