Bug 169396 - Shapes copied and pasted from Excel don't become 'native' drawing shapes
Summary: Shapes copied and pasted from Excel don't become 'native' drawing shapes
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Paste-From-MSO
  Show dependency treegraph
 
Reported: 2025-11-12 09:17 UTC by Eyal Rozenberg
Modified: 2025-11-12 20:44 UTC (History)
2 users (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 Eyal Rozenberg 2025-11-12 09:17:56 UTC
Reproduction instructions A:

1. Open MS Excel
2. Draw a line going diagonally
3. Copy the line shape
4. Open LO Draw
5. Paste the line
6. Try dragging line endpoints

Expected result:
You can "hold" line endpoints just like with lines drawn in Draw

Actual result:
The pasted "line" is an obscure/black-box 2D object - it doesn't have handles at its ends, just a bounding box

--- 

Reproduction instructions B:
(steps 1-5 as above)
6. Right-click, choose "Line..."
7. Make the line dashed

Expected result:
Line becomes dashed

Actual result:
A rectangular frame surrounding the line gets a dashed outline


--- 

Reproduction instructions C:

1. Open MS Excel
2. Draw a line going diagonally
3. Draw a box intersecting the line
4. Select the line and the box
5. Copy the selection
6. Open LO Draw
7. Paste
8. Try selecting just the line
9. Try ungrouping the line-and-box

Expected results:
Either step 8 or step 9 succeed, depending on whether the shapes were pasted separately or as a group.

Actual results:
Both steps 8 and 9 fail - the paste result is an opaque/black-box 2D object - not a pair of drawing objects nor a group of drawing objects



Seen with:


Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 04bd455e36b054001e08a0a3256d508a009ffef3
CPU threads: 20; OS: Windows 11 X86_64 (build 22631); UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_IL); UI: en-GB
Calc: CL threaded
Comment 1 Regina Henschel 2025-11-12 18:38:56 UTC
When you look at the drop-down list of the paste icon you can see, that Draw only supports the clipboard formats GDI and Bitmap. So this is a missing feature.

With "Free Clipboard Viewer" I see, that there is a "Excel 2007 Internal Shape" format (a PK), for example. But I don't know whether that really contains the shape.
Comment 2 Eyal Rozenberg 2025-11-12 20:44:06 UTC
(In reply to Regina Henschel from comment #1)
> With "Free Clipboard Viewer" I see, that there is a "Excel 2007 Internal
> Shape" format (a PK), for example. But I don't know whether that really
> contains the shape.

Oh, so they don't put some OOXML in the clipboard? I see... :-(