← Back to team overview

desktop-packages team mailing list archive

[Bug 786044] Re: [Upstream] Comments are not saved in .docx format

 

Launchpad has imported 23 comments from the remote bug at
https://bugs.freedesktop.org/show_bug.cgi?id=33463.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2011-01-25T14:22:53+00:00 Richard A. Lee, Jr. wrote:

In the latest release (3.3.0.4), when opening, editing, and saving a
document in .doc format, the comments are not preserved. That is, upon
reopening a saved document, the comments are no longer present. I have
tested this using the .odt format, and all works correctly. I have not
tested other document formats.

Reply at: https://bugs.launchpad.net/df-
libreoffice/+bug/786044/comments/0

------------------------------------------------------------------------
On 2011-01-25T14:39:38+00:00 Richard A. Lee, Jr. wrote:

In additional testing, this seems specific to the .docx format. Comments
are retained when editing and saving .doc format documents.

Reply at: https://bugs.launchpad.net/df-
libreoffice/+bug/786044/comments/1

------------------------------------------------------------------------
On 2011-01-25T18:23:53+00:00 Nopower wrote:

confirmed, docx doesn't export comments, lubos fancy taking a cut at
this?

Reply at: https://bugs.launchpad.net/df-
libreoffice/+bug/786044/comments/2

------------------------------------------------------------------------
On 2011-03-01T04:34:00+00:00 Bugzilla-freedesktop wrote:

This is a dataloss issue (can we add a dataloss keyword?) as I lost
comments that I made on a small document last night.

This happens on my Mac as well, should be all platform.

Reply at: https://bugs.launchpad.net/df-
libreoffice/+bug/786044/comments/3

------------------------------------------------------------------------
On 2011-03-29T16:11:01+00:00 L-lunak wrote:

*** Bug 35602 has been marked as a duplicate of this bug. ***

Reply at: https://bugs.launchpad.net/df-
libreoffice/+bug/786044/comments/4

------------------------------------------------------------------------
On 2011-04-11T11:57:41+00:00 Karlsen-masur wrote:

I can confirm this behavior (docx only) for release 3.3.2 on Linux x86
rpm and Win32 builds:

buildid=330m19(Build:202)

Steps to reproduce:

1. Menubar: File->New->Text Document

2. Add some arbitrary short text to the document

3. Menubar: Insert->Comment

4. Add some text to the comment field

5. Menubar: File->Save As

6. Choose a file name and any of the two ".docx" file types for saving.

7. Close the document

8. Re-open the .docx document

9. Observe the missing comment.

Reply at: https://bugs.launchpad.net/df-
libreoffice/+bug/786044/comments/5

------------------------------------------------------------------------
On 2011-04-11T12:10:39+00:00 Karlsen-masur wrote:

@Richard and Lubos: I suggest to choose a more fitting description for
the bug like:

"DOCX: Document's comments are lost after document is saved in .docx
format and then closed."

As reporter or owner of the bug, would you please consider changing the
description?

Thanks.

Reply at: https://bugs.launchpad.net/df-
libreoffice/+bug/786044/comments/6

------------------------------------------------------------------------
On 2011-05-03T21:19:02+00:00 Michael Meeks wrote:

I guess the comments (serialised as fields?) don't pop out of:

sw/source/filter/ww8/docxattributeoutput.cxx
(DocxAttributeOutput::EndRun) - somehow or in StartField_Impl (?).

It does indeed seem that the data is discarded on export; hmm.

Reply at: https://bugs.launchpad.net/df-
libreoffice/+bug/786044/comments/7

------------------------------------------------------------------------
On 2011-05-06T15:29:09+00:00 Nopower wrote:

