Issue 77237 - New Chart: Testtool can't access OK after switching tabpage
Summary: New Chart: Testtool can't access OK after switching tabpage
Alias: None
Product: General
Classification: Code
Component: chart (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Depends on:
Reported: 2007-05-11 09:43 UTC by oc
Modified: 2013-09-25 20:42 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---

Testtoolscript (2.92 KB, text/plain)
2007-05-11 09:55 UTC, oc
no flags Details
Patch for chart2 to fix this issue (719 bytes, patch)
2007-05-14 16:05 UTC, bjoern.milcke
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description oc 2007-05-11 09:43:07 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
Comment 1 oc 2007-05-11 09:55:13 UTC
Created attachment 45043 [details]
Comment 2 bjoern.milcke 2007-05-11 15:59:55 UTC
active.SetPage TabChartTypeDataSeries
active.SetPage TabChartTypeDataRange
Kontext "DataRangesDLG"
' The dialog does not close in the following line, right?
printlog "DataRangesDLG.Cancel"
Call hCloseDocument
Comment 3 bjoern.milcke 2007-05-14 16:05:21 UTC
Created attachment 45107 [details]
Patch for chart2 to fix this issue
Comment 4 bjoern.milcke 2007-05-14 16:14:37 UTC
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.
Comment 5 bjoern.milcke 2007-09-12 13:03:21 UTC
adapting target
Comment 6 bjoern.milcke 2007-12-07 12:14:40 UTC
No known user problem, workaround in test-tool available => change target
Comment 7 jogi 2008-02-19 14:33:07 UTC
back to me, if fixed, please
Comment 8 jogi 2008-04-21 12:49:18 UTC
Gregor, please have a look at it. Is it a TT or a resource problem of the
Comment 9 gregor.hartmann 2008-05-06 15:18:23 UTC
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
Comment 10 IngridvdM 2008-07-03 11:39:53 UTC
change owner