GNOME Bugzilla – Bug 402371
The verifyselect function for combox works invalid.
Last modified: 2007-01-31 03:22:02 UTC
Steps to Reproduce: 1. Open Tasks PIM, invokes a 'Details' dialogbox. 2. ldtp.verifyselect('dlgDetails', 'cboUnfiled', 'Unfiled') 3. ldtp.verifyselect('dlgDetails', 'cboUnfiled', 'Business') Actual Results: Both step 2 and step 3 return 1. Expected Results: 2 will returns 1 but 3 will returns 0
Steps to Reproduce: 1. Open gedit, invokes a 'Open Files...' dialogbox. 2. ldtp.verifyselect('dlgOpenFiles*', 'cboAllFiles', 'AllFiles') 3. ldtp.verifyselect('dlgOpenFiles*', 'cboAllFiles', 'AllTextFiles') Actual Results: Both step 2 and step 3 return 1. Expected Results: 2 will returns 1 but 3 will returns 0
Lavi: Its a bug in gedit (specific to combo box All Files / All Text Files). Its not enabling SPI_STATE_SELECTED. Also bug in LDTP ;) Now fixed it. With the fix in LDTP, it works only for Character Coding combo box, but not for All Files combo box.
Created attachment 81509 [details] [review] Patch to fix verifyselect function to work properly 3rd argument should be 'All Files' or 'All Text Files'. It will not support 'AllTextFiles' or 'AllText*'
Verified in newly CVS. Both of returned value are 0 whatever selected item. ldtp.verifyselect('dlgOpenFiles*', 'cboAllFiles', 'All Text Files') ldtp.verifyselect('dlgOpenFiles*', 'cboAllFiles', 'All Files')
Sorry, Fixed in newly CVS.