Bug 107189 - Notebookbar: CPU core hits 100% when in print preview mode
Summary: Notebookbar: CPU core hits 100% when in print preview mode
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
Keywords: haveBacktrace, perf
Depends on:
Blocks: Notebookbar CPU-AT-100%
  Show dependency treegraph
Reported: 2017-04-15 18:37 UTC by Yousuf Philips (jay) (retired)
Modified: 2018-02-09 15:55 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:

Callgrind output from 5.4 (4.12 MB, text/plain)
2017-04-16 17:10 UTC, Buovjaga

Note You need to log in before you can comment on or make changes to this bug.
Description Yousuf Philips (jay) (retired) 2017-04-15 18:37:00 UTC
1) Start Writer with tabbed Notebookbar
2) Select View tab and click Print Preview
3) Select Page Layout tab
4) Notice flickering at the above paragraph spacing spinbox and notice a CPU core of your system to hammered at 100%.

Build ID: 0c551c86f701c1f1865760e122d901c933b8fbe5
CPU threads: 2; OS: Linux 3.19; UI render: default; VCL: gtk2; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2017-04-06_00:40:42
Locale: en-US (en_US.UTF-8); Calc: group
Comment 1 Telesto 2017-04-16 11:05:05 UTC
No repro with:
CPU threads: 4; OS: Windows 6.19; UI render: GL; 
TinderBox: Win-x86@42, Branch:master, Time: 2017-04-05_23:32:27
Locale: nl-NL (nl_NL); Calc: CL
Comment 2 Yousuf Philips (jay) (retired) 2017-04-16 16:32:44 UTC
@Xisco, @Bouvjaga, @Heiko: Can either of you repo this on Linux?
Comment 3 Buovjaga 2017-04-16 17:10:35 UTC
Created attachment 132610 [details]
Callgrind output from 5.4


Arch Linux 64-bit, KDE Plasma 5
Build ID: 9f5a275a42659339ee41c4e0a4d860f2886470e4
CPU threads: 8; OS: Linux 4.10; UI render: default; VCL: kde4; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group
Built on April 15th 2016
Comment 4 Yousuf Philips (jay) (retired) 2017-04-16 18:51:58 UTC
@Buovjaga: Thanks for the callgrind.

@Syzmon: Any time to fix this performance issue?
Comment 5 Yousuf Philips (jay) (retired) 2018-02-09 15:24:09 UTC
No longer repo it with master.

Build ID: d09bdaaa660c40df241e6e1c0b8a3e905db85420
CPU threads: 2; OS: Linux 4.4; UI render: default; VCL: gtk2; 
Locale: en-US (en_US.UTF-8); Calc: group