Figure cross-reference error in master document

Bug #289614 reported by jackocleebrown
8
Affects Status Importance Assigned to Milestone
OpenOffice
In Progress
Unknown
libreoffice (Ubuntu)
Invalid
Undecided
Unassigned
openoffice.org (Ubuntu)
Won't Fix
Low
Unassigned

Bug Description

Binary package hint: openoffice.org

Some references to figure captions inserted into subdocuments are incorrect in master document.

Figure caption added using right click on image and choosing "caption".
Reference to caption added using "insert"->"cross-reference".

This only occurs on some cross-references. Everything is correct in the subdocument but the reference is incorrect in the master (i.e. is refers to the wrong figure).

This behavior is observed on both:

Linux 2.6.27-7-generic, Ubuntu Intrepid beta fully updated, OpenOffice 1:2.4.1-11ubuntu2 (intrepid)
Windows XP SP3, OpenOffice 2.4.1

Please see the images for details.

Revision history for this message
jackocleebrown (jack-ocleebrown) wrote :
Revision history for this message
jackocleebrown (jack-ocleebrown) wrote :
Revision history for this message
Chris Cheney (ccheney) wrote :

Can you please attach a document exhibiting this problem?

Thanks,

Chris Cheney

Changed in openoffice.org:
status: New → Incomplete
Revision history for this message
jackocleebrown (jack-ocleebrown) wrote :

Yes, sorry I tried to make a smaller document with the same problem but it seems to be very inconsistent. I have had to send a version of the original document.

The problem is on page 10 of the master document (test.odm) and page 2 of the subdocument (compression driver annular v2.odt). The first sentence of the "Compression Driver Description" section. This sentence should refer to the figure immediately on the previous page.

I have noticed that whether this bug appears depends on the order that I add the documents ot the master. It also seems to always affect the same figures (1.1 and 1.8 in compression driver annular v2.odt).

Jack.

Chris Cheney (ccheney)
Changed in openoffice.org:
status: Incomplete → Confirmed
Revision history for this message
Chris Cheney (ccheney) wrote :

Do you still have this problem with the new version of OOo in the ppa at https://launchpad.net/~openoffice-pkgs/+archive ?

Changed in openoffice.org:
status: Confirmed → Incomplete
Revision history for this message
jackocleebrown (jack-ocleebrown) wrote :

Hi,
Yes, I still see the same problem with the OOo packaged from your ppa.
The problem is still present on the test documents that I attached above.

Chris Cheney (ccheney)
Changed in openoffice.org:
status: Incomplete → New
Revision history for this message
Chris Cheney (ccheney) wrote :

Can you please report this bug upstream at http://www.openoffice.org/issues/query.cgi as the problem is hard for me to reproduce it would be better if you worked with the OpenOffice.org developers directly on this problem. After reporting the problem in their bugtracker please attach the bug number to this bug report. Thanks!

Changed in openoffice.org (Ubuntu):
status: New → Incomplete
Revision history for this message
Ed Comer (celem) wrote :

I have the exact same problem.See attachment of snapshots of the Master. All references are correct in the sub-document. I am using version 3.0., OOO300m15, build 9379, on Windows XP.

Revision history for this message
Chris Cheney (ccheney) wrote :

Ed,

Can you report this bug to http://www.openoffice.org/issues/query.cgi since you see this on Windows as well this is an official 3.0.1 bug and not just Ubuntu specific. After reporting it if you can write the bug number here that would be helpful.

Thanks,

Chris Cheney

Revision history for this message
Ed Comer (celem) wrote :

Done.Issue 100448
See: http://tinyurl.com/dy3ckl

Revision history for this message
Chris Cheney (ccheney) wrote :

Ed,

Thanks for filing the bug report and replying here.

Chris

Changed in openoffice.org:
importance: Undecided → Medium
status: Incomplete → Triaged
Changed in openoffice:
status: Unknown → New
Changed in openoffice:
status: New → Invalid
Revision history for this message
Ed Comer (celem) wrote : Re: [upstream] Figure cross-reference error in master document

jackocleebrown, et al, I encourage you to go post a comment to
http://www.openoffice.org/issues/show_bug.cgi?id=100448

The bug has already been closed one (thankfully reopened) and It looks like it may be dismissed as unreproducible if additional support is not added to the bug report. This is an elusive bug and I suspect that it only happens with large master document situations. In my case my master document is supporting nineteen sub-documents.

