Bug 152191 - TOC: Links to content of document won't work well when table of content is protected against manual changes
Summary: TOC: Links to content of document won't work well when table of content is pr...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.4.2.3 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-23 18:48 UTC by Robert Großkopf
Modified: 2022-11-23 18:56 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
Open the file, goto TOC, click holding CTRL on TOC. Repeat to get the bug. (273.22 KB, application/vnd.oasis.opendocument.text)
2022-11-23 18:48 UTC, Robert Großkopf
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Großkopf 2022-11-23 18:48:24 UTC
Created attachment 183743 [details]
Open the file, goto TOC, click holding CTRL on TOC. Repeat to get the bug.

Open the attached document.
Click on TOC holding CTRL.
Document will be moved to right content.
Scroll up again.
Click on another heading.
Document will be moved, but not to the right target.

Export this document to *.pdf.
Headings will be exported right as TOC for a pdf, but TOC inside the document isn't linked to anywhere in the document.

Now edit TOC:
Click directly after "Inhalt".
Right mouse click → Edit Index.
Unset 
Type → Type and Title → Protected against manual changes
Click 'OK'

Now moving by TOC will work well. Also TOC will be exported in *.pdf-Document so you could click on TOC and it moves to the right header.

Bug appears here with
Version: 7.4.3.2 / LibreOffice Community
Build ID: 1048a8393ae2eeec98dff31b5c133c5f1d08b890
CPU threads: 6; OS: Linux 5.3; UI render: default; VCL: kf5 (cairo+xcb)
Locale: de-DE (de_DE.UTF-8); UI: en-US
Calc: threaded
on OpenSUSE 15.3 64bit rpm Linux. Appears also in earlier versions of LO.
Comment 1 Robert Großkopf 2022-11-23 18:56:07 UTC
Have tested with new user folder. Works well there.

Sorry for the noise.