Description: The attached PDF file takes several minutes to open. The same file opens in Acrobat reader almost immediately. Steps to Reproduce: 1. Start LibreOffice (I've used soffice.exe from command line) 2. Open the attached file. Actual Results: The file opens after 3 minutes. Expected Results: Faster opening (several seconds expected). Reproducible: Always User Profile Reset: No Additional Info: User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:59.0) Gecko/20100101 Firefox/59.0
Created attachment 140595 [details] PDF file
LibreOffice is not a PDF editor/viewer. This 209 page PDF document is being filter imported to multiple Draw pages with content on each page being independently rendered to Draw objects. That filter action is inherently slow--and is not at all what a PDF viewer does. The pdfium based insert filter will render the 1st page of the document to a LibreOffice document canvas immediately.
Dear Stuart, thank you for the explanation. The only question I have, is regarding the pdfium filter you mention - "The pdfium based insert filter will render the 1st page of the document to a LibreOffice document canvas immediately." Is it enabled by default, or is it something that can be enabled to speed up the display. Sorry if I misunderstood your response. Best regards, Jan
(In reply to jan.prochaska from comment #3) > ... > thank you for the explanation. > The only question I have, is regarding the pdfium filter you mention - "The > pdfium based insert filter will render the 1st page of the document to a > LibreOffice document canvas immediately." > Is it enabled by default, or is it something that can be enabled to speed up > the display. There are two filter methods to work with PDF source content. One is the pdfio "import" filter. It will extract the structure of the PDF and render them as LibreOffice Draw objects (with varying fidelity). The other pdfium based "insert" filter treats content in a PDF as an image source. At the moment there is no UI/API implemented to target other than the first page of the PDF. The fidelity to the original PDF is very high, but the resolution is a bit low (currently 200ppi). Both facets of the pdfium filter are on the dev's list. Both filters are enabled by default, but are reached with different controls in the UI. The pdfio "import" filter is used when you open a PDF from the OS. By default it will open into Draw, but the filter can target other LibreOffice modules. Alternatively, the pdfium "insert" filter is used just when inserting a PDF source as an image, done from Insert -> Image. > Sorry if I misunderstood your response. > No worries, I probably was not clear enough.
OK, all clear. Thanks for the explanation.
*** Bug 146924 has been marked as a duplicate of this bug. ***