After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 599119 - checkrow action fails on table row
checkrow action fails on table row
Status: RESOLVED FIXED
Product: LDTP
Classification: Other
Component: ldtp
1.7.0
Other Linux
: Normal normal
: ---
Assigned To: Nagappan Alagappan
LDTP Development Mailing List
Depends on:
Blocks:
 
 
Reported: 2009-10-20 21:18 UTC by Adam Collard
Modified: 2009-10-22 05:02 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Python script to reproduce bug (Traceback with "Check action failed") (1.31 KB, text/x-python)
2009-10-20 22:34 UTC, Adam Collard
  Details
Fixes the bug (1.59 KB, patch)
2009-10-20 23:08 UTC, Nagappan Alagappan
committed Details | Review
Patch to fix similar problems with uncheck_row for both table and tree table roles (952 bytes, patch)
2009-10-21 18:31 UTC, Adam Collard
committed Details | Review

Description Adam Collard 2009-10-20 21:18:55 UTC
Much like https://bugzilla.gnome.org/show_bug.cgi?id=587456, checking a checkbox in gtk.Table cell does not work due to the guard added in http://cgit.freedesktop.org/ldtp/ldtp/commit/?id=aafafcb08aab6adba570a7e0d9bb3b4d39a8c6f4

It seems that #587456 fixed tree-table.c but not table.c
Comment 1 Adam Collard 2009-10-20 21:49:13 UTC
Am having trouble reproducing the problem with a minimal test case, looks like it's not as simple as I first thought. Will aim to add a minimal test case by end of day tomorrow.
Comment 2 Adam Collard 2009-10-20 22:34:31 UTC
Created attachment 145902 [details]
Python script to reproduce bug (Traceback with "Check action failed")
Comment 3 Adam Collard 2009-10-20 22:36:07 UTC
Traceback (most recent call last):
  • File "ldtp_checkrow_bug.py", line 43 in <module>
    do_ldtp()
  • File "ldtp_checkrow_bug.py", line 12 in do_ldtp
    app.checkrow("tblTV", 0, 1)
  • File "/usr/lib/pymodules/python2.6/ooldtp.py", line 754 in checkrow
    return ldtp.checkrow (self.__window, args [0], args [1], args [2])
  • File "/usr/lib/pymodules/python2.6/ldtp.py", line 2912 in checkrow
    raise LdtpExecutionError (_responseStatus [1])
ldtplib.ldtplibutils.LdtpExecutionError: u'Check action failed'


Note, you have to have GTK_MODULES=gail:atk-bridge in your environment (i.e. Enable assistive technologies)
Comment 4 Nagappan Alagappan 2009-10-20 23:08:20 UTC
Created attachment 145904 [details] [review]
Fixes the bug
Comment 5 Adam Collard 2009-10-21 18:31:36 UTC
Created attachment 145971 [details] [review]
Patch to fix similar problems with uncheck_row for both table and tree table roles
Comment 6 Nagappan Alagappan 2009-10-22 05:02:23 UTC
Review of attachment 145971 [details] [review]:

Thanks for the patch. This works fine with LDTPv2. FYI.