Bug 127626 - LibreOfficeDraw - Suggestion of improvement : autosizing text in entry fields
Summary: LibreOfficeDraw - Suggestion of improvement : autosizing text in entry fields
Status: RESOLVED WONTFIX
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
5.2.7.2 release
Hardware: All Linux (All)
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: accessibility, needsUXEval
Depends on:
Blocks:
 
Reported: 2019-09-18 17:58 UTC by Léo
Modified: 2020-04-28 06:48 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Entry fields to illustrate the subject (234.02 KB, application/vnd.oasis.opendocument.graphics)
2019-10-03 11:51 UTC, Léo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Léo 2019-09-18 17:58:45 UTC
Description:
Hi!

I use the LibreOffice suite almost everyday and I just noticed (unless I'm wrong and didn't manage to find the option) that it is impossible in LibreOfficeDraw to make an entry field with an autosizing text that allow the people that will fill the entries to get their entire texts in the box field. I precise that the point is for a future print on paper, not just a virtual view.

I hope my message is clear enough.

Best regards,

Léo

Steps to Reproduce:
1. Create an entry field
2. Type text that will overflow the size of the field

Actual Results:
Parts of the text are missing.

Expected Results:
Automatically resize the text to fit it in the field area.


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
Comment 1 Xisco Faulí 2019-10-03 10:42:13 UTC
Hello Léo,
i'm a bit confused here. Are you using entry fields to a draw document so people can fill them ? Don't you want to use forms instead? and why you're using a draw document? attaching a document would also help here...
Comment 2 Léo 2019-10-03 11:51:42 UTC
Created attachment 154727 [details]
Entry fields to illustrate the subject

Hi,
Thank you for the answer.
I don't know the difference between a form and entry fields.
I use LibreOfficeDraw to produce fillable pdf, with precise layouts and sometimes to prepare them for specific prints.
I attached a document where there is five entry fields.
The point is: that document will be fill by other people that will need to print it. As an example: an email address can be short or long and I would like to keep an elegant design by allowing the corresponding entry field to resize automatically the text that will be entered here, preferably with max and min typo size (like "size:auto ; min:10 ; max:18" or something equivalent).
Does this feature already exist? Am I using the wrong LibreOffice tool?
Thanks for your help,

Léo
Comment 3 Léo 2019-10-03 11:54:17 UTC
Oh ok. I think I got it. I was talking about forms, not entry fields like author, date, etc. My bad.
Comment 4 QA Administrators 2019-10-04 03:06:42 UTC Comment hidden (obsolete)
Comment 5 Xisco Faulí 2019-11-08 12:40:22 UTC
so you want the forms to resize on the PDF, not on the Draw file, because the users will fill the pdf.
I don't know much about PDF but I don't think that is possible. Could you please attach a pdf file with such a feature ?
Comment 6 Léo 2019-11-21 20:00:55 UTC
(In reply to Xisco Faulí from comment #5)
> so you want the forms to resize on the PDF, not on the Draw file, because
> the users will fill the pdf.
> I don't know much about PDF but I don't think that is possible. Could you
> please attach a pdf file with such a feature ?

It's a common feature in Acrobat where you can set the font size on 'Auto'.
Sorry, I haven't got any example to show you the result.
Comment 7 QA Administrators 2019-11-22 03:42:49 UTC Comment hidden (obsolete)
Comment 8 Buovjaga 2020-04-26 15:52:55 UTC
Throwing to UX team. They will interview you, if they need more info.
Comment 9 Heiko Tietze 2020-04-27 11:02:38 UTC
(In reply to Xisco Faulí from comment #5)
> Could you please attach a pdf file with such a feature ?

Indeed, I'd also like to see it. Font size "auto" is not the same.

What I understand, so far, is that you create a text box with a width of 1cm and expect this to grow when the user enters more than 10 characters or so. Up to a maximum of course. Never seen such a control and doubt it works on PDFs. 

The use case of unclear input length is very common and solved with so called memo fields, multi-line text input. The text box has the property Text Type for this and when set to "Multi-line" you can define when to break and how scrollbars appear.

Works for me, and you?
Comment 10 Léo 2020-04-27 11:39:03 UTC
Hi everyone,
I didn't find any example yet to show you the feature but it is a common one in Acrobat Pro.


> What I understand, so far, is that you create a text box with a width of 1cm
> and expect this to grow when the user enters more than 10 characters or so.
> Up to a maximum of course. Never seen such a control and doubt it works on
> PDFs. 
> 
> The use case of unclear input length is very common and solved with so
> called memo fields, multi-line text input. The text box has the property
> Text Type for this and when set to "Multi-line" you can define when to break
> and how scrollbars appear.

No this is not what I'm looking for.

Let me give an example: on a pdf I created an e-mail address field (one line, let's say 10cm max). Some people will have a short address (ex: chewbacca@wook.ie) and some will have long addresses (ex: anakin.skywalker@thedarkforce.vador).
To optimize the layout (before printing for example), I'd like to have a confortable size of reading that will progressively decrease as the length of the address increases and fills the 10cm reserved for it.

There is a thread about this feature (font size -> "auto") in Adobe Acrobat here: https://community.adobe.com/t5/acrobat/how-to-automatically-resize-text-in-a-form-text-box/td-p/8404909?page=1&profile.language=fr
Comment 11 QA Administrators 2020-04-28 03:41:35 UTC Comment hidden (obsolete)
Comment 12 Heiko Tietze 2020-04-28 06:48:12 UTC
Auto sizing the font makes the characters smaller in order to fit the text into the given space (example in [1]), a pointless feature from usability/accessibility POV. The input itself never shrinks or expands.

Ultimately we do not improve PDF but ODF. If you run the questionnaire in the native format you may plugin a macro that checks the input.

[1] https://kbpdfstudio.qoppa.com/create-multiline-and-auto-resize-text-fields/