Created attachment 112235 [details] Example of .odt file with an SVG image Steps to reproduce: - open the .odt file attached - try to scroll quickly (e.g. with the mouse wheel) => it is not possible to scroll quickly. When you deal with document containing SVG images, this is a real annoyance. This does not happen with png or jpg images. Maybe SVG images should be cached for faster scrolling?
Comment on attachment 112235 [details] Example of .odt file with an SVG image fix mimetype
(In reply to Frederic Parrenin from comment #0) > Steps to reproduce: > - open the .odt file attached (attachment 112235 [details]) > - try to scroll quickly (e.g. with the mouse wheel) > => it is not possible to scroll quickly. When I try to scroll quickly, the image free..zes...and..up..dates slowly. > When you deal with document containing SVG images, this is a real annoyance. > This does not happen with png or jpg images. > Maybe SVG images should be cached for faster scrolling? IS the problem the SVG image? How does that test compare to a similar ODT with the same image in JPEG or PNG format embedded on the first page? Why don't you attach a couple of test documents, and we can take a look. Status -> NEEDINFO (When you're done uploading the test docs, please change status back to UNCONFIRMED. Thanks!)
Created attachment 112284 [details] .odt file with an .svg and and .png image In the attached file, you have the same svg image on the first page and a png image on the second page. You will notice that the scrolling is quick enough for the png image but slow for the svg image. Notice also that, for the svg image, the scrolling down is faster than the scrolling up.
Here you will find 2 documents with several svg images showing the same scrolling problem: https://drive.google.com/file/d/0BzX8dPORePBsd1dCWndlcHM3bVE/view?usp=sharing https://drive.google.com/file/d/0BzX8dPORePBsZzFDLWdQSzR3S2M/view?usp=sharing
(In reply to Frederic Parrenin from comment #3) > Created attachment 112284 [details] > .odt file with an .svg and and .png image Thanks! > In the attached file, you have the same svg image on the first page and a > png image on the second page. You will notice that the scrolling is quick > enough for the png image but slow for the svg image. CONFIRMED with LO 4.4.0.2 + Ubuntu 14.04 The SVG is much slower; hopefully there's something we can do about speeding that up. Status -> NEW Whiteboard -> perf > Notice also that, for the svg image, the scrolling down is faster than the > scrolling up. NOREPRO: Going both up and down is slow, but scrolling down seems a bit faster (This makes sense to me, because when scrolling down, the SVG is the first thing on the first page, and is already fully loaded. When I put the SVG on the 2nd page, it was just as slow to scroll up as down)
*** This bug has been marked as a duplicate of bug 82214 ***
Migrating Whiteboard tags to Keywords: (perf, filter:svg -> filter:svgInsert) [NinjaEdit]