[Libreoffice-bugs] [Bug 118140] FILEOPEN: DOCX: images incorrectly cropped

2019-10-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=118140

Xisco Faulí  changed:

   What|Removed |Added

 Status|RESOLVED|VERIFIED
 CC||l...@deller.id.au

-- 
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 118140] FILEOPEN: DOCX: images incorrectly cropped

2019-10-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=118140

Xisco Faulí  changed:

   What|Removed |Added

 Resolution|--- |FIXED
   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=12
   ||6708
 Status|NEW |RESOLVED

--- Comment #8 from Xisco Faulí  ---
No longer reproducible in

Version: 6.4.0.0.alpha1+
Build ID: de4839e66d3d195315729b95cc144cdab96b6e74
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); UI-Language: en-US
Calc: threaded

nor in

Versión: 6.3.3.1 (x86)
Id. de compilación: f41f4c7f9507aeca13cb9df51f34d80e8ba30a99
Subprocs. CPU: 1; SO: Windows 6.1; Repres. IU: predet.; VCL: win; 
Configuración regional: es-ES (es_ES); Idioma de IU: es-ES
Calc: threaded

Issued fixed by
https://cgit.freedesktop.org/libreoffice/core/commit/?id=6369cab9b1e16275c8700692bb717aec3c42d346

@Luke Deller, Thanks for fixing this issue!

-- 
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 118140] FILEOPEN: DOCX: images incorrectly cropped

2019-05-30 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=118140

Xisco Faulí  changed:

   What|Removed |Added

 Status|ASSIGNED|NEW
   Assignee|xiscofa...@libreoffice.org  |libreoffice-b...@lists.free
   ||desktop.org

--- Comment #7 from Xisco Faulí  ---
I tried to fix it in a similar way to bug 125281

diff --git a/vcl/source/graphic/UnoGraphicProvider.cxx
b/vcl/source/graphic/UnoGraphicProvider.cxx
index 95292ee13186..3ed73c6cf0bb 100644
--- a/vcl/source/graphic/UnoGraphicProvider.cxx
+++ b/vcl/source/graphic/UnoGraphicProvider.cxx
@@ -408,6 +408,11 @@ uno::Reference< ::graphic::XGraphic > SAL_CALL
GraphicProvider::queryGraphic( co
 if (bLazyRead)
 {
 Graphic aGraphic = rFilter.ImportUnloadedGraphic(*pIStm);
+Size aPrefSize;
+aPrefSize.setWidth ( nExtWidth );
+aPrefSize.setHeight ( nExtHeight );
+// Size available in metafile header, set that here.
+aGraphic.SetPrefSize(aPrefSize);
 if (!aGraphic.IsNone())
 aVCLGraphic = aGraphic;
 }

but then testImageLazyRead fails, so I don't really know how to fix it...
@Miklos, feel free to take it, I guess you can fix it in 2 minutes

-- 
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 118140] FILEOPEN: DOCX: images incorrectly cropped

2019-05-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=118140

Xisco Faulí  changed:

   What|Removed |Added

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

-- 
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 118140] FILEOPEN: DOCX: images incorrectly cropped

2019-05-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=118140

Xisco Faulí  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED

--- Comment #6 from Xisco Faulí  ---
I think I have a fix for this issue based on miklos' commit:
https://gerrit.libreoffice.org/plugins/gitiles/core/+/69b62cfcbd364d7f62142149c2f690104b217ca1%5E%21

Tomorrow I'll submit it to gerrit along with a unittest :D

-- 
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 118140] FILEOPEN: DOCX: images incorrectly cropped

2019-05-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=118140

--- Comment #5 from Xisco Faulí  ---
*** Bug 118036 has been marked as a duplicate of this bug. ***

-- 
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 118140] FILEOPEN: DOCX: images incorrectly cropped

2019-05-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=118140

Xisco Faulí  changed:

   What|Removed |Added

Summary|FILEOPEN: images|FILEOPEN: DOCX: images
   |incorrectly cropped |incorrectly cropped
   Keywords||filter:docx

-- 
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