[Libreoffice-bugs] [Bug 141049] Empty frame instead of image (WMF/EMF) on file-open DOC (OK if resaved in MSO as DOC/X)

2021-12-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=141049

Hossein  changed:

   What|Removed |Added

   Assignee|libreoffice-b...@lists.free |hoss...@libreoffice.org
   |desktop.org |

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 141049] Empty frame instead of image (WMF/EMF) on file-open DOC (OK if resaved in MSO as DOC/X)

2021-12-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=141049

--- Comment #13 from Hossein  ---
Created attachment 176638
  --> https://bugs.documentfoundation.org/attachment.cgi?id=176638&action=edit
Screenshot: The inserted WMF can be made visible using the crop tool

At first, it seemed that the embedded WMF file is not loaded at all, but the
WMF file itself can be loaded separately without problem; So this observation
looked contradictory.
Now, using the crop tool one can see that the inserted WMF file can become
visible by extending the visible area. It can be deduced that the dimensions
and/or the position of the WMF is wrongly calculated, which is in accordance to
the changes in the commit found by the bibisect.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 141049] Empty frame instead of image (WMF/EMF) on file-open DOC (OK if resaved in MSO as DOC/X)

2021-10-12 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=141049

--- Comment #12 from Hossein  ---
Created attachment 175705
  --> https://bugs.documentfoundation.org/attachment.cgi?id=175705&action=edit
PDF output for attachment 175701 from MS Word

This is the PDF output for attachment 175701 from MS Word.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 141049] Empty frame instead of image (WMF/EMF) on file-open DOC (OK if resaved in MSO as DOC/X)

2021-10-12 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=141049

--- Comment #11 from Hossein  ---
Created attachment 175704
  --> https://bugs.documentfoundation.org/attachment.cgi?id=175704&action=edit
EMF file inside attachment 175701

This is the EMF file inside .doc file in attachment 175701, which is itself
opened and rendered correctly in LibreOffice Draw 6.2, 7.2 and Dev 7.3.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 141049] Empty frame instead of image (WMF/EMF) on file-open DOC (OK if resaved in MSO as DOC/X)

2021-10-12 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=141049

--- Comment #10 from Hossein  ---
Created attachment 175703
  --> https://bugs.documentfoundation.org/attachment.cgi?id=175703&action=edit
Bad PDF output for attachment 175701 from LibreOffice 7.3 Dev

This is the bad PDF output for attachment 175701 from LibreOffice 7.3 Dev. The
EMF file inside .doc file is not rendered, the output is almost blank, and the
PDF file size is around 15k.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 141049] Empty frame instead of image (WMF/EMF) on file-open DOC (OK if resaved in MSO as DOC/X)

2021-10-12 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=141049

--- Comment #9 from Hossein  ---
Created attachment 175702
  --> https://bugs.documentfoundation.org/attachment.cgi?id=175702&action=edit
Good PDF output for attachment 175701 from LibreOffice 6.2.0.1

This is the good PDF output for attachment 175701 from LibreOffice 6.2.0.1. The
EMF file inside .doc file is rendered correctly, and the PDF file size is
around 45k.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 141049] Empty frame instead of image (WMF/EMF) on file-open DOC (OK if resaved in MSO as DOC/X)

2021-10-12 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=141049

--- Comment #8 from Hossein  ---
Created attachment 175701
  --> https://bugs.documentfoundation.org/attachment.cgi?id=175701&action=edit
.doc file with 1 emf file inside it that should be visible, but it is not

This file is one of the figures that is not shown in the attachment 43525 from
bug 34454.
This .doc file contains 1 emf file inside that should be visible, but it is
not.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 141049] Empty frame instead of image (WMF/EMF) on file-open DOC (OK if resaved in MSO as DOC/X)

2021-10-12 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=141049

