Created attachment 132790 [details]
screenshot of problematic document
Document is too large for the upload, here's a download link: https://drive.google.com/uc?id=0B78BGwELLf4wVlRMLXlqT2RUdTA
This issue is specific to this document. I usually do not have issues opening docx.
Open the document.
Start scrolling down.
Watch CPU usage massively spike and document become extremely laggy the further down you scroll.
Notice some of the pictures are overlapping
Tried on both 32 and 64bit versions of LO 18.104.22.168
64bit quad core AMD.
Thank you for taking the time to report this issue. Unfortunately with large 2 to 5 MB jpg images, each having 3500px width, there would be CPU spikes to process these images.
One issue that i noticed when opening the image is that its not repaginating correctly, that is why it says 'Page 1 of 3' in the statusbar, and this seems to be caused by the images that are set as 'no wrap' appearing floating over text, so lets try to fix this regression in this bug report.
The worst lag was caused when viewing the overlapping images so hopefully resolving that improves the situation.
But shouldn't image rendering be something handled by the GPU?
Text overlapping can be seen as far back as 4.4, but it got to its current bad state in 5.3. Switching to web view and back to normal view to force the repagination shows the doc as it should be.
(In reply to funk from comment #2)
> The worst lag was caused when viewing the overlapping images so hopefully
> resolving that improves the situation.
Well its 2 large images next to each other so it would be double the process to show them.
> But shouldn't image rendering be something handled by the GPU?
The graphics layer changed in LibreOffice 4.2, so there are still problems that need to be addressed to get it as snappy as it used to be in 4.1.