-
-
Notifications
You must be signed in to change notification settings - Fork 156
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
VirtualBox context menus disappear #4246
Comments
Works fine on Fedora with Gnome - could be some incompatibility with KDE. |
Don't do that. |
Thanks for the advice, now using |
I didn't think it would. That's a separate issue.
Yes, that's likely. |
Also reported at KDE https://bugs.kde.org/show_bug.cgi?id=488208 |
Seems 100% reproducible for me, so I hope they can check it. |
@callegar they're probably going to say that xpra is at fault. |
Even if it was, which may well not be, I hope they will help by looking into it. |
Issue is actually not limited to VirtualBox. I see a similar behavior with konsole. If I go on the sandwich button and press it, then a menu appears. When I try to show a submenu, the submenu flashes and disappears. At the same time I get messages such as:
|
In any case, forcing the xpra client to work in X11 mode rather than in wayland mode works around the issue. Enough to do |
Works fine here on Fedora + Gnome Shell. The problem comes from this: X11 applications routinely place their windows wherever they like, but Wayland decided to break the vast majority of existing applications by not providing an API for doing that (it does exist, as can be seen when using XWayland). xpra/xpra/client/mixins/windows.py Lines 880 to 893 in 28bc4c6
xpra/xpra/client/mixins/windows.py Lines 871 to 878 in 28bc4c6
And there's only so much guessing we can do without getting it wrong. Perhaps the version of VirtualBox also makes a difference: newer versions are more likely to bend over backwards to try to satisfy all these new Wayland windows relationship restrictions. |
Unfortunately it is not only a VirtualBox problem. The fact that it affects the very default terminal application for KDE (konsole) makes it more serious. Pinging again the Kwin developers... |
Would it be possible/sensible to default to Xwayland on Kwin plasma until this can be addressed? |
It's unlikely to be addressed. |
Describe the bug
Trying to use VirtualBox under xpra. Encountering an issue even before launching the virtual machines. In the main VirtualBox Window, pressing the right mouse button should open a contex menu. Under xpra this context menu cannot be used: it opens and closes automatically before you can even move the mouse on it.
To Reproduce
Steps to reproduce the behavior:
xpra start :101
and then get a terminal on it (e.g.DISPLAY=:101 konsole
)xpra attach ssh://server/101
VirtualBox
See the context menu appearing and disappearing before you can use it.
System Information (please complete the following information):
Additional context
Both client and server use KDE plasma 6 with a wayland session.
The text was updated successfully, but these errors were encountered: