Bug 137267 - clipboard error on paste into a cell
Summary: clipboard error on paste into a cell
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.0.1.2 release
Hardware: All Windows (All)
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Paste-Special-Unformatted
  Show dependency treegraph
 
Reported: 2020-10-05 13:18 UTC by LG
Modified: 2023-08-15 00:11 UTC (History)
2 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 LG 2020-10-05 13:18:19 UTC
Description:
"Error reading from clipboard" displayed when pasting html text into a selected cell as unformatted text. But when you click on the "Ok" button of the error message window, the clipboard content is copied into an another cell...

I am doing a lot of tests to try to explain the problem and I found two problems.

I select the cell by selecting the current text content from end to start, the mouse cursor temporarily hovers over the left or top cell, the selection switches from "text selection" to "full cell selection" (the whole cell turns blue), I reduce the selection to one cell, then I paste, the content is copied to the hovered cell.

If I select the cell by the menu table->select-cell or by triple-clicking the cell, the paste is ok.

The error message seems to be displayed when "unformatted text" paste is selected or when the conversion is implicit...

Sometimes I saw the copy was done to the good cell and the text add to the hovered cell.

 

Steps to Reproduce:
1.open a blank document
2.add a table 2x2
3.In the cell at the right-top, enter "blablabla"
4.double-clic the text then copy it with ctrl-C
5.clic on another cell to unselect 
6. select "blablabla" from end to start with the mouse, then extend the selection to the cell at left by moving the mouse cursor over this cell, the entire cells turn blue, then move back to the "blablabla" cell : this is the only cell selected.
7. ctrl-v

Actual Results:
"blablabla" is copy to the first cell of the table

Expected Results:
"blablabla" is copy to the selected cell at the right-top


Reproducible: Sometimes


User Profile Reset: No



Additional Info:
Version: 7.0.1.2 (x64)
Build ID: 7cbcfc562f6eb6708b5ff7d7397325de9e764452
CPU threads: 8; OS: Windows 10.0 Build 18363; UI render: Skia/Vulkan; VCL: win
Locale: fr-FR (fr_FR); UI: en-GB
Calc: CL
Comment 1 neuffbn 2020-10-14 21:42:31 UTC
Thank you for reporting the bug. I can confirm that the bug is present in:
Version: 7.0.1.2 (x64)
Build ID: 7cbcfc562f6eb6708b5ff7d7397325de9e764452
CPU threads: 4; OS: Windows 10.0 Build 18362; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL

Also in:
Version: 7.1.0.0.alpha0+ (x64)
Build ID: fca525d570f4fada3db1a9bbee2e88a5a02839d9
CPU threads: 4; OS: Windows 10.0 Build 18362; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL

Instructions were a little difficult to parse but the bug does exist.
Comment 2 QA Administrators 2022-10-15 03:40:03 UTC Comment hidden (obsolete)
Comment 3 Aaron 2023-08-15 00:11:08 UTC
Thank you for reporting this. This bug is no longer reproducible in

Version: 7.5.5.2 (X86_64) / LibreOffice Community
Build ID: ca8fe7424262805f223b9a2334bc7181abbcbf5e
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: en-AU (fr_FR); UI: en-US
Calc: threaded

I tested pasting html text into a selected cell but I received no "Error reading from clipboard" displayed. I followed the steps to reproduce and the actual results and expected results matched i.e. "blablabla" is copied to the selected cell at the right top. Seems it's no longer reproducible.

Changing status to RESOLVED WORKSFORME