Xpra: Ticket #881: Pop-up menu of Qt5 QML running with VirtualGL becomes 1x1 pixels

I don't know if this is a bug of Xpra or I made the wrong configuration but programs written in Qt5 QML failed to popup the menu under Xpra. We have a program written with QML and can't be run directly using Xpra because QML uses OpenGL rendering, so I used VirtualGL to handle the OpenGL things, and Xpra as a proxy server to run this program remotely. But when I right click somewhere in the application window where it is supposed to popup a context menu, only a tiny 1x1 pixel below the mouse pointer is shown, but the menu is still functional, I can click the menu region and trigger the action, just like I have an invisible menu. This phenomenon occurs occasionally, not every time. I wrote another quite simple QML application (in attachments as menu.tar.gz) to test, when I click the Click button, a menu is supposed to popup. But this little program needs Qt5 to compile and run. If needed, I could upload the 64bit binary, which is about 25MB with its Qt5 dependencies. I started the server with the command PYTHONPATH=~/xpra-versions/xpra-0.15.0/install/lib64/python ~/xpra-versions/xpra-0.15.0/install/bin/xpra start :100 --start-child=$HOME/run_menu.sh --exit-with-children --debug=all And on the client I attach with the command xpra attach ssh/dgy@ I am using Xpra version 0.15.0 downloaded from the snapshots, revision 9556 I think. I build xpra from source using the following command: python setup.py install --home=install VirtualGL I use is version 2.4. Qt 5.1.1. And I also tested with 0.14.24(revision 9443) and it works fine though occasionally the menu becomes 1x1 too, but not so often to be unusable.

Tue, 02 Jun 2015 12:34:47 GMT - duanbw: attachment set

0.14.24 server, menu pops up normally on client.

Tue, 02 Jun 2015 12:37:17 GMT - duanbw: attachment set

0.15.0 server, menu become one pixel

Tue, 02 Jun 2015 12:41:36 GMT - duanbw: attachment set

Logs of server and information got using xpra info

Tue, 02 Jun 2015 12:44:13 GMT - duanbw: attachment set

The little QML program I wrote for testing.

Tue, 02 Jun 2015 12:47:30 GMT - duanbw: attachment set

The shell script to run my test program.

Tue, 02 Jun 2015 12:54:13 GMT - duanbw:

The server machine:

uname -a
Linux localhost.localdomain 3.6.10-4.fc18.x86_64 #1 SMP Tue Dec 11 18:01:27 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

The client machine:

uname -a
Linux developer.centos 3.10.0-123.el7.x86_64 #1 SMP Mon Jun 30 12:09:22 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

Tue, 02 Jun 2015 14:02:43 GMT - Antoine Martin: status changed

This sounds like a duplicate of #846. Thanks for the test application, it will make it much easier to test and fix this issue.

Wed, 03 Jun 2015 02:58:28 GMT - duanbw:

I don't know if you could access this website but I am really sorry that I don't have access to any file sharing sites I know outside the country. This is the 64bit binary of the test application and its dependencies, about 25MB in size. Hopefully it could make things easier. http://pan.baidu.com/s/1i3DzVKx (This site doesn't seem to support English, but the download button should be easy to recognize by its icon)

Fri, 20 Nov 2015 06:46:13 GMT - Antoine Martin: owner, status changed

@duanbw: how do I build the example app? There is no makefile..

Fri, 20 Nov 2015 10:48:29 GMT - Antoine Martin:

Assuming that this is the same problem as #846, this should now be fixed, see ticket:846#comment:9

@duanbw: does the fix work for you?

Sat, 05 Dec 2015 11:27:48 GMT - Antoine Martin: status changed; resolution set

Not heard back, closing. Feel free to re-open if this is still a problem.

Sat, 23 Jan 2021 05:08:42 GMT - migration script:

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/881