Bug 135593 - FILESAVE PDF Long hyperlink in table gets saved to PDF scrolled to the end
Summary: FILESAVE PDF Long hyperlink in table gets saved to PDF scrolled to the end
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:pdf
Depends on:
Blocks: PDF-Export
  Show dependency treegraph
 
Reported: 2020-08-10 06:42 UTC by NISZ LibreOffice Team
Modified: 2021-03-24 08:57 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file from Writer with long hyperlinks in table (11.01 KB, application/vnd.oasis.opendocument.text)
2020-08-10 06:42 UTC, NISZ LibreOffice Team
Details
The example file exported to PDF (12.57 KB, application/pdf)
2020-08-10 06:43 UTC, NISZ LibreOffice Team
Details
Screenshot of the document in Writer (39.62 KB, image/png)
2020-08-10 06:43 UTC, NISZ LibreOffice Team
Details
Screenshot of the original and exported PDF document side by side in Writer and Chrome (72.71 KB, image/png)
2020-08-10 06:44 UTC, NISZ LibreOffice Team
Details

Note You need to log in before you can comment on or make changes to this bug.
Description NISZ LibreOffice Team 2020-08-10 06:42:18 UTC
Created attachment 164082 [details]
Example file from Writer with long hyperlinks in table

Attached document contains a table with fixed cell height and some hyperlinks and texts that do no fit in the cells. A small red triangle indicates they are too long.
When exported to PDF the hyperlinks appear with only their end visible that was originally not visible. The beginning of the links is consequently hidden.
This does not happen with overlong plain text, the beginning of the text is exported to PDF.

Steps to reproduce:
    1. Create a table in Writer
    2. Table – Size – Row Height -> Fit to size OFF
    3. Insert a hyperlink that is longer than the table cell. The beginning of the hyperlink is visible, the end is hidden.
    4. Save as PDF
       
Actual results:
The PDF has only the end of the long hyperlink visible. Also the editor scrolls the cells so that the end of the long hyperlinks gets visible there too.
With long plain text in the same table the beginning of that text is visible.

Expected results:
The beginning of the long hyperlinks is visible in the PDF.

LibreOffice details:

Also happens in:
Verzió: 6.0.0.3
Build az.: 64a0f66915f38c6217de274f0aa8e15618924765
CPU szálak: 4; OS: Windows 6.3; Felületmegjelenítés: alapértelmezett; 
Területi beállítások: hu-HU (hu_HU); Calc: CL

Version: 5.0.0.5
Build ID: 1b1a90865e348b492231e1c451437d7a15bb262b
Locale: hu-HU (hu_HU)

Verzió: 4.0.0.3 (Build az.: 7545bee9c2a0782548772a21bc84a9dcc583b89)

LibreOffice 3.5.0rc3 
Build ID: 7e68ba2-a744ebf-1f241b7-c506db1-7d53735
Comment 1 NISZ LibreOffice Team 2020-08-10 06:43:07 UTC
Created attachment 164083 [details]
The example file exported to PDF
Comment 2 NISZ LibreOffice Team 2020-08-10 06:43:36 UTC
Created attachment 164084 [details]
Screenshot of the document in Writer
Comment 3 NISZ LibreOffice Team 2020-08-10 06:44:32 UTC
Created attachment 164085 [details]
Screenshot of the original and exported PDF document side by side in Writer and Chrome

After export the editor also shows the links scrolled to the end.
Comment 4 Buovjaga 2021-03-24 08:57:26 UTC
Reproduced.

Arch Linux 64-bit
Version: 7.2.0.0.alpha0+ / LibreOffice Community
Build ID: e7664871ee97286a9b08f6213d032883b8df7847
CPU threads: 8; OS: Linux 5.11; UI render: default; VCL: kf5
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 23 March 2021