Bug 94290

Summary: Z axis checkboxes stay disabled when 3d chart is enabled
Product: LibreOffice Reporter: Yousuf Philips (jay) (retired) <philipz85>
Component: ChartAssignee: Markus Mohrhard <markus.mohrhard>
Status: RESOLVED FIXED    
Severity: normal CC: h3734236
Priority: medium    
Version: 5.1.0.0.alpha0+ Master   
Hardware: Other   
OS: All   
Whiteboard: target:5.1.0
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 91063    

Description Yousuf Philips (jay) (retired) 2015-09-16 21:52:08 UTC
Open a 3d chart in edit mode and the Z axis and Z axis title checkboxes in the Elements content panel are still disabled.

Version: 5.1.0.0.alpha1+
Build ID: 2639eadce4c9ccead9112a6893b5e9e2e0fefd78
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2015-09-14_23:56:58
Locale: en-US (en_US.UTF-8)
Comment 1 Markus Mohrhard 2015-09-20 16:39:43 UTC
Can you show me such a document? There are different kinds of 3D charts and not all support z axis elements.
Comment 2 Yousuf Philips (jay) (retired) 2015-09-20 23:02:39 UTC
Steps:
1) Open Writer
2) Insert Chart
3) Open chart type dialog and check 3d look
4) Z axis and Z axis title checkboxes are disable, though Z axis checkbox is checked
5) Exiting and re-entering chart edit mode wont make the checkboxes enable
Comment 3 Markus Mohrhard 2015-09-21 00:13:56 UTC
Ok, this is actually most likely the correct behavior.

The chart has actually a useless z-axis that you can not influence. If it is there or not does not make a difference. However the model correctly reports that the axis is there. Now if you go to a real 3D chart and not just a chart with 3D looks the checkboxes are also enabled.
Comment 4 Commit Notification 2015-09-27 05:55:45 UTC
Markus Mohrhard committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=9d31c61103e91ecd4e24d9fb7838f49481ac2f0f

enable z axis objects when changing chart type, tdf#94290

It will be available in 5.1.0.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds
Affected users are encouraged to test the fix and report feedback.