Bug 155929

Summary: copy comment only erases cell content
Product: LibreOffice Reporter: J22Gim
Component: CalcAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: medium    
Version: 7.5.4.2 release   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:

Description J22Gim 2023-06-19 15:34:16 UTC
Description:
I have a cell with a comment, and would like to copy ONLY THE COMMENT to other cells. But when I paste special (comment only), the content of the cell (if any) is erased.

Steps to Reproduce:
1. open a new calc file, add a comment in any cell
2. copy the cell
3. now go to another cell, and go to Paste Special > only select "comment"

Actual Results:
If the cell has anything on it, LO gives a warning about replacing content, if you press OK then the comment is in fact copied, but the content of the cell is erased.
If the cell was empty, no warning is shown and the comment is correctly copied.

Expected Results:
I expect that ONLY THE COMMENT is copied, while leaving the content of the cell unchanged.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Version: 7.5.4.2 (X86_64) / LibreOffice Community
Build ID: 50(Build:2)
CPU threads: 4; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Ubuntu package version: 4:7.5.4~rc2-0ubuntu0.22.04.1~lo1
Calc: threaded
Comment 1 IvoErMejo 2023-06-19 15:39:05 UTC
I'm testing inside Version: 7.5.4.2 (X86_64) / LibreOffice Community
Build ID: 36ccfdc35048b057fd9854c757a8b67ec53977b6
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: it-IT (it_IT); UI: it-IT
Calc: threaded

when I want to copy and paste special only the comment, is not possible, because the cell will be erased.

Bug confirmed.
Comment 2 ady 2023-06-19 17:10:50 UTC
I believe this is solved for LO 7.6. Please read bug 139858. I'll mark this report as duplicate.

*** This bug has been marked as a duplicate of bug 139858 ***