Open richelbilderbeek opened 8 years ago
My StackOverflow question on this issue
Here is something to try.
With aa6f1573694ed397252f11e3ab55264b32ebc361 I got this:
This looks like an improvement:
$ wmctrl -m
Name: Metacity
Class: N/A
PID: N/A
Window manager's "showing the desktop" mode: N/A
The command "wmctrl -m" exited with 0.
Also these:
$ DISPLAY=:99; wmctrl -l
0x00800003 0 testing-gce-5c0b2b54-b2df-4391-91d0-765ef5ac7787 (Untitled)
The command "DISPLAY=:99; wmctrl -l" exited with 0.
0.01s$ DISPLAY=:99.0; wmctrl -l
0x00800003 0 testing-gce-5c0b2b54-b2df-4391-91d0-765ef5ac7787 (Untitled)
** (gedit:20340): WARNING **: Could not load theme icon gtk-home: Icon 'gtk-home' not present in theme
The command "DISPLAY=:99.0; wmctrl -l" exited with 0.```
I am willing to offer a bounty to solve this problem.
This is a reproduction of the problem:
Build the testing application:
cd minimal_project
qmake
make
Running the tests:
./minimal_project.sh
On my local computer this is:
Starting the application
Check if the dialog can be found
Close the dialog using ALT-F4
0
Starting the application again
Close the dialog by setting the mouse at the closing glyph and clicking
On Travis CI this is:
Starting the application
Window manager warning: Invalid WM_TRANSIENT_FOR window 0x800004 specified for 0x800002 (Dialog).
Check if the dialog can be found
Close the dialog using ALT-F4
Window manager warning: Received a NET_CURRENT_DESKTOP message from a broken (outdated) client who sent a 0 timestamp
Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x800002 (Dialog)
Window manager warning: meta_window_activate called by a pager with a 0 timestamp; the pager needs to be fixed.
Starting the application again
Window manager warning: Invalid WM_TRANSIENT_FOR window 0x800004 specified for 0x800002 (Dialog).
Close the dialog by setting the mouse at the closing glyph and clicking
Window manager warning: Received a NET_CURRENT_DESKTOP message from a broken (outdated) client who sent a 0 timestamp
Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x800002 (Dialog)
Window manager warning: meta_window_activate called by a pager with a 0 timestamp; the pager needs to be fixed.
Window manager warning: Received a NET_CURRENT_DESKTOP message from a broken (outdated) client who sent a 0 timestamp
Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x800002 (Dialog)
Window manager warning: meta_window_activate called by a pager with a 0 timestamp; the pager needs to be fixed.
Starting the application
Window manager warning: Invalid WM_TRANSIENT_FOR window 0x800004 specified for 0x800002 (Dialog).
Check if the dialog can be found
Close the dialog using ALT-F4
Window manager warning: Received a NET_CURRENT_DESKTOP message from a broken (outdated) client who sent a 0 timestamp
Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x800002 (Dialog)
Window manager warning: meta_window_activate called by a pager with a 0 timestamp; the pager needs to be fixed.
0
Starting the application again
Window manager warning: Invalid WM_TRANSIENT_FOR window 0x800004 specified for 0x800002 (Dialog).
Close the dialog by setting the mouse at the closing glyph and clicking
Window manager warning: Received a NET_CURRENT_DESKTOP message from a broken (outdated) client who sent a 0 timestamp
Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x800002 (Dialog)
Window manager warning: meta_window_activate called by a pager with a 0 timestamp; the pager needs to be fixed.
Window manager warning: Received a NET_CURRENT_DESKTOP message from a broken (outdated) client who sent a 0 timestamp
Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x800002 (Dialog)
Window manager warning: meta_window_activate called by a pager with a 0 timestamp; the pager needs to be fixed.
The problem is that minimal_application
is not closed by the mouse button. I will add a better test to detect this more clearly for my collaborators.
Could you add Jan?
Added @janderkkotlarski :sunglasses:
Vet cool
On Tue, Nov 8, 2016, 10:12 AM Richel Bilderbeek notifications@github.com wrote:
Added @janderkkotlarski https://github.com/janderkkotlarski 😎
— You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub https://github.com/richelbilderbeek/testing_cpp_gui_applications_tutorial/issues/3#issuecomment-259083957, or mute the thread https://github.com/notifications/unsubscribe-auth/AP5CgSd5x6Vkmg5bfkvk_v-CFotoZ9xnks5q8DzxgaJpZM4IYxN3 .
Solution provided by @jorn600 and Thijs at showing-open-windows-in-travis.
Too bad, clicking and sending key presses does not work :frowning_face:
To solve this issue.
List of X window managers
xfwm4
: failsi3
: fails, givesCannot read temperature
infinitely when starting itwmaker
: fails, cannot get it to startawesome
: TODOmatchbox
: TODOxpra
:sudo apt-get install xpra
thenxpra start 1