Bug 103541 - table of figures creates hyperlink for the bottom (not top) of the figure, causing incomplete display of target in window
Summary: table of figures creates hyperlink for the bottom (not top) of the figure, ca...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
Version:
(earliest affected)
5.0.2.2 release
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Hyperlink
  Show dependency treegraph
 
Reported: 2016-10-27 14:45 UTC by Ulrich Windl
Modified: 2024-03-12 19:19 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample document (ODT) (53.27 KB, application/vnd.oasis.opendocument.text)
2016-10-28 12:40 UTC, Ulrich Windl
Details
PDF created from sample document (attachment 128320) (82.44 KB, application/pdf)
2016-10-28 12:42 UTC, Ulrich Windl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ulrich Windl 2016-10-27 14:45:20 UTC
I just found out for the current version of Adobe Reader ("Acrobat Reader" in former times) that it positions a hyperlink being followed to the to of the window.
If you export a Writer document containing a table of figures to PDF, the following effect appears (assuming you have your caption below the figure): The hyperlink points to the caption of the figure (that is below the figure). That is, if you click in the table of figures to see a specific figure, you just see the capture below, because the figure is "over the top" of the reader window.
So most likely the hyperlink's target should be the TOP, not the BOTTOM of the image.
BTW: Writer itself also positions the link target to the top of the window, so you have the same effect even without PDF export.
Comment 1 Xisco Faulí 2016-10-28 12:22:35 UTC
Hello Ulrich,
Could you please attach a document to reproduce the described problem?
Change the status back to UNCONFIRMED once the document is attached.
Regards
Comment 2 Ulrich Windl 2016-10-28 12:40:38 UTC
Created attachment 128320 [details]
Sample document (ODT)

Just click on the first figure in the table of figures.
Comment 3 Ulrich Windl 2016-10-28 12:42:59 UTC
Created attachment 128321 [details]
PDF created from sample document (attachment 128320 [details])

Instructions are the same as for attachment 128320 [details]. I also see that evince (PDF viewer in Linux/GNOME) behaves just as Adobe's viewer does.
Comment 4 Buovjaga 2016-11-15 08:35:28 UTC
What happens for me is that the view jumps a bit in the first page. I am not taken to the image, not in the ODT and not in my own exported PDF (SumatraPDF viewer).

Let's set to NEW.

Win 7 Pro 64-bit, Version: 5.2.2.2 (x64)
Build ID: 8f96e87c890bf8fa77463cd4b640a2312823f3ad
CPU Threads: 4; OS Version: Windows 6.1; UI Render: default; 
Locale: fi-FI (fi_FI); Calc: CL

Version: 5.3.0.0.alpha1+
Build ID: c5f5b3e5334c52502c1de28828a44ad469c68850
CPU Threads: 4; OS Version: Windows 6.1; UI Render: default; Layout Engine: new; 
TinderBox: Win-x86@39, Branch:master, Time: 2016-11-14_06:24:21
Locale: fi-FI (fi_FI); Calc: group

Versio: 5.0.2.2 (x64)
Käännöksen ID: 37b43f919e4de5eeaca9b9755ed688758a8251fe
Maa-asetus: fi-FI (fi_FI)
Comment 5 QA Administrators 2018-08-22 02:37:53 UTC Comment hidden (obsolete)
Comment 6 Mike 2020-06-13 20:22:15 UTC
I can not reproduce the issue, that the reporter described. But I can reproduce the issue, that Buovjaga described.

"What happens for me is that the view jumps a bit in the first page. I am not taken to the image, not in the ODT and not in my own exported PDF (SumatraPDF viewer)."

Version: 7.0.0.0.beta1 (x64)
Build ID: 94f789cbb33335b4a511c319542c7bdc31ff3b3c
CPU threads: 4; OS: Windows 6.1 Service Pack 1 Build 7601; UI render: Skia/Raster; VCL: win
Locale: en-US (de_DE); UI: en-US
Calc: threaded

I tested the PDF with 

Adobe Acrobat Reader DC
Tracker PDF-Xchange Viewer
Comment 7 QA Administrators 2022-06-14 03:27:59 UTC Comment hidden (obsolete)
Comment 8 BogdanB 2024-03-12 19:19:46 UTC
The same in the opened .odt file
Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: e5548dceb9086a6f0c8fa70bce8de6da0be72e40
CPU threads: 16; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded