Bug 121453 - Remove the last line feed and/or carriage return appended during either the cut or copy of a cell to the operating system’s clipboard
Summary: Remove the last line feed and/or carriage return appended during either the c...
Status: RESOLVED WONTFIX
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-16 02:16 UTC by 21Naown
Modified: 2020-12-19 05:56 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 21Naown 2018-11-16 02:16:31 UTC
The current behaviour seems more adapted to automatic processing than to users. Users are very probably the most concerned by the actions mentioned in the summary than automatic processing.
Comment 1 Joel Madero 2018-11-20 07:56:18 UTC
This is not a proper bug report, please provide exact reproducible steps, expected results, a test document, etc... and then move back to UNCONFIRMED. Our team is too small to figure out what our millions of users are requesting when the information is so lean.

https://wiki.documentfoundation.org/QA/BugReport#Good_Reports

Moving to NEEDINFO.
Comment 2 21Naown 2018-11-24 16:55:25 UTC
Steps to Reproduce:

1) Write at least one character in a cell;
2) Confirm its content by pressing “Enter” for example;
3) Click on the cell;
4) Put its content into the operating system’s clipboard by pressing “Ctrl + C” for example;
5) Open a text editor (except LibreOffice Writer), then paste the content of the operating system’s clipboard.


Actual Results:

The last step shows there is(are) a line feed or(and) carriage return at the end.


Expected Results:

The last step should not show a line feed or(and) carriage return at the end, see the comment 0.
Comment 3 Xisco Faulí 2019-05-30 11:18:26 UTC
Could you please paste the info from Help - about LibreOffice ?

I have set the bug's status to 'NEEDINFO'. Please change it back to
'UNCONFIRMED' once the information has been provided
Comment 4 21Naown 2019-09-03 00:27:14 UTC
(In reply to Xisco Faulí from comment #3)

I am very sorry to send you this reply with such a delay.

> Could you please paste the info from Help - about LibreOffice ?
Version: 6.2.6.2 (x64)
Build ID: 684e730861356e74889dfe6dbddd3562aae2e6ad
Threads CPU : 4; OS : Windows 6.1; UI Render : par défaut; VCL: win; 
Locale : fr-FR (fr_FR); Langue IHM : fr-FR
Calc: threaded
Comment 5 Xisco Faulí 2019-10-29 10:19:51 UTC
this enhancement is not valid. Let me explain why:
If LibreOffice Calc didn't copy the carriage return, copying many cells would paste them in the same line, this way, all of the them are paste in different lines.
If you want to copy only the content, double-click the cell before copying it.
Closing as RESOLVED WONTFIX
Comment 6 21Naown 2019-11-10 21:34:29 UTC
I think it is possible to remove only the last line feed and/or carriage return of each cut/copied column.
Comment 7 Justin L 2020-12-19 05:56:06 UTC
Copying an entire cell should be considered to be to copying an entire paragraph. They are logically equivalent.

Paste-special allows pasting as unformatted text, which strips away all of the extra formatting and context like paragraph - and thus does what you want it to do. Or, as Xisco said, if you just want to copy the character contents of a cell you can do that from the input line, or copying the characters from a double-clicked cell.

The current behaviour certainly is not wrong, and the requested behaviour is not more correct. There are several alternative methods to achieve the requested behaviour.