Bug 126434 - Editing OLE drawing object : layout invisible in OLE draw canvas after a copy/paste onto Writer canvas
Summary: Editing OLE drawing object : layout invisible in OLE draw canvas after a copy...
Status: RESOLVED DUPLICATE of bug 125585
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
6.2.5.2 release
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: OLE-Objects
  Show dependency treegraph
 
Reported: 2019-07-16 18:02 UTC by levy.jeanmarc
Modified: 2020-03-09 16:02 UTC (History)
7 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 levy.jeanmarc 2019-07-16 18:02:05 UTC
Description:
When I want to edit a draw OLE object from Writer, the options ’visible’ and ’printable’ of the layout are always off : nothing is visible

Steps to Reproduce:
1.Create un draw
2.Copy that draw as un object in Writer
3.Try to edit that object : nothing is visible is the editing window

Actual Results:
Nothing visible

Expected Results:
to see the elements of the draw


Reproducible: Always


User Profile Reset: No



Additional Info:
Comment 1 levy.jeanmarc 2019-07-16 18:05:00 UTC
This bug doesn’t appear with LO 6.1.6.3
Comment 2 levy.jeanmarc 2019-07-16 18:10:59 UTC
This bug doesn’t appear with LO 6.3.0.1
Comment 3 V Stuart Foote 2019-07-16 21:01:32 UTC
Confirmed on Windows builds of 6.2.5.2 and current master/6.4.0 with copy and paste of a selection from a Draw object.

That is if I create an ODF Drawing, and select/copy some portion from its canvas. A Paste Special, the 'Selection' listbox allows me to choose to paste selection as a 'LibreOffice xx Drawing'.

But when I double click it to open that pasted Drawing selection into an OLE frame, the OLE Draw pane is not fully functional--I see the frame for the OLE, but the drawing canvas is mis-sized and otherwise blank on panning it. Seems the Drawing object pasted is not correct.

On the other hand, I am able to work with it as an OLE object but I have to insert the entire Drawing .ODG.  To do that I use Insert -> Object -> OLE Object...  and choose the 'Create from file' radio button in the dialog. And select the Object type 'LibreOffice xx Drawing'.

That resulting inserted OLE object is fully editable as an OLE when opened from the Writer canvas.

=-testing-=
Windows 10 Ent 64-bit en-US with
Version: 6.2.5.2 (x64)
Build ID: 1ec314fa52f458adc18c4f025c545a4e8b22c159
CPU threads: 8; OS: Windows 10.0; UI render: default; VCL: win; 
Locale: en-US (en_US); UI-Language: en-US
Calc: CL

or current master/6.4.0
Version: 6.4.0.0.alpha0+ (x86)
Build ID: a9ce5e5fc5188a0c776ba4cff9d5ac84a2bcd7a5
CPU threads: 8; OS: Windows 10.0; UI render: GL; VCL: win; 
Locale: en-US (en_US); UI-Language: en-US
Calc: CL
Comment 4 levy.jeanmarc 2019-07-17 07:53:00 UTC
(In reply to levy.jeanmarc from comment #2)
> This bug doesn’t appear with LO 6.3.0.1

Sorry, it’s a mistake, in fact the bug appears with LO 6.3.0.1
Comment 5 Henning Spruth 2019-08-16 15:05:46 UTC
I'm seeing the same issue on LibreOffice 6.3.0.4
Comment 6 Ferry Toth 2019-11-04 13:16:26 UTC
This still happens in 6.3.2.2 Ubuntu.
This still happens in 6.3.1.2 Windows 10.

What happens is: the Draw object is pasted and visible in Writer. But dubble click  to edit (in the embedded Draw) shows the drawing in the Preview pane but not in the main window.

This is because in the layer 'Layout' options (editable by dubble click on the layer tab) Visible and Printable are turned off. 

This is also easily indicated by the layer name shown in blue (normally black).

Further, checking Visible and Printable layer name goes back to black and the Draw objects are shown.

Leaving the edit window and entering again Visible and Printable check boxes are turned off.
Comment 7 Regina Henschel 2019-11-05 23:44:56 UTC
This seems duplicate to bug 125585. Please look there, which versions contain the fix and how to repair existing documents.
Comment 8 Ferry Toth 2019-11-06 12:20:56 UTC
@Regina,

To me it seems the other way around, your patches in bug 125585 solve the issue in this bug.

However, in the original bug 125585 the OLE objects are corrupted, not just invisible. Moreover it applies to drawing, presentation, sheet, text and formula objects.

But good to know it has already been solved. Would it not be a candidate for back porting to 6.3?
Comment 9 Regina Henschel 2019-11-06 13:39:34 UTC
(In reply to Ferry Toth from comment #8)
> But good to know it has already been solved. Would it not be a candidate for
> back porting to 6.3?
The fix is in 6.3.3 and in 6.2.8. Please test it.
Comment 10 Timur 2020-03-04 16:52:11 UTC
I set Needinfo for those who confirmed this bug to test and mark duplicate if resolved.
Comment 11 Ferry Toth 2020-03-04 21:32:05 UTC
I confirm this is resolved in 6.3.4, thanks!
Comment 12 Timur 2020-03-09 16:02:46 UTC

*** This bug has been marked as a duplicate of bug 125585 ***