richelbilderbeek / testing_cpp_gui_applications_tutorial

Tutorial about testing C++ GUI applications
GNU General Public License v3.0
3 stars 0 forks source link

xdotool cannot find Qt application window, where wmctrl can #1

Closed richelbilderbeek closed 8 years ago

richelbilderbeek commented 8 years ago

Posted this on Stack Overflow:

I want to detect a Qt5 QWidgets application from its window title using xdotool to test the GUI under GNU/Windows with the latest Xubuntu LTS distro.

When I create any minimal Qt application, with wmctrl -l I can detect it, with xdotool it cannot be found, as shown in this screenshot:

so

Does anybody have a good experience with using xdotool on Qt QWidget applications, without using tricks like grepping through the wmctrl scripts?

AFAIKS, I am not the only one that has problems with this combination.

richelbilderbeek commented 8 years ago

Some days later (presumably after an update), xdotool works as expected.