Bug 160381 - Bug: сross-references do not work when exporting *.odt to *.pdf under certain conditions
Summary: Bug: сross-references do not work when exporting *.odt to *.pdf under certain...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.6.5.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-26 20:18 UTC by tutralex@gmail.com
Modified: 2024-03-29 05:44 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
example *.odt file for test (15.71 KB, application/vnd.oasis.opendocument.text)
2024-03-26 20:21 UTC, tutralex@gmail.com
Details
example of exported *.pdf (35.23 KB, application/pdf)
2024-03-26 20:23 UTC, tutralex@gmail.com
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tutralex@gmail.com 2024-03-26 20:18:16 UTC
Description:
If the cross-reference text is only 1 character, for example when referring to numbered paragraphs with numbers less than 10, then after exporting to PDF format, such links are not active. The experiment is easy to repeat: сreate a document with the numbered list 1…10, the link to the 10th item in the list will work, but not to items 1…9!

Steps to Reproduce:
1. сreate a document with the numbered list 1…10;
2. create a cross-reference to the 10th item and, for example, the 1st;
3. export the document to PDF-format.

Actual Results:
A cross-reference to the 10th element will be active, but not to the 1st!

Expected Results:
All cross-references must be active.


Reproducible: Always


User Profile Reset: No

Additional Info:
The bug appeared late last year and is reproduced in versions 7.6.5.2 and 24.2.1.
Comment 1 tutralex@gmail.com 2024-03-26 20:21:43 UTC
Created attachment 193330 [details]
example *.odt file for test
Comment 2 tutralex@gmail.com 2024-03-26 20:23:45 UTC
Created attachment 193331 [details]
example of exported *.pdf
Comment 3 Haris 2024-03-29 05:44:05 UTC
Thank you for reporting the bug, I was able to reproduce the bug on MacOS 14.1.2 on my ARM64 MacBook Pro. I tried changing the "Refer using" for the reference field to "Number" and "Number (full context)" but that didn't do anything. I can confirm that the bug is present in the following builds:

Stable Build
Version: 24.2.1.2 (AARCH64) / LibreOffice Community
Build ID: db4def46b0453cc22e2d0305797cf981b68ef5ac
CPU threads: 10; OS: macOS 14.1.2; UI render: Skia/Metal; VCL: osx
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

Master/Daily Build
Version: 24.8.0.0.alpha0+ (AARCH64) / LibreOffice Community
Build ID: c4023d3ec604abfff38be2053e2989c7ec2ba8c1
CPU threads: 10; OS: macOS 14.1.2; UI render: Skia/Metal; VCL: osx
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded