[Libreoffice-bugs] [Bug 125153] New: StarViewMetafile import regression

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue May 7 10:00:35 UTC 2019


https://bugs.documentfoundation.org/show_bug.cgi?id=125153

            Bug ID: 125153
           Summary: StarViewMetafile import regression
           Product: LibreOffice
           Version: 6.2.0.3 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: graphics stack
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: michael.stahl at cib.de

Description:
there is another performance problem though, which is *not* an infinite loop
but at least in a debug build it's taking a bloody long time scaling a bitmap
inside a metafile that must be somewhere in the document to a width of 865
million pixels; this is due to these values read from the metafile:

MetaBmpExScaleAction::Read()

p maPt
$43 = Point = {
  x = 621353314,
  y = -1397620223
}
p maSz
$44 = Size = {
  width = 1917665794,
  height = 242
}

this happens while creating preview image in
SfxPickListImpl::AddDocumentToPickList() during load.

bibisected to:

commit b67d9a5db61de3cef2dac072c55bf1dac9a2dc4c
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Wed Oct 10 16:48:06 2018 +0100

    can use remainingSize instead of Seek(STREAM_SEEK_TO_END)


Steps to Reproduce:
1. open attached SVM


Actual Results:
 marvel at nothingness being displayed

Expected Results:
an image


Reproducible: Always


User Profile Reset: No



Additional Info:

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190507/aab66202/attachment-0001.html>


More information about the Libreoffice-bugs mailing list