Bug 35455 - location of image in .doc file not preserved
Summary: location of image in .doc file not preserved
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.3.2 release
Hardware: x86 (IA32) All
: lowest normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-19 21:48 UTC by Chris Peñalver
Modified: 2014-02-03 01:15 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
test 2.doc (48.50 KB, application/msword)
2011-03-19 21:48 UTC, Chris Peñalver
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Peñalver 2011-03-19 21:48:51 UTC
Created attachment 44627 [details]
test 2.doc

Downstream bug may be found at:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/678207

1) lsb_release -rd
Description: Ubuntu Natty (development branch)
Release: 11.04

2) apt-cache policy libreoffice-writer
libreoffice-writer:
  Installed: 1:3.3.1-1ubuntu5
  Candidate: 1:3.3.1-1ubuntu5
  Version table:
 *** 1:3.3.1-1ubuntu5 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty/main i386 Packages
        100 /var/lib/dpkg/status

apt-cache policy wine
wine:
  Installed: 1.2.2-0ubuntu3
  Candidate: 1.2.2-0ubuntu3
  Version table:
 *** 1.2.2-0ubuntu3 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty/universe i386 Packages
        100 /var/lib/dpkg/status

Microsoft Office Word Viewer 2003 11.8169.8172 SP3

3) What is expected to happen is when one performs at the Terminal:

cd ~/Desktop && wget https://bugs.launchpad.net/ubuntu/+source/openoffice.org/+bug/678207/+attachment/1740475/+files/test%202.doc && lowriter -nologo test\ 2.doc

the images in the attached .doc file looks the same in LibreOffice as it does in MSOWV via WINE.

4) What happens instead is the center image of the 5 at the bottom is slightly higher vertically above the others in LibreOffice. However, in MSOWV via WINE the center image is aligned vertically with the other 4. The images are centered using 'more layout options -> 'centered relative to bottom margin'.
Comment 1 Steve Edmonds 2011-03-31 14:42:08 UTC
In LO 3.3.2/Suse 11.0 I see the centre image at the bottom of page 2, the other 4 about 1/3 down page 2.
Was the doc created in MSW or LO?
Comment 2 Chris Peñalver 2011-03-31 15:43:50 UTC
Steve Edmonds, this is unknown. However, I will ask the original downstream reporter. Issue reproduced in LO 3.3.2 Ubuntu 10.10.

lsb_release -rd
Description:	Ubuntu 10.10
Release:	10.10

apt-cache policy libreoffice-writer
libreoffice-writer:
  Installed: 1:3.3.2-1ubuntu2~maverick1
  Candidate: 1:3.3.2-1ubuntu2~maverick1
  Version table:
 *** 1:3.3.2-1ubuntu2~maverick1 0
        500 http://ppa.launchpad.net/libreoffice/ppa/ubuntu/ maverick/main i386 Packages
        100 /var/lib/dpkg/status
Comment 3 leighman 2011-04-01 03:05:24 UTC
The file was produced in Word 2007
Comment 4 Björn Michaelsen 2011-12-23 11:52:28 UTC
[This is an automated message.]
This bug was filed before the changes to Bugzilla on 2011-10-16. Thus it
started right out as NEW without ever being explicitly confirmed. The bug is
changed to state NEEDINFO for this reason. To move this bug from NEEDINFO back
to NEW please check if the bug still persists with the 3.5.0 beta1 or beta2 prereleases.
Details on how to test the 3.5.0 beta1 can be found at:
http://wiki.documentfoundation.org/QA/BugHunting_Session_3.5.0.-1

more detail on this bulk operation: http://nabble.documentfoundation.org/RFC-Operation-Spamzilla-tp3607474p3607474.html
Comment 5 Chris Peñalver 2012-01-03 19:05:32 UTC
Reproducible in, however instead of the center image moving slightly up, it moved far down below the others:
LOdev 3.5.0beta2 
Build ID: 8589e48-760cc4d-f39cf3d-1b2857e-60db978
Microsoft Windows Vista Business 6.0.6002 Service Pack 2 Build 6002
Comment 6 Joel Madero 2012-06-08 08:42:26 UTC
I'm raising this from trivial status to Normal as I think .doc should be better handled in general in order to ensure that the transition between MS Office and LibreOffice is a smooth one. Preserving location of an image seems pretty important if we hope to keep users around who are forced to switch between LO and MS, for instance with me I have to use MS Office at work and choose to use LO at home, if I was dealing with images a lot, this bug would be a nightmare.
Comment 7 Alexandr 2014-02-01 18:49:32 UTC
I opened the file in different programs:
LibreOffice Writer 3.5.4(Debian Wheezy), 4.1.4(Debian Wheezy-backports), 4.2.0.3
MS Word 2002(Win xp), 2007(win 7), 2010(win 2003 server)

In any case result was the same as described in comment 5: the central picture is in the bottom of page.

Can it be a bug of wine? Can anybody reproduce difference of the pictures positions between MS Word and LO Writer?
Comment 8 Chris Peñalver 2014-02-03 01:15:06 UTC
WORKSFORME in:
lsb_release -rd
Description:	Ubuntu Trusty Tahr (development branch)
Release:	14.04

apt-cache policy libreoffice-writer
libreoffice-writer:
  Installed: 1:4.1.3-0ubuntu3
  Candidate: 1:4.1.3-0ubuntu3
  Version table:
     1:4.2.0~rc4-0ubuntu1 0
        400 http://us.archive.ubuntu.com/ubuntu/ trusty-proposed/main amd64 Packages
 *** 1:4.1.3-0ubuntu3 0
        500 http://us.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
        100 /var/lib/dpkg/status