Bug 107987 - EDITING: Resizing an image is slow depending on slide design
Summary: EDITING: Resizing an image is slow depending on slide design
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
4.4 all versions
Hardware: All Windows (All)
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisectRequest, haveBacktrace, perf, regression
: 117727 (view as bug list)
Depends on:
Blocks: Impress-Images
  Show dependency treegraph
 
Reported: 2017-05-21 10:20 UTC by Telesto
Modified: 2019-04-01 08:02 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Example file (790.97 KB, application/vnd.oasis.opendocument.presentation)
2017-05-21 10:20 UTC, Telesto
Details
Callgrind output from 5.5 (7.03 MB, application/x-xz)
2017-06-03 09:33 UTC, Buovjaga
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2017-05-21 10:20:03 UTC
Description:
Resizing of an image is slow depending of the chosen template

Steps to Reproduce:
1. Open the attached file
2. Enlarge the image by selecting it an dragging a corner -> quite choppy

Actual Results:  
Resizing is quite choppy

Expected Results:
Resizing should be smooth as it was before 


Reproducible: Always

User Profile Reset: No

Additional Info:
Found in
Version: 5.5.0.0.alpha0+
Build ID: d57e6cd9dcc96112994ca2b14ac45896e86b26e5
CPU threads: 4; OS: Windows 6.19; UI render: default; 
TinderBox: Win-x86@42, Branch:master, Time: 2017-05-18_22:43:07
Locale: nl-NL (nl_NL); Calc: CL

and in
Versie: 4.4.6.3 
Build ID: e8938fd3328e95dcf59dd64e7facd2c7d67c704d
Locale: nl_NL

but not in
Version: 4.3.0.4
Build ID: 62ad5818884a2fc2e5780dd45466868d41009ec0


User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0
Comment 1 Telesto 2017-05-21 10:20:17 UTC
Created attachment 133431 [details]
Example file
Comment 2 Buovjaga 2017-06-03 09:24:05 UTC
It's choppy on Win, but not on Lin.
Maybe I should do a callgrind on Lin anyway.
I confirmed it was not choppy before.

Version: 5.5.0.0.alpha0+
Build ID: b08217989558addbcaded122a4e7211ae24bbcff
CPU threads: 4; OS: Windows 6.19; UI render: default; 
TinderBox: Win-x86@42, Branch:master, Time: 2017-05-31_06:31:36
Locale: fi-FI (fi_FI); Calc: group

Arch Linux 64-bit, KDE Plasma 5
Version: 5.5.0.0.alpha0+
Build ID: c855400e9686ddd8bcba5691393f839f6f52c966
CPU threads: 8; OS: Linux 4.11; UI render: default; VCL: kde4; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group
Built on June 2nd 2017
Comment 3 Buovjaga 2017-06-03 09:33:53 UTC
Created attachment 133822 [details]
Callgrind output from 5.5

Arch Linux 64-bit, KDE Plasma 5
Version: 5.5.0.0.alpha0+
Build ID: c855400e9686ddd8bcba5691393f839f6f52c966
CPU threads: 8; OS: Linux 4.11; UI render: default; VCL: kde4; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group
Built on June 2nd 2017
Comment 4 Buovjaga 2018-05-22 17:52:11 UTC
Telesto: I was going to try and bibisect this, but I noticed that the default resizing method changed from 4.3 to 4.4. In 4.3, the resizing is not proportional by default. In 4.3 you have to press down the Shift key while you resize to get the same method as in 4.4 and newer. With this in 4.3, it is also a bit choppy.

Can you re-test with Shift-drag in 4.3 and try to compare and give your opinion? I still think it is a bit slower in 6.1. In 4.3 it also crashes after Shift-dragging for a bit.
Comment 5 Telesto 2018-05-22 17:58:51 UTC
*** Bug 117727 has been marked as a duplicate of this bug. ***
Comment 6 Telesto 2018-05-22 18:01:23 UTC
(In reply to Buovjaga from comment #4)
> Telesto: I was going to try and bibisect this, but I noticed that the
> default resizing method changed from 4.3 to 4.4. In 4.3, the resizing is not
> proportional by default. In 4.3 you have to press down the Shift key while
> you resize to get the same method as in 4.4 and newer. With this in 4.3, it
> is also a bit choppy.
> 
> Can you re-test with Shift-drag in 4.3 and try to compare and give your
> opinion? I still think it is a bit slower in 6.1. In 4.3 it also crashes
> after Shift-dragging for a bit.

A different approach, probably the same issue (bug 117727)

--> Dragging a fontwork over the sunset template is rather slow

Steps to Reproduce:
1. Open Impress
2. Apply the sunset slide template (similar for focus template)
3. Insert a fontwork
4. Drag it around & monitor CPU
Comment 7 Buovjaga 2018-05-22 18:23:43 UTC
(In reply to Telesto from comment #6)
> A different approach, probably the same issue (bug 117727)
> 
> --> Dragging a fontwork over the sunset template is rather slow
> 
> Steps to Reproduce:
> 1. Open Impress
> 2. Apply the sunset slide template (similar for focus template)
> 3. Insert a fontwork
> 4. Drag it around & monitor CPU

Same CPU use with 4.3 and 6.1