Export to GitHub

semicomplete - issue #8

window search is too slow


Posted on Aug 13, 2009 by Quick Dog

What steps will reproduce the problem? execute code: time xdotool search --title Mozilla

What is the expected output? What do you see instead? I got time about 0.2 seconds on my system (about 10 applications running).

Please provide any additional information below. I think there should be any option to limit depth of window search

Comment #1

Posted on Aug 13, 2009 by Quick Dog

if --onlyvisible flag passed we could search only visible windows (and do not recurse into subwindows if window invisible) this could save some time also.

Comment #2

Posted on Aug 13, 2009 by Happy Camel

Confirmed that it could stand to be optimized a bit.

Comment #3

Posted on Aug 15, 2009 by Happy Camel

Added --maxdepth option to 'xdotool search'

Release pending.

Comment #4

Posted on Aug 15, 2009 by Happy Camel

New release up: http://semicomplete.googlecode.com/files/xdotool-20090815.tar.gz

Status: Fixed

Labels:
Type-Defect Priority-Medium