Apache OpenOffice (AOO) Bugzilla – Issue 68216
DrawViewShell::GetMenuState shouldn't rely on non-documented toolbar controller implementation detail
Last modified: 2017-05-20 10:47:30 UTC
The current implementation of DrawViewShell::GetMenuState doesn't really provide status information for all slots for all scenarios. The implementation relies on the fact that the toolbar controller interpret a SfxVoidItem on a checked button as a "please uncheck" status. Currently the toolbar uses this interpretation. As this behavior is undocumented and questionable DrawViewShell::GetMenuState() should send correct state information for all scenarios. At least the following slots need a defined status (it's possible that this list is not complete!): - SID_OBJECT_SELECT - SID_ATTR_CHAR - SID_DRAW_LINE - SID_DRAW_RECT - SID_DRAW_ELLIPSE - SID_DRAWTBX_ARROWS - SID_LINE_ARROW_END - SID_DRAWTBX_3D_OBJECTS - SID_3D_CUBE - SID_3D_SPHERE - SID_3D_CYLINDER - SID_3D_CONE - SID_3D_CYRAMID - SID_3D_TORUS - SID_3D_SHELL - SID_3D_HALFSPHERE
cd: Set correct version.
set target from 2.x to 3.x according http://wiki.services.openoffice.org/wiki/Target_3x
Reset assigne to the default "issues@openoffice.apache.org".