Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
totaam opened this issue Jun 2, 2015 · 16 comments
Closed

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

totaam opened this issue Jun 2, 2015 · 16 comments

Comments

@totaam
Copy link
Collaborator

totaam commented Jun 2, 2015

Issue migrated from trac ticket # 881

component: server | priority: major | resolution: worksforme

2015-06-02 13:31:43: duanbw created the issue


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/[email protected]/100
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.

@totaam
Copy link
Collaborator Author

totaam commented Jun 2, 2015

2015-06-02 13:34:47: duanbw uploaded file 0.14.24-with-menu.png (196.0 KiB)

0.14.24 server, menu pops up normally on client.
0.14.24-with-menu.png

@totaam
Copy link
Collaborator Author

totaam commented Jun 2, 2015

2015-06-02 13:37:18: duanbw uploaded file 0.15.0-without-menu.png (199.0 KiB)

0.15.0 server, menu become one pixel
0.15.0-without-menu.png

@totaam
Copy link
Collaborator Author

totaam commented Jun 2, 2015

2015-06-02 13:41:36: duanbw uploaded file logs.tar.gz (329.4 KiB)

Logs of server and information got using xpra info

@totaam
Copy link
Collaborator Author

totaam commented Jun 2, 2015

2015-06-02 13:44:13: duanbw uploaded file menu.tar.gz (1.1 KiB)

The little QML program I wrote for testing.

@totaam
Copy link
Collaborator Author

totaam commented Jun 2, 2015

2015-06-02 13:47:30: duanbw uploaded file run_menu.sh (0.2 KiB)

The shell script to run my test program.

@totaam
Copy link
Collaborator Author

totaam commented Jun 2, 2015

2015-06-02 13:54:13: duanbw commented


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

@totaam
Copy link
Collaborator Author

totaam commented Jun 2, 2015

2015-06-02 15:02:43: antoine changed status from new to assigned

@totaam
Copy link
Collaborator Author

totaam commented Jun 2, 2015

2015-06-02 15:02:43: antoine commented


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

@totaam
Copy link
Collaborator Author

totaam commented Jun 3, 2015

2015-06-03 03:58:28: duanbw commented


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)

@totaam
Copy link
Collaborator Author

totaam commented Nov 20, 2015

2015-11-20 06:46:14: antoine changed status from assigned to new

@totaam
Copy link
Collaborator Author

totaam commented Nov 20, 2015

2015-11-20 06:46:14: antoine changed owner from antoine to duanbw

@totaam
Copy link
Collaborator Author

totaam commented Nov 20, 2015

2015-11-20 06:46:14: antoine commented


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

@totaam
Copy link
Collaborator Author

totaam commented Nov 20, 2015

2015-11-20 10:48:30: antoine commented


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

@duanbw: does the fix work for you?

@totaam
Copy link
Collaborator Author

totaam commented Dec 5, 2015

2015-12-05 11:27:49: antoine changed status from new to closed

@totaam
Copy link
Collaborator Author

totaam commented Dec 5, 2015

2015-12-05 11:27:49: antoine set resolution to worksforme

@totaam
Copy link
Collaborator Author

totaam commented Dec 5, 2015

2015-12-05 11:27:49: antoine commented


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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant