Docker with rqt problem with black dialog/menu/dropdown
Hi,
I created a docker container based on osrf/ros:kinetic-desktop-xenial
which runs rqt via XServer ( http://wiki.ros.org/docker/Tutorials/... 1. The simple way). I also made my video card (Intel GPU) available via --device=/dev/dri:/dev/dri ( http://wiki.ros.org/docker/Tutorials/... ) which seems to work because rqt and RViz starts and I don't get OpenGL errors.
But sometimes rqt doesn't render the content of widgets like dialog boxes, menu entries and dropdown lists shows only a black window/widget. It happens on my own rqt plugin but also on the rqt main menu (for example the menu entries for Plugins->Visualization are just a black box). I have the same problem on different computers running Linux Mint 18.2 (Cinnamon) and Intel GPU.
Is this a known bug or is there something wrong with my configuration?
Edit:
The content of a QDialog gets visible when I resize the dialog.
Adding --env="QT_X11_NO_MITSHM=1"
doesn't fix the problem.
I came here with the same problem and QT_X11_NO_MITSHM=1 seems to solve the problem for me.