GNOME Bugzilla – Bug 547541
gettextvalue in ooldtp is passing one extra argument
Last modified: 2008-08-13 13:07:42 UTC
Please describe the problem: In ooldtp.py gettextvalue is passing one more argument to ldtp.gettextvalue. If you have a text component and want to get the text value, you would do: textcomponent = mywindow.getchild('txt0') mytext = textcomponent.gettextvalue() That would raise an exception: Min 1 argument required That is not true, as the minimum arguments for ldtp.gettextvalue are only the context and the component name, which we already have. Moreover, if you try to pass a fake argument to it, it raise another exception:
+ Trace 205072
return ldtp.gettextvalue (self.__window, name, textProperty, startPosition, endPosition)
Steps to reproduce: Actual results: Expected results: Does this happen every time? Yes Other information:
Thanks for the bug report. Fix is in GIT.