Issue 119177 - Paste Chart Area loses its contents
Summary: Paste Chart Area loses its contents
Status: CLOSED DUPLICATE of issue 118840
Alias: None
Product: General
Classification: Code
Component: chart (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: PC All
: P3 Normal with 16 votes (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
: 122004 (view as issue list)
Depends on:
Reported: 2012-04-03 12:56 UTC by oooforum (fr)
Modified: 2013-07-15 20:09 UTC (History)
12 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---
jsc: 4.0.0_release_blocker-

Paste result (12.43 KB, application/vnd.oasis.opendocument.text)
2012-04-03 12:57 UTC, oooforum (fr)
no flags Details
Tiny chart for test (13.20 KB, application/vnd.oasis.opendocument.spreadsheet)
2012-04-03 13:00 UTC, oooforum (fr)
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description oooforum (fr) 2012-04-03 12:56:42 UTC
Steps to reproduce:
1- Open the attached spreadsheet
2- Select Chart area
3- Menu Edit > Copy
4- Open a new Writer document
5- Menu Edit > Paste
Chart area appears but empty
Bars are lost

Confirmed under 
* MacOsX 10.7.3 
* Vista Sp2 
* Win7 64bit standard
* Linux x86 .deb

But work as expected with Win7 64bit pro
Comment 1 oooforum (fr) 2012-04-03 12:57:34 UTC
Created attachment 77414 [details]
Paste result
Comment 2 oooforum (fr) 2012-04-03 13:00:27 UTC
Created attachment 77415 [details]
Tiny chart for test
Comment 3 oooforum (fr) 2012-04-16 09:04:47 UTC
Strange issue.
This seems appear only with french localization.
Comment 4 papayes 2012-04-16 15:06:51 UTC
*** This issue has been confirmed by popular vote. ***
Comment 5 Regina Henschel 2012-04-16 16:21:28 UTC
The problem is, that it is not possible to select the "chart". You have actually selected the "Chart Wall". You can observe it, when you traverse the chart objects by the tab-key and look at the status bar. Compare it with an older version, for example an OOo3.1.
The selection "Chart" contains the axes too, and therefore its green handles are left from the y-axis. The selection "Chart Wall" contains only the background of the coordinate system. 

I don't know yet, why the selection "Chart" is missing.
Comment 6 Regina Henschel 2012-04-16 16:29:41 UTC
Additional remark: The "Chart Area" is only the background of the whole chart (including legend and titles). It does not contain something but is only a rectangle. Therefore it never has contained the data series. Look at the status bar to get the right names of the selected objects.
Comment 7 Sharo 2012-04-16 17:43:40 UTC

It seems the problem is the name of the sheet.
Change it and the copy is possible.

It's like the default name of first sheet in french ("Feuille1") make the copy of the data not possible.
Tittle, Axis name, ...are ok.
Just the content of the data area is empty. ( writer, calc, impress and draw)
Comment 8 oooforum (fr) 2012-04-17 13:26:01 UTC
@Regina: not a select problem for me
With Win7 Pro x64, this is not appeared

I confirm Sharo's comment. 
The sheet's name in french "Feuille1" _is_ the issue.
Try to rename it and you can paste chart correctly.
Comment 9 Risto Jääskeläinen 2012-05-07 18:40:28 UTC
I have same kind problem with AOO340m1 in Windows Vista Finnish localization. I used to copy (Ctrl+C) selected chart from Calc to Draw and then export it to png or gif image file (not yet find out how to do it from Calc direct). Now it gives me no diagrams (but canvas heading etc).  Sheet name is Taulukko1. If I change it Kuvaajia1 it works! Wunderbar.

Comment 10 oooforum (fr) 2012-06-25 08:01:49 UTC
This issue still occurs with 3.4.1
Comment 11 Shan Zhu 2012-07-04 06:58:29 UTC
@Regina: I thinke the "Chart area" in oooforum's description means the Chart object. 

Sharo is right, changing the default sheet name can avoid the issue. 
And it seems a regression defect. The same scenario works on OO3.1(on WinXP), OO3.3(on MacOSX10.7).
Comment 12 Open User 2012-09-22 03:07:06 UTC
I have exactly the same issue on Mac OS X 10.8 (Mountain Lion) American English
and Windows Vista Pro 32 bit American English.

The current solution is (as mentioned by others):

1. Create a chart
2. Exit the Edit mode for the chart (by clicking outside of the chart area)
3. Change the sheet name (for example "q" instead of "Sheet1").
4. Click (once) on the chart to select it.
5. Use copy (Menu Edit->Copy, Control-C or Command-C).
6. Switch to Draw, Impress, or Writer.
7. Use paste function (Menu Edit->Paste, Control-V, or Command-V).

The issue occurs in AOO 3.4.0 and AOO 3.4.1
Comment 13 Regina Henschel 2013-04-05 11:15:12 UTC
*** Issue 122004 has been marked as a duplicate of this issue. ***
Comment 14 Regina Henschel 2013-06-06 19:13:08 UTC
Seems to be the same problem as in bug 118840.
Comment 15 papayes 2013-06-08 09:58:44 UTC
The issue occurs in AOO 400m2 Rev 1489073 2013-06-03 (US)

The current solution is to change the sheet name (for example "Feuillet1" instead of "Sheet1")
but I prefer save a New Template with this new name and set it as Default Template...

Note :  New small bug :
Menu > File > Templates > Organize...
Template Management :
all icons are as an "Text Document" and not as "Spreadsheet"

No problem with the icons in Menu > File > New > Templates and Documents
Comment 16 Kay 2013-06-08 22:59:37 UTC
I got this work in AOO4 build 9701, but for some reason it took me several tries.

The chart stays in the new Writer doc just fine evna without a name.

Linux 32 bit, en-US.
Comment 17 Armin Le Grand 2013-06-18 09:58:29 UTC
ALG: Duplicate to #118840# which is solved.

*** This issue has been marked as a duplicate of issue 118840 ***
Comment 18 jsc 2013-07-02 07:32:49 UTC
Comment 19 papayes 2013-07-15 20:09:50 UTC
verified on RC build