Bug 94073 - FORMATTING: copy paste object to clipboard cuts border off
Summary: FORMATTING: copy paste object to clipboard cuts border off
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
4.1.0.4 release
Hardware: x86-64 (AMD64) All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: Clipboard
  Show dependency treegraph
 
Reported: 2015-09-09 20:40 UTC by shitspamenter
Modified: 2024-09-11 00:01 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Summary of the problem (44.21 KB, image/png)
2015-09-09 20:40 UTC, shitspamenter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description shitspamenter 2015-09-09 20:40:48 UTC
Created attachment 118560 [details]
Summary of the problem

When I copy a drawing and want to paste it in MS Office for example, it wont copy the entire drawing. A tiny bit of the border below is always cut off. See attachment for example. the box has a red border, but when I paste it to Paint, the red border below and on the right side is not visible.

Steps to reproduce
1. Make random object in Draw with clearly visible border.
2. Select drawing and paste to Word or MS Paint
3. The problem must occur now
Comment 1 Buovjaga 2015-09-18 15:28:01 UTC
Confirmed with Paint.

Win 7 Pro 64-bit, Version: 5.0.1.2 (32-bit)
Build ID: 81898c9f5c0d43f3473ba111d7b351050be20261
Locale: fi-FI (fi_FI)

Version: 5.1.0.0.alpha1+ (x64)
Build ID: 9ce08dcc2e32c5554ddf71b79173f8854e0568ad
TinderBox: Win-x86_64@62-TDF, Branch:MASTER, Time: 2015-09-17_21:43:51
Locale: en-US (fi_FI)
Comment 2 QA Administrators 2016-09-20 10:32:23 UTC Comment hidden (obsolete)
Comment 3 QA Administrators 2019-12-03 14:46:46 UTC Comment hidden (obsolete)
Comment 4 QA Administrators 2021-12-03 04:39:58 UTC Comment hidden (obsolete)
Comment 5 Kira Tubo 2023-09-17 00:48:15 UTC
Reproducible pasting object from Draw to Paint using current stable and daily master builds. 

Not reproducible using LO v.3.3, therefore this issue is a regression. 

Version: 7.6.1.2 (X86_64) / LibreOffice Community
Build ID: f5defcebd022c5bc36bbb79be232cb6926d8f674
CPU threads: 6; OS: Windows 10.0 Build 22621; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 4b2543693ed3ffb4d9f0d70f53f32127115c128d
CPU threads: 6; OS: Windows 10.0 Build 22621; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded
Comment 6 Steve271 2024-09-10 02:32:39 UTC
I could not bibisect this bug as it predates all the windows bibisect builds. 

With the earliest windows bibisect build (win32-4.3) I could reproduce the bug with the "oldest" commit by pasting a draw object to paint. The info of the "oldest" commit in the bibisect build is shown below: 

Version: 4.2.0.0.alpha1+
Build ID: fc8f44e82de4ebdd50ac5fbb9207cd1a59a927e3


Changing this bug to preBibisect.
Comment 7 Steve271 2024-09-11 00:01:40 UTC
After consulting with a another QA contributor, it was determined that this bug is also reproducible on linux versions of LO. With this new information I was able to perform a bibisect using the linux-41max repo.

the results of the bibisect are shown below:

 04c4b54713372d6c9c6f9c9fa6421ef3fa21d58d is the first bad commit
commit 04c4b54713372d6c9c6f9c9fa6421ef3fa21d58d
Author: Matthew Francis <mjay.francis@gmail.com>
Date:   Fri Sep 18 10:45:55 2015 +0800

    source-hash-33b4c9938ddcf5555b55088531cce3f2493c1459
    
    commit 33b4c9938ddcf5555b55088531cce3f2493c1459
    Author:     Armin Le Grand <alg@apache.org>
    AuthorDate: Mon May 14 14:21:26 2012 +0000
    Commit:     Caolán McNamara <caolanm@redhat.com>
    CommitDate: Fri Mar 15 23:43:01 2013 +0000
    
        Resolves: #i119125# various actions implemented, clipping added.
    
        Esp hard was ImpSdrGDIMetaFileImport, but working now. Needed to hand-craft
        alpha addition for alpha in Metafile content and gradient of action. Also added
        better BitmapEx creation for convert to bitmap for draw objects.
    
        Conflicts:
        	svx/source/svdraw/svdxcgv.cxx
        	vcl/source/gdi/impgraph.cxx
    
        Change-Id: Ic6ac9fb3132dd122e16a5cd8f9c5ddd155ec9882


adding Armin Le Grand to Cc