Bug 34590

Summary: incorrect appearance of gif pictures
Product: LibreOffice Reporter: sasha.libreoffice
Component: LibreOfficeAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED NOTABUG    
Severity: minor CC: ilmari.lauhakangas, michael.meeks, sasha.libreoffice, thomas-libo
Priority: low    
Version: 3.3.0 release   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 103152    
Attachments: image with layer
Libo 4.1.0.0 master with this gif

Description sasha.libreoffice 2011-02-22 22:30:01 UTC
Created attachment 43690 [details]
image with layer

Here is gif picture. When I open it in Gimp I see: Size of whole image 580 × 387 pixels. Size of layer 575 x 227 pixels. When I insert it in office it output on screen, it outputs only layer, but not whole image. HTML document becomes corrupt.
I tried it on Linux 64. Mozilla outputs whole image.
Comment 1 sasha.libreoffice 2011-02-23 02:46:45 UTC
On windows 32 the same problem as on Linux 64.
Comment 2 tester8 2011-02-23 07:58:44 UTC
Reproducued with LO 3.3.1 RC2 Ubuntu 10.04 x86.
Comment 3 Björn Michaelsen 2011-12-23 11:49:14 UTC Comment hidden (obsolete)
Comment 4 sasha.libreoffice 2012-01-01 22:58:34 UTC
reproduced on LibO 3.5.0 beta 1
Comment 5 Thomas Arnhold 2013-05-01 02:41:29 UTC
Created attachment 78678 [details]
Libo 4.1.0.0 master with this gif
Comment 6 Thomas Arnhold 2013-05-01 02:42:05 UTC
I can't see any problem with 4.1.0.0 master (didn't try 4.0).
Comment 7 sasha.libreoffice 2013-05-02 08:37:44 UTC
On second screenshot I see that problem is still reproducible. Picture ends exactly beneath frames of text. But should be empty space beneath of frames. And hight of picture should be almost 2 times bigger.

PS: this picture is generated by msWord by saving document as HTML. Pictures with this problem may be potentially very popular. And therefore problems is important.

What is interesting: copy-pasting this picture from Firefox to LibreDraw pastes it with correct size, but with black background (because pastes as JPEG)
Comment 8 Thomas Arnhold 2013-05-02 16:39:41 UTC
Ah ok, didn't see that it's bigger in height.
Comment 9 Julien Nabet 2013-11-15 23:48:22 UTC
On pc Debian x86-64 with master sources updated today, I reproduce the problem.

Michael: do you know who may help here? (eg by giving some code pointers?)
Comment 10 QA Administrators 2015-04-19 03:20:36 UTC Comment hidden (obsolete)
Comment 11 Buovjaga 2015-06-15 12:33:09 UTC
Still repro.

Win 7 Pro 64-bit Version: 5.1.0.0.alpha1+
Build ID: 01a189abcd9a4ca472a74b3b2c000c9338fc2c91
TinderBox: Win-x86@39, Branch:master, Time: 2015-06-14_07:46:28
Locale: fi-FI (fi_FI)
Comment 12 QA Administrators 2016-09-20 10:01:07 UTC Comment hidden (obsolete)
Comment 13 Telesto 2016-11-18 14:39:30 UTC
Still repro
Version: 5.3.0.0.alpha1+
Build ID: b223028d65d24ffcd8e27974c29c2744a5df6227
CPU Threads: 4; OS Version: Windows 6.2; UI Render: default; Layout Engine: new; 
TinderBox: Win-x86@62-merge-TDF, Branch:MASTER, Time: 2016-11-16_22:50:22
Locale: nl-NL (nl_NL); Calc: CL
Comment 14 QA Administrators 2017-11-19 19:14:55 UTC Comment hidden (obsolete)
Comment 15 Timur 2019-11-11 15:38:32 UTC
Many testers confirmed the issue, but I don't see it. 
I see that size in MSO is different, with some empty placeholder, but not in IrfanView. It says Original size: 575 x 227.
Image looks OK in LO.
I'll close this one. 
If someone objects, please explain and attach comparison screenshot.