Bug 94277 - UI Some shapes can't have complex content
Summary: UI Some shapes can't have complex content
Status: RESOLVED DUPLICATE of bug 91097
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.1.0.0.alpha0+ Master
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-16 13:04 UTC by Katarina Behrens (Inactive)
Modified: 2015-09-29 18:12 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 Katarina Behrens (Inactive) 2015-09-16 13:04:42 UTC
I wanted to use this feature: https://wiki.documentfoundation.org/ReleaseNotes/4.4#Shapes_can_have_a_TextBox

however I realized that not all shapes in Writer are created equal :)

This works:

1. Toolbar -> Standard shapes -> insert e.g. rectangle
2. Right click for context menu -> Insert Text Box 
3. Now you can insert table, graph etc. into the shape

This doesn't work:

1. Insert -> Shape -> Rectangle
2. Right click for context menu 

=> no such context menu appears, complex content can't be inserted. Obviously this is some different type of rectangle :)
Comment 1 Maxim Monastirsky 2015-09-16 14:21:45 UTC
(In reply to Katarina Behrens (CIB) from comment #0)
> Obviously this is some different type of rectangle :)
It's about basic shapes vs. custom shapes. The code at [1] explicitly enable this feature only for custom shapes. IMHO it makes sense to use the same kind of shapes consistently across menubar/toolbars to avoid this confusion, as there are other features that are supported by custom shapes but not by basic shapes (e.g. 3D Extrusion - see Bug 85227).

[1] http://opengrok.libreoffice.org/xref/core/sw/source/uibase/shells/drawsh.cxx#501
Comment 2 Yousuf Philips (jay) (retired) 2015-09-20 14:58:21 UTC
Yes i remember someone mentioning that there were two types of shape controls in writer, though i cant remember who mentioned it and what the benefit of the first type was. Lets set this to NEW anyway. :D
Comment 3 Maxim Monastirsky 2015-09-29 18:12:30 UTC

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