richelbilderbeek / testing_cpp_gui_applications_tutorial

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

Cannot close dialog of minimal_project on Travis? #11

Open richelbilderbeek opened 7 years ago

richelbilderbeek commented 7 years ago

From the Travis log, I read

7.11s$ ./minimal_project_test_complete

...

Starting the application
Applications after:
Window 0x200002:
  Machine:  testing-gce-b5e39efe-0e3b-46e7-8a55-f1aead35160e
  Name:  Dialog
  Command:  ./minimal_project
  Instance/Class:  minimal_project/Minimal_project

...

Close the dialog using ALT-F4
Your windowmanager claims not to support _NET_ACTIVE_WINDOW, so the attempt to activate the window was aborted.
xdo_window_activate on window:2097154 reported an error
Check if the dialog is closed
Error: dialog should be closed
richelbilderbeek commented 7 years ago

It does work for leafpad on Travis:

3.02s$ ./close_first_dialog_test
OK: could not close absent window
Xlib:  extension "RANDR" missing on display ":99.0".
Your windowmanager claims not to support _NET_ACTIVE_WINDOW, so the attempt to activate the window was aborted.
xdo_window_activate on window:2097153 reported an error
OK: closed leafpad window
richelbilderbeek commented 7 years ago

OK: Windows manager does not support _NET_ACTIVE_WINDOW, according to https://cygwin.com/ml/cygwin-xfree/2009-10/msg00075.html