(In reply to comment #7)
> I guess the comments (serialised as fields?) don't pop out of:
> 
> sw/source/filter/ww8/docxattributeoutput.cxx (DocxAttributeOutput::EndRun) -
> somehow or in StartField_Impl (?).
> 
> It does indeed seem that the data is discarded on export; hmm.

 DocxAttributeOutput::PostitField(...)

needs an implementation, worse since you don't output the comment but a
reference to the comment you need to cache those comments ( per
document/paragraph ? ) and then dump the comment meta-data into a
comments.xml file in the docx zip.

Reply at: https://bugs.launchpad.net/df-
libreoffice/+bug/786044/comments/8

------------------------------------------------------------------------
On 2011-05-11T22:19:15+00:00 Charles Curley wrote:

I can confirm that comments are not being saved. Ubuntu 10.10, as
updated. I repeated karlsen-masur@xxxxxxxxxxx's experiment in comment 5.

Has anyone experimented to see if comments created in Word, and re-saved
in Writer are also lost? Sorry, I don't have Windows or Word and so
cannot perform the experiment.

charles@yendi:~$ pre libreoffice
libreoffice-debian-menus	3.3-202		all
libreoffice3	3.3.2-19		amd64
libreoffice3-base	3.3.2-19		amd64
libreoffice3-calc	3.3.2-19		amd64
libreoffice3-dict-en	3.3.2-19		amd64
libreoffice3-dict-es	3.3.2-19		amd64
libreoffice3-dict-fr	3.3.2-19		amd64
libreoffice3-draw	3.3.2-19		amd64
libreoffice3-en-us	3.3.2-19		amd64
libreoffice3-impress	3.3.2-19		amd64
libreoffice3-math	3.3.2-19		amd64
libreoffice3-ure	1.7.0-19		amd64
libreoffice3-writer	3.3.2-19		amd64
charles@yendi:

Reply at: https://bugs.launchpad.net/df-
libreoffice/+bug/786044/comments/9

------------------------------------------------------------------------
On 2011-06-10T16:00:17+00:00 timur wrote:

*** Bug 34542 has been marked as a duplicate of this bug. ***

Reply at: https://bugs.launchpad.net/df-
libreoffice/+bug/786044/comments/17

------------------------------------------------------------------------
On 2011-06-10T16:03:31+00:00 timur wrote:

"Has anyone experimented to see if comments created in Word, and re-saved in
Writer are also lost? Sorry, I don't have Windows or Word and so cannot perform
the experiment."
Of course they are.

Reply at: https://bugs.launchpad.net/df-
libreoffice/+bug/786044/comments/18

------------------------------------------------------------------------
On 2011-06-10T16:57:17+00:00 Richard A. Lee, Jr. wrote:

Title changed as per request.

Reply at: https://bugs.launchpad.net/df-
libreoffice/+bug/786044/comments/19

------------------------------------------------------------------------
On 2011-07-05T22:58:57+00:00 Davedumanis wrote:

Confirmed using 3.4, Ubuntu version. All attention appreciated. This is
a dealbreaker for for anyone who works in a MS-driven office with
collaborative documents.

Reply at: https://bugs.launchpad.net/df-
libreoffice/+bug/786044/comments/20

------------------------------------------------------------------------
On 2011-07-06T06:12:26+00:00 Libreoffice-z wrote:

[Reproducible] for XMS2007 and OPEN XML with "LibreOffice 3.4.1RC1 -
WIN7  Home Premium (64bit) German UI [OOO340m1 (Build:103)]". No
comments shown in MS WORD viewer.

Modified Status due to facts

Reply at: https://bugs.launchpad.net/df-
libreoffice/+bug/786044/comments/21

------------------------------------------------------------------------
On 2011-08-10T22:12:44+00:00 Chelmite wrote:

Comments created in Word are not lost when stored as an odt file.

Reply at: https://bugs.launchpad.net/df-
libreoffice/+bug/786044/comments/22

------------------------------------------------------------------------
On 2011-08-10T22:15:04+00:00 Chelmite wrote:

Created attachment 50106
.doc file with a comment

Word comments are with respect to a region, whereas OpenOffice comments
reference a point in the text.

Reply at: https://bugs.launchpad.net/df-
libreoffice/+bug/786044/comments/23

------------------------------------------------------------------------
On 2011-08-11T00:10:14+00:00 Mike Linksvayer wrote:

(In reply to comment #16)
> Created an attachment (id=50106) [details]
> .doc file with a comment
> 
> Word comments are with respect to a region, whereas OpenOffice comments
> reference a point in the text.

Is the region vs point a difference in Word and OO implementation, or
what OOXML and ODF support?

If former, seems like another bug should be filed against OO re region
comment support, if latter, against ODF.

(I did a few quick web searches and did not find any helpful leads to
answer my question above; "comment" is not really a helpful term. :-(.)

Reply at: https://bugs.launchpad.net/df-
libreoffice/+bug/786044/comments/24

------------------------------------------------------------------------
On 2011-08-11T14:14:26+00:00 L-lunak wrote:

Implemented in master for 3.5.

Reply at: https://bugs.launchpad.net/df-
libreoffice/+bug/786044/comments/25

------------------------------------------------------------------------
On 2011-08-11T15:28:16+00:00 L-lunak wrote:

*** Bug 32779 has been marked as a duplicate of this bug. ***

Reply at: https://bugs.launchpad.net/df-
libreoffice/+bug/786044/comments/26

------------------------------------------------------------------------
On 2011-09-27T17:53:45+00:00 Giacobbej wrote:

Confirming that this bug still exists in LibreOffice 3.4.2 
OOO340m1 (Build:203) on Fedora 15.

Is there a patch for 3.4.2 or do we need to wait for 3.5? If the latter,
As others have stated, this is a critical DATA LOSS bug and makes
LibreOffice unsuitable for a production environment in it's current
state.

Reply at: https://bugs.launchpad.net/df-
libreoffice/+bug/786044/comments/28

------------------------------------------------------------------------
On 2011-11-22T11:55:30+00:00 mycae wrote:

Can someone please post the commit hash(es) for the fix, so end users
can generate diffs -- id like to rebuild my own local version with this
patch fixed.

Reply at: https://bugs.launchpad.net/df-
libreoffice/+bug/786044/comments/29

------------------------------------------------------------------------
On 2011-11-22T22:02:29+00:00 Christopher M. Penalver wrote:

Lubos Lunak, could you please provide a commit for this fix?

Reply at: https://bugs.launchpad.net/df-
libreoffice/+bug/786044/comments/30


** Changed in: df-libreoffice
       Status: Fix Released => Confirmed

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to libreoffice in Ubuntu.
https://bugs.launchpad.net/bugs/786044

Title:
  [Upstream] Comments are not saved in .docx format

Status in LibreOffice Productivity Suite:
  Confirmed
Status in “libreoffice” package in Ubuntu:
  Fix Committed

Bug description:
  Binary package hint: libreoffice

  1) lsb_release -rd
  Description:	Ubuntu 11.04
  Release:	11.04

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

  3) What is expected to happen in LibreOffice Writer via the Terminal:

  cd ~/Desktop && wget
  https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/786044/+attachment/2137435/+files/Comment%20Test.odt
  && lowriter -nologo Comment\ Test.odt

  File -> Save As -> File Type: Microsoft Word 2007 XML docx -> Save ->
  Close -> open via the Terminal:

  Comment\ Test.docx

   and the comment box remains.

  4) What happens instead is the comment is gone.

  ProblemType: Bug
  DistroRelease: Ubuntu 11.04
  Package: libreoffice-core 1:3.3.2-1ubuntu4
  ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
  Uname: Linux 2.6.38-8-generic x86_64
  NonfreeKernelModules: fglrx
  Architecture: amd64
  Date: Fri May 20 20:06:50 2011
  InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110426)
  ProcEnviron:
   LANGUAGE=en_US:en
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: libreoffice
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/786044/+subscriptions