Bug 488208 - Xpra breaks under kwin: context menus of remote applications disappear istantaneously
Summary: Xpra breaks under kwin: context menus of remote applications disappear istant...
Status: REPORTED
Alias: None
Product: kwin
Classification: Plasma
Component: core (show other bugs)
Version: 6.0.5
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-08 13:04 UTC by Sergio
Modified: 2024-06-10 19:07 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergio 2024-06-08 13:04:57 UTC
SUMMARY

Kwin appears to behave differently wrt other window managers with the result of breaking xpra (https://github.com/Xpra-org/xpra), an application for using X11 applications from remote.

I have the following configuration:

Server: Manjaro linux, KDE plasma 6 with wayland session
Client: same

Running xpra 6.0.1 (latest) on both machines.

On the server I start xpra as a server managing the "virtual" display :101. Then I start applications in X11 mode using DISPLAY=:101.  On the client I start xpra to attach to the server.  The xpra client works as a GTK3 application in the wayland session.

Now, I start VirtualBox on the server on the :101 display. The Virtualbox window is correctly shown in the client. However, if I right click to open a contextual menu, the menu opens and disappears immediately, without letting me use it.

I am being told from the xpra developer that this behavior is not experienced on other desktops. See https://github.com/Xpra-org/xpra/issues/4246

STEPS TO REPRODUCE

1. Have 2 hosts
2. Assure that they both run a plasma 6 wayland session 
3. Assure that xpra is installed on both
4. Assure that Virtualbox is installed on one of them that will be the server
5. On the server run `xpra start :101`
6. On the client run `xpra attach ssh://server/101 --start konsole`
7. On the client see a remote konsole from the server appear
8. In the remote konsole type `VirtualBox` to start virtualbox on the server
9. See the Virtualbox window appear on the client
10. Right click on some object in the Virtualbox window to make a context menu appear 

OBSERVED RESULT

See the context menu appear and immediately disappear

EXPECTED RESULT

The context menu should remain visible until it is used or erased.

SOFTWARE/OS VERSIONS

Operating System: Manjaro Linux 
KDE Plasma Version: 6.0.5
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.1
Kernel Version: 6.9.2-1-MANJARO (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Celeron® N4120 CPU @ 1.10GHz
Memory: 5.6 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 600
Manufacturer: CHUWI Innovation And Technology(ShenZhen)co.,Ltd
Product Name: Hi10 X

ADDITIONAL INFORMATION

Tested with a server that is the same configuration but Intel haswell hardware
Also seen with a client that is the same configuration but Zephyrus Rog 14 AMD Ryzen + rembrandt graphics.

Xpra is 6.0.1
Virtualbox is 7.0.18