Bug 141107 - Lost ability to copy paste multiline text in Help text at LO base Forms.
Summary: Lost ability to copy paste multiline text in Help text at LO base Forms.
Status: RESOLVED INVALID
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Base (show other bugs)
Version:
(earliest affected)
7.1.1.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-19 12:14 UTC by Markéta Machová
Modified: 2022-10-19 10:34 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markéta Machová 2021-03-19 12:14:05 UTC
Description:
On behalf of one openSUSE user who filed a bug in openSUSE Bugzilla (https://bugzilla.opensuse.org/show_bug.cgi?id=1183595):

When a field is manually entered in some Form, there is an option to fill Help text on that field. Till now, when i wanted a multiline help text, i edited it by some text editor and copy pasted it in Help text box, that always was single lined. 
By new version, only the first line is pasted. It forces me to write down all text by hand, on single line mode, and it even doesn't accept Shift+Enter or Ctrl+Shift+Enter for line changing. At least it allows Ctrl-Shift+u 000A and Enter after that, for line changing.

This bug was not observed in LO 7.1.0.

Steps to Reproduce:
1. create a Form
2. insert a field manually
3. try to paste a multi-line description to Help control property

Actual Results:
user should be able to paste multi-line strings to Help property

Expected Results:
only first line is inserted


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.1.1.2 / LibreOffice Community
Build ID: 10(Build:2)
CPU threads: 16; OS: Linux 5.11; UI render: default; VCL: gtk3
Locale: el-GR (el_GR.UTF-8); UI: en-US
Calc: threaded
Comment 1 Julien Nabet 2021-03-24 19:15:40 UTC
On pc Debian x86-64 with LO Debian package 7.0.4 + gtk3, here the test I did:
- launch Writer
- enable Form Controls
- create a text box
- right click and select Control properties
- in general tab, scroll down until "Help text"
- try to put several lines
=> it doesn't work.

Did I miss anything?

Would it be possible to have a screencast which shows the behavior expected?
Comment 2 Alex Thurgood 2021-03-25 13:10:11 UTC
Tested against

Version : 6.4.6.1
Build ID : 985dd72ca280d5c6da2e9f90f7ff9286cafe7ff8
Threads CPU : 8; OS : Mac OS X 10.16; UI Render : par défaut; VCL: osx; 
Locale : fr-FR (fr_FR.UTF-8); Langue IHM : fr-FR
Calc: threaded

I tried entering directly multi-line help text in the Help property of the form control, using Shift-Return or Ctrl-Return, but none of those keyboard combinations worked for me. Everything was written on a single line, albeit when the mouse hovers over the control, the help text is displayed wrapped.

I then tried copy/pasting the multiline text below in the Help properties box:

This is some help text.
This some further information.
Do you require more help?

Pasting the above just leads to a single line insert in the Help properties box, and is displayed as such when the mouse hovers over the control.

For me, the functionality that the OP wants wasn't present in previous versions of LO, but perhaps the behaviour they had was specific to the Suse packages ?
Comment 3 Markéta Machová 2021-03-25 15:12:31 UTC
Thanks for your comments, I will ask the reporter for further info.
Comment 4 QA Administrators 2021-03-26 04:21:57 UTC Comment hidden (obsolete)
Comment 5 Markéta Machová 2021-04-16 07:35:43 UTC
Oh, sorry, thanks for the reminder :) the user wrote:

Thank you very much for your concerning.

Well, i wonder if that functionality was ever there on purpose. May be it was there by accident. Anyway, it helped me a lot since i used it on most of my project. (I am almost done now).
I want to clarify that, as I remember, the multi line help texts, i created before, were always seen in help text field as one line, but i could see the 'ENTER' symbol at the points where the lines were broken in popup help windows.

Comment 1 at https://bugs.documentfoundation.org/show_bug.cgi?id=141107 says clearly that he used a debian.

I tried the functionality first on Leap 15.1 with LO Version: 6.4.5.2
Build ID: 40(Build:2)
CPU threads: 12; OS: Linux 4.12; UI render: default; VCL: x11; 
Nothing worked. Not even CtlShift+u. The whole text copied, not only the first line, but all the lines were joined to one with no space between them. It was a mostly not configured OS just for testing so...

I tried on Windows 7 with Version: 7.1.0.3 (x86) / LibreOffice Community
CPU threads: 2; OS: Windows 6.1 Service Pack 1 ; UI 
Same behavior. All lines joined to one.

Lastly, i tried it on my Linux debian 4.19.0-10-686-pae #1 SMP Debian 4.19.132-1 (codename buster i think) at work. LO  6.3.2.1  1:6.3.2~rc1-1
Again, all lines joined to one. At least there, I could split them by CtlShift+u 000A, as i can do both on my tumblweed laptop and desktop at home. An interesting thing, on my last check on debian, was that i could see my multi line help texts and the 'ENTER' symbols (the Form and multiline help text was created on Tumblweed at home), but when i tried to copy paste them from field to field, the 'ENTER' symbol disappeared and help text was <<converted>> to one line text. I had to manually enter the CtlShift+u 000A again to fix the problem.
Comment 6 Robert Großkopf 2021-10-15 08:10:01 UTC
Have tried this one with different versions of LO (7.1.0.3, 7.1.5.2, 7.2.2.2 and also 6.4.7.2), also with the packages of OpenSUSE on OpenSUSE 15.2 64bit rpm Linux. I never get a multiline help text with this versions.
Comment 7 Buovjaga 2022-10-19 10:34:14 UTC
openSUSE report was closed, so let's close this as well