GNOME Bugzilla – Bug 343880
Need a function to take the window to be the front of the Desktop
Last modified: 2008-09-12 04:48:30 UTC
Need to get the window on the top of Desktop
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.
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.