Apache OpenOffice (AOO) Bugzilla – Issue 35900
some slots in chart are not working
Last modified: 2013-02-24 21:20:28 UTC
In m55 all worked fine, in m56 not anymore. running the following script fails on calling e.g the slot FormatAxisYAxis, which is mapped to an ID, but also changing to .uno:DiagramAxisY doesn't resolv the issue. I also tried to activate chart by hand and try to call the slot - no change. Looks like no slot from the chart menu Format or Insert works. sub main tchart end sub sub LoadIncludeFiles use "global\system\inc\master.inc" use "global\system\inc\gvariabl.inc" gApplication = "calc" Call GetUseFiles end sub testcase tchart hNewDocument() sleep 2 insertChartCalc kontext "AutoFormatDiagrammBeginn" if AutoFormatDiagrammBeginn.exists(5) then printlog "insertchartcalc worked" endif Fertigstellen.Click sleep 5 ' one escape to deactivate chart gMouseClick(99,99) sleep 1 'click into chart, to select it again gMouseClick(20,10) sleep 1 try editobjectedit catch warnlog "editobjectedit couldn't run, because object wasn't selected?" endcatch sleep 1 ' try FormatAxisYAxis ' catch ' warnlog "chart wasn't activated?" ' endcatch hCloseDocument() endcase
.
Please hav a look on this bug, MBA will tell you more about it. The source part that trues to find a valid dispatcher is located in automation/source/server/statemnt.cxx around line 700 Note: if you translate with/without debug=1 then you will have to translate all of automation/source/server/
Confirmed. I'm able to reproduce the problem.
fixed.
Thorsten, please verify the fix.
verified on linux with testcase 'chart_types'
reopned for assinging
for verifikation in master, since the intention came from you
Automatic test do not find any issue anymore -> closing