You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2013/10/02 13:57:54 UTC

[Bug 123405] New: copying and pasting tables as GDI metafile pastes incomplete table

https://issues.apache.org/ooo/show_bug.cgi?id=123405

            Bug ID: 123405
        Issue Type: DEFECT
           Summary: copying and pasting tables as GDI metafile pastes
                    incomplete table
           Product: Calc
           Version: 4.0.1
          Hardware: PC
                OS: Windows 7
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: editing
          Assignee: issues@openoffice.apache.org
          Reporter: fdeperis@yahoo.it
                CC: issues@openoffice.apache.org

Created attachment 81691
  --> https://issues.apache.org/ooo/attachment.cgi?id=81691&action=edit
Test file with copied/pasted table as GDI metafile

When copying a large--but not huge!--table and then pasting it as a GDI
Metafile, the pasted image is missing both rows and columns; I've attached a
test file from the file I was working on, and erased data, added rows (my
original had issues only with columns, but it's clear now it's an issue of how
many rows/columns are copied). The pasted GDI image is right next to the
original copied table.
Had the same issue before upgrading from OO 3 to OO 4, but usually repeating
the copy/paste commands would copy the whole thing eventually...

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 123405] copying and pasting tables as GDI metafile pastes incomplete table

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=123405

--- Comment #11 from Armin Le Grand <Ar...@me.com> ---
ALG: @darwinbot: Thanks, found and checked, works now. When you have more stuff
bugging you, you are already doing the right thing, tasks welcome!

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.

[Issue 123405] copying and pasting tables as GDI metafile pastes incomplete table

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=123405

--- Comment #15 from Armin Le Grand <Ar...@me.com> ---
Just tried with AOO410 (AOO410m16(Build:9762)  -  Rev. 1585426
2014-04-07 10:29:13 (Mo, 07 Apr 2014)), no problem found. The pasted (as GDI)
table looks the same as the selected and copied one.
@zhaoshzh: When I look at your screenshot I think you tried to select not only
the table (Ao to AQ50) but also the example graphic. To reproduce the task,

- select Ao to AQ50
- CTRL-C
- PasteSpecial - GDI Metafile

Please try again, I see no error anymore.

-- 
You are receiving this mail because:
You are on the CC list for the issue.
You are watching all issue changes.

[Bug 123405] copying and pasting tables as GDI metafile pastes incomplete table

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=123405

--- Comment #6 from Armin Le Grand <Ar...@me.com> ---
ALG: I do not know why the limitation to 2xpagesize is there, thus it would be
unsafe to just remove it. But it seems possible to add a parameter to
ScTransferObj::InitDocShell() to define if the value for SetVisArea shall be
limited in relation to PageSize or not. Checking possibility...

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 123405] copying and pasting tables as GDI metafile pastes incomplete table

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=123405

--- Comment #1 from darwinbot <fd...@yahoo.it> ---
p.s. the behaviour is exactly the same when pasting the table to other OO apps;
verified in Writer and Draw.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Issue 123405] copying and pasting tables as GDI metafile pastes incomplete table

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=123405

--- Comment #13 from zhaoshzh <ao...@gmail.com> ---
Created attachment 83146
  --> https://issues.apache.org/ooo/attachment.cgi?id=83146&action=edit
missing area

-- 
You are receiving this mail because:
You are on the CC list for the issue.
You are watching all issue changes.

[Issue 123405] copying and pasting tables as GDI metafile pastes incomplete table

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=123405

zhaoshzh <ao...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aoo.zhaoshzh@gmail.com

--- Comment #12 from zhaoshzh <ao...@gmail.com> ---
if pasted as GDI image,
some areas are missing on AOO410m15(Build:9761)  -  Rev. 1585021

refer to 'missing area.png'

-- 
You are receiving this mail because:
You are on the CC list for the issue.
You are watching all issue changes.

[Bug 123405] copying and pasting tables as GDI metafile pastes incomplete table

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=123405

--- Comment #8 from SVN Robot <sv...@dev.null.org> ---
"alg" committed SVN revision 1531041 into trunk:
i123405 Allow to not limit size to PageSize when creating Metafile content

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.

[Bug 123405] copying and pasting tables as GDI metafile pastes incomplete table

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=123405

Edwin Sharp <el...@mail-page.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |CONFIRMED
                 CC|                            |elish@mail-page.com
     Ever confirmed|0                           |1

--- Comment #2 from Edwin Sharp <el...@mail-page.com> ---
Copy from Calc and paste in Draw is truncated.

Rev. 1525015 Win 7

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 123405] copying and pasting tables as GDI metafile pastes incomplete table

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=123405

Armin Le Grand <Ar...@me.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
         Resolution|---                         |FIXED

--- Comment #9 from Armin Le Grand <Ar...@me.com> ---
ALG: Committed, done.

BTW: I could not find out how to paste/special as Metafile in Calc itself, I
get the paste special dialog of calc. How is that done? I always pasted to
another app for test purposes...

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.

[Bug 123405] copying and pasting tables as GDI metafile pastes incomplete table

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=123405

Edwin Sharp <el...@mail-page.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|Windows 7                   |All

--- Comment #3 from Edwin Sharp <el...@mail-page.com> ---
Confirmed also in 
AOO401m5(Build:9714)  -  Rev. 1524958
2013-09-20 11:54 - Linux x86_64

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 123405] copying and pasting tables as GDI metafile pastes incomplete table

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=123405

Armin Le Grand <Ar...@me.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Armin.Le.Grand@me.com
                 OS|All                         |Windows 7

--- Comment #4 from Armin Le Grand <Ar...@me.com> ---
ALG: First check: Paste special/as Bitmap does paste all, the last two columns
get not clipped. Strange, AFAIK the Bitmap is prepared based on the Metafile,
thus the Metafile sould work, too. Taking a look...

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Issue 123405] copying and pasting tables as GDI metafile pastes incomplete table

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=123405

zhaoshzh <ao...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #14 from zhaoshzh <ao...@gmail.com> ---
also same issue on AOO410m14(Build:9760)  -  Rev. 1585624

-- 
You are receiving this mail because:
You are on the CC list for the issue.
You are watching all issue changes.

[Bug 123405] copying and pasting tables as GDI metafile pastes incomplete table

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=123405

Armin Le Grand <Ar...@me.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|issues@openoffice.apache.or |Armin.Le.Grand@me.com
                   |g                           |
   Target Milestone|---                         |4.1.0

--- Comment #7 from Armin Le Grand <Ar...@me.com> ---
ALG: Works as expected, I can add this with minimal risk impact - only metafile
creation will be affected. Preparing commit...

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 123405] copying and pasting tables as GDI metafile pastes incomplete table

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=123405

--- Comment #5 from Armin Le Grand <Ar...@me.com> ---
ALG: The limitation is applied in ScTransferObj::InitDocShell(). There, the
PageSize is taken, multiplied by 2 (comment is: 'limit OLE object to double of
page size') and then the visible size is calculated and set using SetVisArea.
Checking how this can be avoided when target is a Metafile...

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 123405] copying and pasting tables as GDI metafile pastes incomplete table

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=123405

--- Comment #10 from darwinbot <fd...@yahoo.it> ---
@ALG: I have a small drop-down-menu arrow on my paste button which gives all
the 'graphical' paste as options, if I correctly understood what you're
asking...
and thanks for solving the issue, it's been bugging me for some time...

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.