Bug 134838 - User-defined variables pasted from earlier version of LibreOffice are "locked"/non-functional
Summary: User-defined variables pasted from earlier version of LibreOffice are "locked...
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.0.0.1 rc
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-15 17:15 UTC by Steven Shelton
Modified: 2021-02-13 04:04 UTC (History)
1 user (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 Steven Shelton 2020-07-15 17:15:50 UTC
Description:
1. Open a document containing user-defined variables in LIbreOffice 6.4 or earlier.

2. Copy the text, including the variables.

3. Go to a document in LibreOffice 7.0 RC1.

4. Paste the copied text.

Expected: 
The text and variables all paste into the new document and are editable.

Actual Result:
The text pastes in, and the variables look like they have pasted in, but they are locked; their values can not be changed, nor can they be deleted. Double-clicking to open the value dialog has no response. Attempts to delete the pasted fields result in the message "Write-protected content can not be changed."

The bug occurs if you use CTRL-C and CTRL-V. If you create new variables in LibO 7 RC2, they will cut and paste to new documents as expected. If you CTRL-C from an old version and then do "PASTE SPECIAL" (selecting the top option, which is currently blank) then they paste normally.

The variables work fine if you open the original document (made in the prior version of LibO) with 7.0.0.1 RC 1. This only seems to affect cut/paste operations.

It seems to do this consistently on both of the boxes I have tried it on (both running Windows 10).


Steps to Reproduce:
1. Open a document containing user-defined variables in LIbreOffice 6.4 or earlier.

2. Copy the text, including the variables.

3. Go to a document in LibreOffice 7.0 RC1.

4. Paste the copied text.


Actual Results:
The text pastes in, and the variables look like they have pasted in, but they are locked; their values can not be changed, nor can they be deleted. Double-clicking to open the value dialog has no response. Attempts to delete the pasted fields result in the message "Write-protected content can not be changed."


Expected Results:
The text and variables all paste into the new document and are editable.


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:

Version: 7.0.0.1 (x64)
Build ID: 04ba7e3f1e51af6c5d653e543a620e36719083fd
CPU threads: 4; OS: Windows 10.0 Build 19041; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL
Comment 1 Xisco Faulí 2020-07-16 10:01:06 UTC
Thank you for reporting the bug. Please attach a sample document, as this makes it easier for us to verify the bug. 
I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' once the requested document is provided.
(Please note that the attachment will be public, remove any sensitive information before attaching it. 
See https://wiki.documentfoundation.org/QA/FAQ#How_can_I_eliminate_confidential_data_from_a_sample_document.3F for help on how to do so.)
Comment 2 QA Administrators 2021-01-13 04:00:23 UTC Comment hidden (obsolete)
Comment 3 QA Administrators 2021-02-13 04:04:49 UTC Comment hidden (spam)