Download it now!
Bug 86297 - Wrong Field reference when heading is in a frame
Summary: Wrong Field reference when heading is in a frame
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.3.4.1 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Fields-Cross-Reference
  Show dependency treegraph
 
Reported: 2014-11-14 21:57 UTC by Frank Berke
Modified: 2019-02-05 18:51 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Wrong Field reference when heading is in a frame (10.72 KB, application/vnd.oasis.opendocument.text)
2014-11-14 21:57 UTC, Frank Berke
Details
Problems with Chapters in frames, added sub-chapters do demonstrate related Navigator issues (10.73 KB, application/vnd.oasis.opendocument.text)
2016-02-13 17:54 UTC, Frank Berke
Details
Example of wrong numbering when heading is in a frame (12.37 KB, application/vnd.oasis.opendocument.text)
2018-05-20 14:47 UTC, RGB
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Berke 2014-11-14 21:57:06 UTC
Created attachment 109493 [details]
Wrong Field reference when heading is in a frame

If headings are in a frame, and you want the Chapter Name displayed in your page header, only the chapter name from the last frame's heading is displayed throughout the whole document.

Indexes however can be created with no problems, and in the Fields' Cross-References all the headings appear as well.

There is a document attached that helps you to understand the error.
Comment 1 Buovjaga 2014-11-20 12:53:24 UTC
Confirmed by opening the file on Windows -> NEW.

Win 7 64-bit Version: 4.4.0.0.alpha2+
Build ID: b021b5983c62e266b82d9f0c5c6d8d8900553827
TinderBox: Win-x86@39, Branch:master, Time: 2014-11-12_01:10:08
Comment 2 Frank Berke 2014-11-21 11:57:10 UTC
In addition to my initial report: if you use different levels of headings, and some of them are placed in a frame, they don't show up in a proper order in the Navigator. Sub-headings appear to be disconnected from their preceding level (e.g. chapter). The same goes for the Cross-References in the Fields dialog box.

Still, creating an index for your document works fine.

I didn't open a new bug for this because I think both issues are related.
Comment 3 QA Administrators 2015-12-20 16:09:55 UTC Comment hidden (obsolete)
Comment 4 Frank Berke 2016-02-13 17:54:37 UTC
Created attachment 122628 [details]
Problems with Chapters in frames, added sub-chapters do demonstrate related Navigator issues

Confirmation that the bug still exists.

I have added sub-chapters to the test document to demonstrate the issues in Navigator as described in an earlier post.

Version tested: 5.1 Linux AMD64
Comment 5 QA Administrators 2017-03-06 15:15:15 UTC Comment hidden (obsolete)
Comment 6 RGB 2018-05-20 14:47:25 UTC
Created attachment 142218 [details]
Example of wrong numbering when heading is in a frame

Problem is still present on 6.0.4. In addition to the original description, there is also a big problem if you use outline numbering.

For example, consider a document where you have

Heading 1 → numbered as #
Heading 2 → numbered as #.#
Heading 3 → numbered as #.#.#

And the content of your document is

1. First heading 1 (normal text)
2. Second heading 1 (normal text)
2.1 A heading 2 as normal text
2.1.1 A heading 3 as normal text
[1.1.1 A heading 3 inside a frame] ← wrong numbering!

See attached file.