https://bugs.freedesktop.org/show_bug.cgi?id=49336
Bug #: 49336
Summary: UI: CR added to data copied to clipboard
Classification: Unclassified
Product: LibreOffice
Version: LibO 3.5.2 Release
Platform: Other
OS/Version: All
Status: UNCONFIRMED
Status Whiteboard: BSA
Severity: normal
Priority: medium
Component: Spreadsheet
AssignedTo: [email protected]
ReportedBy: [email protected]
Created attachment 60835
--> https://bugs.freedesktop.org/attachment.cgi?id=60835
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
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs