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/05/27 06:41:44 UTC

[Bug 122388] New: 'Paste Special - As Bitmap' pastes rectangle with page width

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

            Bug ID: 122388
        Issue Type: DEFECT
           Summary: 'Paste Special - As Bitmap' pastes rectangle with page
                    width
           Product: General
           Version: AOO400-dev
          Hardware: All
                OS: Windows 7
            Status: UNCONFIRMED
          Keywords: regression
          Severity: normal
          Priority: P3
         Component: ui
          Assignee: issues@openoffice.apache.org
          Reporter: rainerbielefeld_ooo_qa@bielefeldundbuss.de
                CC: issues@openoffice.apache.org

Created attachment 80730
  --> https://issues.apache.org/ooo/attachment.cgi?id=80730&action=edit
Sample Document

Steps how to reproduce with server installation of  "AOO 4.0.0-Dev – English UI
/ German locale [AOO400m2(Build:9701) -   Rev. 1485784 Rev.1485289
(2013-05-24)]" on WIN7 Home Premium (64bit)", Common 4.0 Trunk User Profile:

1. From OOo start center open new Draw document
2. Draw 'Drawing Toolbar -> Symbol Shapes -> Filled Rectangle' 60x30mm 
   (width x height)
3. click rectangle
4. <control+c> for Copy
5. Menu 'Edit -> Paste Special -> Bimap'
   Expected: width as source shape
   Actual: full page width (A4 Portrait) 
7. Menu 'Format -> Page -> Landscape'
8. Redo from Step 3! Now bitmap will be even bigger with landscape page width

Additional Info
---------------
a) Already Reproducible  with server installation of  " AOO 4.0.0-Dev  –
English UI / German locale [AOO400m1(Build:9700) - Rev. 1457992 - Rev.1457606]"
on WIN7 Home Premium (64bit)", own separate user profile.
b)Same when I paste special to new blank Writer document
d) but not when I copy / paste special as Bitmap rectangle from writer to Draw
e) not all Shapes affected, smiley, square and most others work fine
f) That problem might be not 100% reproducible. It seemed it worked for me 
   at least 1 time with an unfilled rectangle. Additionally 1 time I got a
   placeholder instead of a rectangle after paste-special. Some more research
   might be useful.
g) worked fine with 3.4.1, so Regression
h) you can easily reproduce with attached sample document. Small black 
   rectangle is source shape, big rectangle is result of my paste special

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

[Bug 122388] 'Paste Special - As Bitmap' pastes rectangle with page width

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

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

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

--- Comment #5 from Armin Le Grand <Ar...@me.com> ---
ALG: Works as expected, comitting, done.
Also added to change the PrefSize to the target mapping and correct that, too.

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

[Bug 122388] 'Paste Special - As Bitmap' pastes rectangle with page width

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Armin.Le.Grand@me.com

--- Comment #3 from Armin Le Grand <Ar...@me.com> ---
ALG: The MapMode is wrong (on pixels) after creation. It sohould be on 100th mm
and fits to the pref size which is set correctly. It gets 'corrected' to this
in TransferableDataHelper::GetBitmapEx in svtools/source/misc/transfer.cxx|1853
where a fix of #110748# is applied.

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

[Bug 122388] 'Paste Special - As Bitmap' pastes rectangle with page width

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

--- Comment #6 from SVN Robot <sv...@dev.null.org> ---
"alg" committed SVN revision 1487531 into trunk:
i122388 Corrected old fix to mentioned bounds

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

[Bug 122388] 'Paste Special - As Bitmap' pastes rectangle with page width

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |AOO 4.0

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

[Bug 122388] 'Paste Special - As Bitmap' pastes rectangle with page width

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

--- Comment #2 from rainerbielefeld <ra...@bielefeldundbuss.de> ---
@Edwin Sharp 
So it is, I wanted to write 'Basic Shapes', Symbol Shapes is nonsense.

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

[Bug 122388] 'Paste Special - As Bitmap' pastes rectangle with page width

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |elish@mail-page.com

--- Comment #1 from Edwin Sharp <el...@mail-page.com> ---
Symbol Shapes has:
Smiley Face, Sun, Moon, Lightning Bolt, Heart, Flower, Cloud, "Prohibited"
Symbol, Puzzle, Double Bracket, Left Bracket, Right Bracket, Double Brace, Left
Brace, Right Brace, Square Bevel, Octagon Bevel, Diamond Bevel.

No "Filled Rectangle".

Rev. 1479897

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

[Bug 122388] 'Paste Special - As Bitmap' pastes rectangle with page width

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

--- Comment #4 from Armin Le Grand <Ar...@me.com> ---
ALG: That BugID is from an older Bugtracker and the content is no longer
reachable. Nonetheless, the text at the fix claims to repair when bigger than
50 cm, but the implementation checks for 5 cm (which is 5000 100th mm). Since
we do not really know what that fix did, I would opt to change that value to
the ones described in the text of the fix.

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