Bug 49336 - UI: CR added to data copied to clipboard from single cell
Summary: UI: CR added to data copied to clipboard from single cell
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
3.5.2 release
Hardware: Other All
: low minor
Assignee: Not Assigned
URL:
Whiteboard: BSA
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-01 06:25 UTC by Jared Tangeman
Modified: 2012-10-16 13:29 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Copied part of string with command + C, then pasted with command + V several times in notepad. (80.41 KB, image/jpeg)
2012-05-01 06:25 UTC, Jared Tangeman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jared Tangeman 2012-05-01 06:25:39 UTC
Created attachment 60835 [details]
Copied part of string with command + C, then pasted with command + V several times in notepad.

Problem description: 

Steps to reproduce:
1. select a cell or part of a string in a cell containing alpha chars (haven't tried this with numeric only cells)
2. right click and click on copy, or use the keyboard shortcut
3. paste into textedit

Current behavior: the CHR(10) carriage return character is added to the end of the text copied to the clipboard

Expected behavior: only the chars selected should be going to the clipboard, this poses an issue when copying the data to our accounting software as we have to manually type the data into a proposal or copy it somewhere else first because it doesn't allow us to paste. (Until I write a small macro for my coworkers and add a "new" copy button on the toolbar to extract the string from the cell and copy just the string to the clipboard...tried this with msgbox and two strings from cells and the same issue didn't occur)
I.E
Sub BUGGY
sCell1 = ThisComponent.Sheets.Sheet1.GetCellByPosition(0,0).String
sCell2 = ThisComponent.Sheets.Sheet1.GetCellByPosition(0,1).String 
MsgBox sCell1 & sCell2
End Sub

Platform (if different from the browser): 
              
Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:12.0) Gecko/20100101 Firefox/12.0
Comment 1 Jared Tangeman 2012-05-28 01:18:48 UTC
This is still an issue in the newest release and it also happens in Windows 7.
Comment 2 Joel Madero 2012-06-17 18:25:13 UTC
I'm downgrading this as it clearly is not a CRITICAL bug. Please try to be more accurate while stating the importance of bugs. CRITICAL bugs mean that it causes some major issue with your system examples might include loss of data, inability to save, or inability to install. When people overstate their bugs like this is makes it much harder for our team to sort through the bugs.

I'm marking this as a Minor -> Low bug. 

The bug doesn't prevent users from making high quality work and doesn't damage files nor affect ability to use LO.
Comment 3 bfoman (inactive) 2012-06-22 04:53:53 UTC
Checked with:
LO 3.5.4.2 
Build ID: own W7 debug build
Windows 7 Professional SP1 64 bit

Could not reproduce.
Comment 4 bfoman (inactive) 2012-10-16 13:29:33 UTC
RESOLVED WORKSFORME per comment 3.
Do not hesitate to reopen if this bug is reproducible with the latest stable release.