Bug 48548 - Show formulas : copy / paste formulas pastes a #REF error when pasted in Notepad (or pasted as text only in libreoffice writer)
Summary: Show formulas : copy / paste formulas pastes a #REF error when pasted in Note...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-11 04:31 UTC by quatrecouleurs
Modified: 2015-01-29 10:51 UTC (History)
1 user (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 quatrecouleurs 2012-04-11 04:31:40 UTC
It is useful to use the "show formulas" option to copy / paste the formulas from calc in order to make search / replace with regex expressions, for instance in Notepad++.

But there is some problem avoiding to copy the text shown in the cells, to paste it as text, in a notepad, or for instance doing "paste special" -> "unformatted text" in libre office writer.

Steps to reproduce : open a simple calc workbook with several formulas. Use the "Show formulas" in tools / options to show the formulas, not the result. Select the formulas and paste those in a notepad.

Copied text : 
='DB EU'.$E1	='DB EU'.$G1	='DB EU'.$M1	='DB EU'.$V1	='DB EU'.$X1	='DB EU'.$Y1	='DB EU'.$AE1	='DB EU'.$AG1

Result in Notepad :
=#REF!.$E1	=#REF!.$G1	=#REF!.$M1	=#REF!.$V1	=#REF!.$X1	=#REF!.$Y1	=#REF!.$AE1	=#REF!.$AG1

LibreOffice 3.5.0rc3 
Build ID: 7e68ba2-a744ebf-1f241b7-c506db1-7d53735
Windows XP

Thanks,

Joël
Comment 1 Markus Mohrhard 2012-04-11 10:16:21 UTC
Copy/Paste problems between different programs are platform specific problems because often they are related to the system clipboard.
Comment 2 quatrecouleurs 2012-04-11 12:16:43 UTC
Perhaps this is platform specific. Also, I have the same bug under archlinux (everything up to date). Perhaps it works with a mac !

archlinux up to date 2012-04-11
LibreOffice 3.5.1.2 
Build ID: 350m1(Build:102)
Gedit 3.2.6

Text shown in LO : =A2	=Sheet2.A1
Result pasted in gedit : =A2	=#REF!.A1

Looks like there is a problem with the sheet references ?
Comment 3 Mònica Ramírez Arceda 2012-04-14 08:43:53 UTC
[Reproducible] with "LibreOffice 3.5.2.2 - Build ID: 281b639-6baa1d3-ef66a77-d866f25-f36d45f - GNU/Linux Debian testing (32bit) English UI" and gedit 3.2.6-1 (Debian package)

I can reproduce it only when another sheet is involved in the formula:

Copied text:
=Sheet1.A2
2
3
4
=suma(A2:A4)

Result in gedit:
=#REF!.A2
2
3
4
=SUM(A2:A4)
Comment 4 Mònica Ramírez Arceda 2012-04-14 08:45:16 UTC
Sorry, I meant: 

Copied text:
=Sheet1.A2
2
3
4
=SUM(A2:A4)

Result in gedit:
=#REF!.A2
2
3
4
=SUM(A2:A4)
Comment 5 Sören 2012-08-14 15:20:31 UTC
I can confirm the bug (only for formulas including different sheets) under 

LibreOffice 3.5.5.3 
Build ID: 7122e39-92ed229-498d286-15e43b4-d70da21
on Windows 7 Home (64 bit)

and
LibreOffice 3.5.4.2 
Build ID: 350m1(Build:2)
on Ubuntu 12.04 (64 bit)
Comment 6 QA Administrators 2015-01-05 17:52:35 UTC
** Please read this message in its entirety before responding **

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present on a currently supported version of LibreOffice (4.3.5 or later): https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the version of LibreOffice and your operating system, and any changes you see in the bug behavior

If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a short comment that includes your version of LibreOffice and Operating System

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case)

Thank you for your help!

-- The LibreOffice QA Team
Comment 7 Buovjaga 2015-01-29 10:51:33 UTC
No problem anymore -> WFM.

Win 7 Pro 64-bit Version: 4.5.0.0.alpha0+
Build ID: 784d069cc1d9f1d6e6a4e543a278376ab483d1eb
TinderBox: Win-x86@62-TDF, Branch:MASTER, Time: 2015-01-25_23:07:36