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: [email protected]
          Reporter: [email protected]

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 <[email protected]>
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.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to