Bug 85227 - TOOLBAR: 'Extrusion On/Off' doesn't activate when selecting draw object
Summary: TOOLBAR: 'Extrusion On/Off' doesn't activate when selecting draw object
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: Other All
: medium normal
Assignee: Yousuf Philips (jay) (retired)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-20 09:44 UTC by Yousuf Philips (jay) (retired)
Modified: 2015-10-02 20:30 UTC (History)
3 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 Yousuf Philips (jay) (retired) 2014-10-20 09:44:40 UTC
In Writer and Calc, if you draw an object from the drawing toolbar, the 'Extrusion On/Off' button in the toolbar doesnt activate, as it does in Impress and Draw.
Comment 1 tommy27 2014-10-21 05:06:50 UTC
I confirm bug under Win7x64 using 4.4.0.0.alpha0+
Build ID: 3e2bd1e4022e25b77bcc8eba5e02c1adc57008a1
TinderBox: Win-x86@42, Branch:master, Time: 2014-10-16_01:04:13
Comment 2 Maxim Monastirsky 2014-11-05 15:39:56 UTC
I'm afraid that the problem might be in the underlying implementation, not in the button.

Actually not many people know that LO (and the ODF format) has two ways to represent shapes. There are simple shapes, and there are custom shapes. Now if you draw a Rectangle from the drawing toolbar you won't get this button activated, but if you draw a Rectangle from the Basic Shapes drop-down you will. You can notice two additional differences: The simple Rectangle has green handlers when selected, but the one from the drop-down has blue ones. You can also save documents with both and compare content.xml. The simple one is saved using the draw:rect tag, and the one from the drop-down is saved using draw:custom-shape tag.

Now, in Writer/Calc the drawing toolbar hosts the simple shapes, while in Impress/Draw the custom shapes. You can compare the .uno commands: In Writer for Rectangle we use .uno:Rect, but in Impress/Draw we use .uno:BasicShapes.rectangle. (Note that you can get the simple Rectangle in Impress/Draw as well, by activating the Rectangles toolbar.)
Comment 3 Yousuf Philips (jay) (retired) 2014-11-08 11:46:21 UTC
Thanks Maxim for the explanation. For me, its nice when LO has uniformity in its apps, so things act the same between apps and users dont see different behaviours. So what is your take on the issue?
Comment 4 Maxim Monastirsky 2014-11-08 17:52:17 UTC
(In reply to Jay Philips from comment #3)
> So what is your take on the issue?
Well, we might consider using the custom shapes commands in Writer/Calc as well, and move the basic shapes to a dedicated toolbar (for advanced users that care about the underlying ODF), the same way we have "Rectangles" and "Circles and Ovals" toolbars in Impress. But before doing any change, we need to carefully study the pros/cons of basic shapes, to make sure we don't get a bug report saying "Why something X worked with a rectangle in the past, but doesn't work anymore".
Comment 5 Roman Kuznetsov 2015-03-23 10:00:36 UTC
This button does not work in the Draw (for which it is one of the main functions!) in version 4.3.6.2, but it is active in 4.4.2.1!

At the same time using the toolbar buttons 3d-settings disappears, but that's another bug (for 4.4.2.1 and more).

Resume: 
1. confirm bug for LO 4.3.6.2
2. this bug not reproduced in LO 4.4.2.1. Fixed miraculously?
Comment 6 Yousuf Philips (jay) (retired) 2015-10-02 20:30:38 UTC
I fixed this as part of the 5.0 release.