Closed totaam closed 1 month ago
Does not occur with xpra 5.x! So this is a regression.
git bisect
landed on the wrong commits, twice! Perhaps I was not cleaning the source tree well enough before rebuilding. So I did by hand..
e3b595a231a01d41ec139bbb79fe6eb994c26e53 bad 72b4f11d0e2ad1ed4bfb0ade3c129f215d20d3a0 good ef665e2c2cab018778eec746d2330c0a9dbb56b9 good 4831c639c6ff2a11944100a9560562150e203931 good c7b12a61d8aa9b9fa9900c9fce13183d21e293fd bad a5ac22abb49cf738eefd7e2b6f65516cca84640a good
So c7b12a61d8aa9b9fa9900c9fce13183d21e293fd is to blame!? How!?
What a very strange bug! It took a lot of effort to narrow it down, moving files around in both directions, and rebuilding fully every time to prevent cythonized files from squeezing in the way, I found that this one line introduces the bug:
toggle_packages(gtk_x11_ENABLED, "xpra.x11.gtk")
Importing Gtk
and Gdk
from the module init file causes the bug!?
What on earth does this have to do with dbus and ATK!?
We already try our best to silence this stuff: https://github.com/Xpra-org/xpra/blob/c6a040f7b6bee296e9576c7b2e8b20dbe153ee8e/xpra/platform/posix/features.py#L14-L16 But unfortunately, it seems to be happening somewhere else now:
This happens with:
But not with:
So something
dbus-launch
does triggers it. It seems to create a bunch of/usr/bin/dbus-broker-launch --config-file=/usr/share/defaults/at-spi2/accessibility.conf --scope user
processes we never asked for. And looking at this config file is not pleasant - basically anyone is allowed to do anything!?:Is this what does it?
Who knows.
RedHat bug AT-SPI: Could not obtain desktop path or name Gnome bug atk-bridge: get_device_events_reply: unknown signature