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 346739 - keyboard functionality is not implemented in button
keyboard functionality is not implemented in button
Status: RESOLVED FIXED
Product: LDTP
Classification: Other
Component: ldtp
0.4.x
Other opensolaris
: Normal normal
: ---
Assigned To: Prashanth Mohan
LDTP Development Mailing List
Depends on:
Blocks:
 
 
Reported: 2006-07-06 09:25 UTC by Tim Miao
Modified: 2006-07-24 09:09 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14


Attachments
Patch for enterstring in push button and toggle button (1.26 KB, patch)
2006-07-06 11:01 UTC, Harishankaran
committed Details | Review

Description Tim Miao 2006-07-06 09:25:03 UTC
Enterstring can not drive the toggle button.

Steps to reproduce:
1. Launch GOK.
2. try "enterstring ('frmGOK-main','tbtnGOK','<enter>')"

Expected result:
Toggle button GOK should be pressed.

Actual result:
This functionality is not implemented, it return error message "Requested action on mentioned object is not implemented".

Additional info:
I could reproduce this with Solaris Nevada_43.
Comment 1 Nagappan Alagappan 2006-07-06 09:28:50 UTC
Its also reproducable in SuSE Linux Enterprise Desktop 10. Confriming the bug.
Comment 2 Tim Miao 2006-07-06 09:35:35 UTC
I checked this bug with buttons, it doesn't work either. Changing the summary.
Comment 3 Harishankaran 2006-07-06 11:01:54 UTC
Created attachment 68459 [details] [review]
Patch for enterstring in push button and toggle button

Actually  enterstring to produce a keyboard enter is this way 
enterstring ('frmGOK-main','tbtnGOK','<return>')
Notice the third argument is return and not enter 

The patch would enable the enterstring for push button and toggle button , but for the enterstring to work properly , the window must be the current working window .
So enterstring wont work on window hidden by some other window on top
Comment 4 Nagappan Alagappan 2006-07-06 11:16:19 UTC
Hari: This patch looks fine. Please commit it.