Revision history for this message
Chris Cheney (ccheney) wrote :

Ed,

Upstream only cares about bugs that can be reproduced in their version which is why I recommended you file the bug report since you verified it on Windows XP. Unfortunately some of the upstream developers are idiots and close bugs from the mere mention of Ubuntu and apparently have no reading comprehension skills. So I had to reopen the bug later.

Chris

Changed in openoffice:
status: Invalid → Confirmed
Revision history for this message
Ed Comer (celem) wrote :

UPDATE - POSSIBLE WORKAROUND: When I insert a figure and caption they default to anchor to paragraph. I change the frame anchor to "as character" because anchoring to paragraph often results in a picture that wildly relocates it self. Anchoring "as character" gives better control. I noticed that the offending captions, namely those that didn't number correctly in the master document even though they were correct in the primary document, were anchored to paragraph. In other words, if a caption was anchored to paragraph while others in the document were anchored as character, then the numbering was messed up in the Master. However, when I changed ALL anchors to as character, the Master numbered correctly. It appears that the Master documents messes up when there is a mixture of anchor types. For now, my personal workaround is to ALWAYS anchor the frames as character.

Revision history for this message
Ed Comer (celem) wrote :

I personally feel that this bug should be upgraded to a very high importance. What good are master documents if their result cannot be trusted. My workaround posted on 5-23-2009 ultimately did not work. As my document grew to 14 chapters of around 250 pages, errors reappeared. I even examined the XML in the context.xml file and everything looks correct, YET when assembled by the master document cross-references continue to be randomly wrong. Since I am now ready to publish, I have been forced to save the master document as an odt file and I am currently in the tedious process of manually editing the errors. I cannot understand why this critical problem continues to exist. If OpenOffice cannot do serious documents it cannot be considered serious player in the word processing field. Please resolve this issue!

Changed in openoffice:
status: Confirmed → Invalid
Revision history for this message
Alex Ruddick (alexrudd0) wrote :

Fixing upstream link to point to open bug instead of duplicate.

Changed in openoffice:
status: Invalid → Unknown
Changed in openoffice:
status: Unknown → In Progress
Revision history for this message
Anthony Petrillo (anthony-petrillo) wrote :

This was merged with another bug. See http://www.openoffice.org/issues/show_bug.cgi?id=11174

Revision history for this message
penalvch (penalvch) wrote :

jackocleebrown, this issue is unreproducible in Ubuntu 11.04, LibreOffice Impress via the Terminal:

cd ~/Desktop && wget https://bugs.launchpad.net/ubuntu/+source/openoffice.org/+bug/289614/+attachment/402842/+files/open%20office%20bug.tar.gz && file-roller -h open\ office\ bug.tar.gz && cd open\ office\ bug && lowriter -nologo compression\ driver\ annular\ v2.odt

clicked 1,1 with gray background, the file screen moved up to Figure 1.1 immediately. Does this work for you?

lsb_release -rd
Description: Ubuntu 11.04
Release: 11.04

apt-cache policy libreoffice-writerlibreoffice-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

Changed in libreoffice (Ubuntu):
status: New → Incomplete
penalvch (penalvch)
Changed in openoffice.org (Ubuntu):
importance: Medium → Low
Changed in openoffice.org (Ubuntu):
status: Triaged → Won't Fix
Revision history for this message
Björn Michaelsen (bjoern-michaelsen) wrote : migrating packaging from OpenOffice.org to Libreoffice

[This is an automated message.]
There are no new official OpenOffice.org releases in Ubuntu packaging anymore => Won't Fix

If the problem persists, please mark this bug as "also affects project Libreoffice" or "also affects distribution Libreoffice (Ubuntu)" if that has not happened already.

Please leave references to upstream OpenOffice.org bugs in place to allow cross pollination.

penalvch (penalvch)
summary: - [upstream] Figure cross-reference error in master document
+ Figure cross-reference error in master document
Revision history for this message
Bryan Quigley (bryanquigley) wrote :

Thank you for reporting this bug to Ubuntu. This Ubuntu release has reached EOL for Desktops.
See this document for currently supported Ubuntu releases: https://wiki.ubuntu.com/Releases

Since this bug hasn't been touched in a while and the Incomplete autoclose didn't work, I'm going to close it.

If you can still reproduce on a new version of Ubuntu, please reopen it.

Changed in libreoffice (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.