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 343880 - Need a function to take the window to be the front of the Desktop
Need a function to take the window to be the front of the Desktop
Status: RESOLVED FIXED
Product: LDTP
Classification: Other
Component: general
0.4.x
Other All
: Normal enhancement
: ---
Assigned To: LDTP maintainers
LDTP Development Mailing List
Depends on: 347481
Blocks:
 
 
Reported: 2006-06-05 08:22 UTC by Alex.Yu
Modified: 2008-09-12 04:48 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Alex.Yu 2006-06-05 08:22:26 UTC
Need to get the window on the top of Desktop
Comment 1 Nagappan Alagappan 2008-01-17 23:51:01 UTC
Could you try grabfocus with window name and component name ?

I tried something like this, grabfocus ('frm*-gedit', 'txt0')

I don't claim, this is the correct one ;) If appropriate you can use this. There is a accessibility bug with grab focus, when its called on a window, it doesn't perform the required action.
Comment 2 Nagappan Alagappan 2008-09-12 04:48:30 UTC
Recently I have implemented to grab focus based on buttons too. I'm able to use it with VMware Workstation automation in Linux. Probably you can try to work around the window manager bug using this.