--- Comment #7 from Hossein  ---
(In reply to Timur from comment #4)
> I bisected this to bug 125281.
> Xisco,you are fresh with images and lazy-loading, please see.
This is correct.
My bibisect also lead to the fix for bug 125281:

https://git.libreoffice.org/core/+/69b62cfcbd364d7f62142149c2f690104b217ca1%5E%21/

commit 69b62cfcbd364d7f62142149c2f690104b217ca1
author Miklos Vajna  Mon May 27 21:24:42 2019 +0200
tdf#125281 DOC import: fix size of lazy-loaded metafiles
Metafiles may have an external header, so once graphic data is read, we
need to set the size explicitly. Otherwise the width of the EMF image in
the bugdoc will be too small.

The script used for the automated bibisect (https://lwn.net/Articles/317154/)
was:
(tdf141049.doc is one of the figures that is not shown in the example
(attachment 43525 from bug 34454). The blank output is <20k, but the correct
output is > 40k. Checking the size to be > 40k is used to determine if the
commit is good or bad. 

./instdir/program/soffice --headless --convert-to pdf tdf141049.doc
file=tdf141049.pdf
minsize=4
size=$(wc -c <"$file")
if [ $size -ge $minsize ]; then
exit 0
else
exit 1
fi

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 141049] Empty frame instead of image (WMF/EMF) on file-open DOC (OK if resaved in MSO as DOC/X)

2021-10-12 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=141049

--- Comment #6 from Hossein  ---
It works fine with official builds for 6.2:

https://downloadarchive.documentfoundation.org/libreoffice/old/6.2.0.1/deb/x86_64/

Version: 6.2.0.1
Build ID: 0412ee99e862f384c1106d0841a950c4cfaa9df1
CPU threads: 8; OS: Linux 5.11; UI render: default; VCL: gtk3; 
Locale: en-US (en_US.UTF-8); UI-Language: en-US
Calc: threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 141049] Empty frame instead of image (WMF/EMF) on file-open DOC (OK if resaved in MSO as DOC/X)

2021-10-12 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=141049

--- Comment #5 from Hossein  ---
(In reply to Telesto from comment #1)
> Technically this is bug 34454. Apparently solved for GTK3, but still an
> issue on Windows
This is not OK in Gtk3, as far as I have tested. The bug was reproducible in
these platforms:

LibreOffice 7.2 (Windows / Linux)

Version: 7.2.0.4 / LibreOffice Community
Build ID: 9a9c6381e3f7a62afc1329bd359cc48accb6435b
CPU threads: 8; OS: Linux 5.11; UI render: default; VCL: x11
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

Version: 7.2.0.4 / LibreOffice Community
Build ID: 9a9c6381e3f7a62afc1329bd359cc48accb6435b
CPU threads: 8; OS: Linux 5.11; UI render: Skia/Vulkan; VCL: x11
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

Version: 7.2.0.4 / LibreOffice Community
Build ID: 9a9c6381e3f7a62afc1329bd359cc48accb6435b
CPU threads: 8; OS: Linux 5.11; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

Version: 7.2.0.4 / LibreOffice Community
Build ID: 9a9c6381e3f7a62afc1329bd359cc48accb6435b
CPU threads: 8; OS: Linux 5.11; UI render: default; VCL: qt5 (qfont+xcb)
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

Version: 7.2.0.4 / LibreOffice Community
Build ID: 9a9c6381e3f7a62afc1329bd359cc48accb6435b
CPU threads: 8; OS: Linux 5.11; UI render: default; VCL: kf5 (cairo+xcb)
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

Version: 7.2.1.2 (x64) / LibreOffice Community
Build ID: 87b77fad49947c1441b67c559c339af8f3517e22
CPU threads: 32; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: en-US (en_DE); UI: en-US
Calc: threaded

--

LibreOffice 7.3 Dev (Windows / Linux)

Version: 7.3.0.0.alpha0+ / LibreOffice Community
Build ID: 9a0335e7d2e43e46959bda16daf3fbf5944a1d9a
CPU threads: 8; OS: Linux 5.11; UI render: default; VCL: x11
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

Version: 7.3.0.0.alpha0+ / LibreOffice Community
Build ID: 9a0335e7d2e43e46959bda16daf3fbf5944a1d9a
CPU threads: 8; OS: Linux 5.11; UI render: Skia/Vulkan; VCL: x11
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

Version: 7.3.0.0.alpha0+ / LibreOffice Community
Build ID: 9a0335e7d2e43e46959bda16daf3fbf5944a1d9a
CPU threads: 8; OS: Linux 5.11; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

Version: 7.3.0.0.alpha0+ / LibreOffice Community
Build ID: 9a0335e7d2e43e46959bda16daf3fbf5944a1d9a
CPU threads: 8; OS: Linux 5.11; UI render: default; VCL: qt5 (qfont+xcb)
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

Version: 7.3.0.0.alpha0+ / LibreOffice Community
Build ID: 9a0335e7d2e43e46959bda16daf3fbf5944a1d9a
CPU threads: 8; OS: Linux 5.11; UI render: default; VCL: qt6 (qfont+xcb)
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

Version: 7.3.0.0.alpha0+ / LibreOffice Community
Build ID: 9a0335e7d2e43e46959bda16daf3fbf5944a1d9a
CPU threads: 8; OS: Linux 5.11; UI render: default; VCL: kf5 (cairo+xcb)
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 9a0335e7d2e43e46959bda16daf3fbf5944a1d9a
CPU threads: 32; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: en-US (en_DE); UI: en-US
Calc: threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 141049] Empty frame instead of image (WMF/EMF) on file-open DOC (OK if resaved in MSO as DOC/X)

2021-03-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=141049

Timur  changed:

   What|Removed |Added

   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=12
   ||5281
   Keywords|bibisectRequest |bibisected, bisected

--- Comment #4 from Timur  ---
I bisected this to bug 125281.
Xisco,you are fresh with images and lazy-loading, please see.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 141049] Empty frame instead of image (WMF/EMF) on file-open DOC (OK if resaved in MSO as DOC/X)

2021-03-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=141049

Timur  changed:

   What|Removed |Added

Summary|Empty frame instead of  |Empty frame instead of
   |image (WMF/EMF) on  |image (WMF/EMF) on
   |file-open DOC   |file-open DOC (OK if
   ||resaved in MSO as DOC/X)
Version|4.0 all versions|6.2.8.2 release
 OS|Windows (All)   |All

--- Comment #3 from Timur  ---
Further triage shows:
This was ok in 6.2 oldest but regressed again in 6.2 master. 
Same in Windows and Linux. 
Images are ok if DOC is resaved in MSO as DOC or DOCX. 
So this is the same issue as original bug 34454, where UI test was missing.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs