Bug 126687 - FORM CONTROLS: problem with editable pdf export and multiline textboxes
Summary: FORM CONTROLS: problem with editable pdf export and multiline textboxes
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
(earliest affected) release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
Depends on:
Blocks: Form-Controls
  Show dependency treegraph
Reported: 2019-08-03 13:34 UTC by Zerstreuter.Forum
Modified: 2023-07-29 09:13 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:

this is the original odt file with form content. (14.93 KB, application/vnd.oasis.opendocument.text)
2019-08-31 12:00 UTC, Zerstreuter.Forum
this is the pdf result .. border in form lines are different than in LO (37.12 KB, application/pdf)
2019-08-31 12:01 UTC, Zerstreuter.Forum
showing differences (29 bytes, text/plain)
2019-09-08 14:19 UTC, Zerstreuter.Forum
wrong odt file uploaded last time (16.87 KB, application/vnd.oasis.opendocument.text)
2019-09-08 14:26 UTC, Zerstreuter.Forum
154016 - why no attachment ?! (251.33 KB, image/png)
2019-09-25 19:16 UTC, Zerstreuter.Forum

Note You need to log in before you can comment on or make changes to this bug.
Description Zerstreuter.Forum 2019-08-03 13:34:41 UTC
Problem detectet on :
W10 X64 
LO Version: (x64)
Build-ID: 2412653d852ce75f65fbfa83fb7e7b669a126d64

Problem description :

Today i desinged a Template for driving cost returning. i create a writer document with a lot of form textboxes. inside of LO i can enter value in the textboxes and all be fine. but after export to pdf the starting point of cursor, in the multiline textboxes, is in the vertical middle of the box and the second line is scrolling outside. This isnt the same as inside of LO. where is the problem ? I can send you the original odt file and the pdf to check the problem.

Steps to Reproduce:
1.create writer document
2.add multiline textboxes (Form textbox)
3.export dokument to pdf (non PDF-A for editable pdf)

Actual Results:
after export to pdf : the top border of multiline textboxes is to big and the second line is scolling out because this border and line distance are bigger than inside of LO.

Expected Results:
Same view and behavior as within LO

Reproducible: Always

User Profile Reset: No

Additional Info:
Comment 1 Dieter 2019-08-29 12:33:08 UTC Comment hidden (obsolete)
Comment 2 Zerstreuter.Forum 2019-08-31 12:00:24 UTC Comment hidden (obsolete)
Comment 3 Zerstreuter.Forum 2019-08-31 12:01:35 UTC Comment hidden (obsolete)
Comment 4 Dieter 2019-08-31 12:56:56 UTC Comment hidden (obsolete)
Comment 5 Zerstreuter.Forum 2019-09-08 14:19:12 UTC Comment hidden (obsolete)
Comment 6 Zerstreuter.Forum 2019-09-08 14:26:02 UTC
Created attachment 154017 [details]
wrong odt file uploaded last time

please create pdf from the odt
Comment 7 Dieter 2019-09-09 06:55:47 UTC Comment hidden (obsolete)
Comment 8 Zerstreuter.Forum 2019-09-25 19:16:10 UTC
Created attachment 154504 [details]
154016 - why no attachment ?!

sorry .. attachment is missing in 154016 - only plaintext was shown ..
i hope this time it works..
Comment 9 Dieter 2019-09-26 09:45:55 UTC Comment hidden (obsolete)
Comment 10 Zerstreuter.Forum 2019-10-01 18:55:04 UTC
My last picture shows the differences directly.
On the left side of the image, "test" stands directly below the textbox border. (Libre Office Writer)
On the right side of the image, the "test" is spaced a few millimeters from the top of the text box.
This distance is the problem, it exists only with multi-line text fields.
As a result, the last line of text in the text box is not displayed correctly or even hidden.

For example:
Within Libre Office, I can easily type two lines in the highlighted text box without hiding anything.
Once the document has been saved as a PDF, there is a gap between the upper edge of the text box and the upper edge of the text. (Attention not within Libre Office, but in Acrobat Reader)..

I hope I could explain it reasonably.
Comment 11 Dieter 2019-10-03 20:06:19 UTC
Now I got it!

I confirm it with

Version: (x64)
Build ID: 460908269972fd1f89312a1e62897ed1503e9e98
CPU threads: 4; OS: Windows 10.0; UI render: default; VCL: win; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2019-09-30_09:18:03
Locale: de-DE (de_DE); UI-Language: en-US
Calc: threaded
Comment 12 Paul Simmonds 2020-07-27 07:39:57 UTC
See also Bug 61850 which may be related to that same root cause.
Comment 13 m_a_riosv 2021-06-28 21:23:48 UTC
*** Bug 143110 has been marked as a duplicate of this bug. ***
Comment 14 QA Administrators 2023-06-29 03:13:09 UTC
Dear Zerstreuter.Forum,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)

If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword

Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team