Apache OpenOffice (AOO) Bugzilla – Issue 77237
New Chart: Testtool can't access OK after switching tabpage
Last modified: 2013-09-25 20:42:04 UTC
New spreadsheet, insert a Chart and Format- Data Ranges. The OK and Cancel button is accessible via testtool with DataRangesDLG.OK After switching the tabpages this slot has disappeared (see also attached testscript)
Created attachment 45043 [details] Testtoolscript
active.SetPage TabChartTypeDataSeries active.SetPage TabChartTypeDataRange Kontext "DataRangesDLG" ' ' The dialog does not close in the following line, right? ' DataRangesDLG.Cancel printlog "DataRangesDLG.Cancel" Call hCloseDocument
Created attachment 45107 [details] Patch for chart2 to fix this issue
The output of the "declare.bas" test now is equal when examining the dialog the first time and after switching pages. It starts in both cases with: --551796736: TABDIALOG: Data Ranges chart2:TabPage:TP_RANGECHOOSER --551796736: TABPAGE: Data Range chart2:TabPage:TP_RANGECHOOSER Just noticed, that this is still not ok. The inconsistency is removed, but the HID for the dialog seems to be wrong. So forget about the patch yet. Seems not to be the fix.
adapting target
No known user problem, workaround in test-tool available => change target
back to me, if fixed, please
Gregor, please have a look at it. Is it a TT or a resource problem of the applocation?
tabdialogs always change their HelpID according to the current Tabpage. they don't have their own HelpID. So applying your patch probably is a good Idea as the dialog then is consistent with all other tabdialogs. To oc: You have to add a kontext "Myselectedpabpage" to the script. first to bm, after applying the patch to oc
change owner