richelbilderbeek / testing_cpp_gui_applications_tutorial

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

xlsclients does not detect select_class #7

Closed richelbilderbeek closed 7 years ago

richelbilderbeek commented 7 years ago

Before:

richel@lubuntu-laptop-rotterdam:~/GitHubs/testing_cpp_gui_applications_tutorial/select_class$ xlsclients -l | egrep "Class:" | wc
     13      26     591

Run:

richel@lubuntu-laptop-rotterdam:~/GitHubs/testing_cpp_gui_applications_tutorial/select_class$ ./select_class &
[3] 8060

After:

richel@lubuntu-laptop-rotterdam:~/GitHubs/testing_cpp_gui_applications_tutorial/select_class$ xlsclients -l | egrep "Class:" | wc
     13      26     591
richelbilderbeek commented 7 years ago

OTOH, it does detect minimal application:

Applications after:
Window 0x2000002:
  Machine:  testing-gce-96e4d8ed-ad63-4987-bf0e-e151deedfa0f
  Name:  Dialog
  Command:  ./minimal_project
  Instance/Class:  minimal_project/Minimal_project
richelbilderbeek commented 7 years ago

Nah, it does detect both applications. I've updated get_dialog_id and documented it there.