Description: Changing the Image angle with the angle rotation tool is sometimes a bit laggy and causes high CPU utilization Steps to Reproduce: 1. Open the attached file 2. Format -> Image -> Properties -> Image Tab 3. Use the angle dragging tool and monitor CPU usage while changing Actual Results: High CPU usage. Expected Results: Same as when typing the angle into the 'textbox'. Reproducible: Always User Profile Reset: No Additional Info: Version: 6.1.0.0.alpha0+ Build ID: a9b202a6b7000e7af34f2a639ca207122a3968bf CPU threads: 4; OS: Windows 6.3; UI render: default; TinderBox: Win-x86@42, Branch:master, Time: 2017-12-26_23:10:23 Locale: nl-NL (nl_NL); Calc: CL User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0
Created attachment 138919 [details] Example file
Hmm, probably not a bug in hindsight. The rotation is mostly directly applied to the image, for example when doing this using the toolbar instead.
(In reply to Telesto from comment #2) > Hmm, probably not a bug in hindsight. The rotation is mostly directly > applied to the image, for example when doing this using the toolbar instead. Not sure what you mean as there is no preview at all when using the dialog. The old toolbar only has a preview of the box. The only one with a real-time preview is the new Sidebar rotation tool. I confirm it uses about 50% CPU for me with the handle and above 20 with the input box. Arch Linux 64-bit Version: 6.1.0.0.alpha0+ Build ID: 2d8f17565ebe867210f5769851d91b2e7b612a8f CPU threads: 8; OS: Linux 4.14; UI render: default; VCL: kde4; Locale: fi-FI (fi_FI.UTF-8); Calc: group threaded Built on January 27th 2018
(In reply to Buovjaga from comment #3) > (In reply to Telesto from comment #2) > > Hmm, probably not a bug in hindsight. The rotation is mostly directly > > applied to the image, for example when doing this using the toolbar instead. The dialog could (speculation) be using the same code as the real-time preview is the new Sidebar rotation tool. Which would mean that a real-time preview is generated somewhere in the background..
(In reply to Telesto from comment #4) > (In reply to Buovjaga from comment #3) > > (In reply to Telesto from comment #2) > > > Hmm, probably not a bug in hindsight. The rotation is mostly directly > > > applied to the image, for example when doing this using the toolbar instead. > > The dialog could (speculation) be using the same code as the real-time > preview is the new Sidebar rotation tool. Which would mean that a real-time > preview is generated somewhere in the background.. Your speculation turned out to be correct as the rotation tool is not in the dialog yet in 5.4. Adding Armin to CC: I wonder why there is not a real-time preview when using the image properties dialog yet it still hammers the CPU?
** Please read this message in its entirety before responding ** To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from http://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to 'inherited from OOo'; 4b. If the bug was not present in 3.3 - add 'regression' to keyword Feel free to come ask questions or to say hello in our QA chat: https://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
Now at a normal speed of changing the angle the CPU hovers at 10% on the same computer as in my 2018 test. I can only get it to 50%, if I wiggle the angle control unrealistically quickly like a crazy person. Linux 7.4 bibisect repo.