Created attachment 94827 [details] Dockerfile to reproduce the issue When forwarding Java Swing application to a remote display it takes a considerable amount of time (up to 5 seconds) for GUI popups to show up. I have found that this issue only occurs when remote system has libxinerama1 package installed. I created a dockerfile which setups environment for easy reproduction of this issue. To reproduce: 1. tar xzf xinerama-slow-remote-popup.tar.gz 2. cd xinerama-slow-remote-popup 3. sudo docker build -t x11 . 4. sudo docker run -i -t -p 522:22 x11 /bin/bash 5. service ssh start In the new terminal window: 1. cd xinerama-slow-remote-popup 2. ssh -X -p 522 -i files/home/martynas/.ssh/id_rsa martynas@localhost 3. /opt/jdk1.7.0_51/bin/javac SimpleExample.java 4. /opt/jdk1.7.0_51/bin/java SimpleExample GUI window shows up quite fast. When clicked on the menu bar, popup shows instantly. Now lets install Xinerama and start that program again. In the first terminal window: 1. apt-get install libxinerama1 In the second terminal window: 1. Ctrl + C 2. /opt/jdk1.7.0_51/bin/java SimpleExample It takes much more longer to load. Also when clicked on a menu button not only application window becomes unresponsive, but other windows on the local machine become unresponsive as well. When looking at the Java stack trace during the hiccup, it seems that most of the time is spent in the sun.awt.X11.XlibWrapper.XGetWindowAttributes native java call. However this is as deep as I am able to dig. Any comments, or workaround suggestions?
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/xserver/issues/455.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.