Xpra: Ticket #585: 0.13.x puts new windows on virtual desktop 1

Starting in 0.13.0 and still in 0.13.1, when using multiple virtual desktops new windows are always created on virtual desktop #1. Given that I frequently am using windows on desktops no 2 and no 3 this is a major blow to the usability of xpra.

I have seen this with both 1 and 2 physical monitors connected to my machine. I am using KDE on Ubuntu 12.04.

This looks to be a server side problem as I did not see this when I was using client 0.13.0 with server 0.12.6. Only after I upgraded the server to 0.13.0 did I see this problem.

As requested in the email conversation, here's the client log with -d workspace:

2014-05-26 11:15:03,963 buggy Ubuntu swscale version detected: (2, 1, 0)
2014-05-26 11:15:03,963 cowardly refusing to use it to avoid problems, set the environment variable:
2014-05-26 11:15:03,963 XPRA_FORCE_SWSCALE=1
2014-05-26 11:15:03,963 to use it anyway, at your own risk
2014-05-26 11:15:03,963  cannot import csc_swscale (swscale colorspace conversion): unsupported Ubuntu swscale version: (2, 1, 0)
2014-05-26 11:15:03,966 buggy avcodec version detected: (53, 35, 0)
2014-05-26 11:15:03,966 cowardly refusing to use it to avoid crashes, set the environment variable:
2014-05-26 11:15:03,966 XPRA_FORCE_AVCODEC=1
2014-05-26 11:15:03,966 to use it anyway, at your own risk
2014-05-26 11:15:03,966  cannot import dec_avcodec (avcodec decoder): unsupported avcodec version: (53, 35, 0)
2014-05-26 11:15:03,967  cannot import enc_webm (webp encoder): Could not find webp library from ['libwebp.so.5', 'libwebp.so.4']
2014-05-26 11:15:03,967  cannot import dec_webm (webp encoder): Could not find webp library from ['libwebp.so.5', 'libwebp.so.4']
2014-05-26 11:15:03,982 xpra client version 0.13.0
2014-05-26 11:15:04,009 csc module csc_swscale could not be loaded: unsupported Ubuntu swscale version: (2, 1, 0)
2014-05-26 11:15:04,009 video decoder dec_avcodec could not be loaded: unsupported avcodec version: (53, 35, 0)
2014-05-26 11:15:04,018 OpenGL disabled: Ubuntu 12.04 is too buggy
2014-05-26 11:15:04,158 detected keyboard: rules=evdev, model=pc105, layout=us
2014-05-26 11:15:04,159 desktop size is 3520x1200 with 1 screen(s):
2014-05-26 11:15:04,159   ':0.0' (924x315 mm) workarea: 3407x1200 at 113x0
2014-05-26 11:15:04,159     LVDS1 1600x900 (309x174 mm)
2014-05-26 11:15:04,159     VGA1 1920x1200 at 1600x0 (474x296 mm)
2014-05-26 11:15:04,689 server: Linux Ubuntu 12.04 precise, Xpra version 0.13.0 (r6550)
2014-05-26 11:15:04,693 Attached to ssh:reorx:1 (press Control-C to detach)
2014-05-26 11:15:04,723 init_window(..) workspace=1
2014-05-26 11:15:04,740 init_window(..) workspace=1
2014-05-26 11:15:04,780 ClientWindow(1).set_workspace() workspace=1 ndesktops=4
2014-05-26 11:15:04,782 do_worskpace_changed(<gtk.gdk.Event at 0x2ff7878: GDK_PROPERTY_NOTIFY atom=_NET_WM_DESKTOP>) window/desktop: from (1, -1) to (1, 1)
2014-05-26 11:15:04,782 window was on a different workspace, resetting its batch delay
2014-05-26 11:15:04,788 ClientWindow(2).set_workspace() workspace=1 ndesktops=4
2014-05-26 11:15:04,789 do_worskpace_changed(<gtk.gdk.Event at 0x2ff7878: GDK_PROPERTY_NOTIFY atom=_NET_WM_DESKTOP>) window/desktop: from (1, -1) to (1, 1)
2014-05-26 11:15:04,789 window was on a different workspace, resetting its batch delay
2014-05-26 11:15:09,541 init_window(..) workspace=None
2014-05-26 11:15:09,570 ClientWindow(9).set_workspace() workspace=None ndesktops=4
2014-05-26 11:15:09,570 map event: been_mapped=False, changed workspace from None to 0
2014-05-26 11:15:09,574 do_worskpace_changed(<gtk.gdk.Event at 0x2ff7aa8: GDK_PROPERTY_NOTIFY atom=_NET_WM_DESKTOP>) window/desktop: from (0, -1) to (0, 1)
2014-05-26 11:15:09,575 window is on a different workspace, increasing its batch delay
2014-05-26 11:15:09,584 do_worskpace_changed(<gtk.gdk.Event at 0x2ff7aa8: GDK_PROPERTY_NOTIFY atom=_NET_WM_DESKTOP>) window/desktop: from (0, 1) to (0, 1)
2014-05-26 11:15:14,710 workspace_changed('from <XRootPropWatcher object at 0x3162190 (xpra+x11+xroot_props+XRootPropWatcher at 0x2d58b80)> event',)
2014-05-26 11:15:14,711 do_worskpace_changed(desktop workspace changed) window/desktop: from (1, 1) to (1, 0)
2014-05-26 11:15:14,711 window is on a different workspace, increasing its batch delay
2014-05-26 11:15:14,713 do_worskpace_changed(desktop workspace changed) window/desktop: from (1, 1) to (1, 0)
2014-05-26 11:15:14,713 window is on a different workspace, increasing its batch delay
2014-05-26 11:15:14,714 do_worskpace_changed(desktop workspace changed) window/desktop: from (0, 1) to (0, 0)
2014-05-26 11:15:14,715 window was on a different workspace, resetting its batch delay
2014-05-26 11:15:16,214 workspace_changed('from <XRootPropWatcher object at 0x3162190 (xpra+x11+xroot_props+XRootPropWatcher at 0x2d58b80)> event',)
2014-05-26 11:15:16,215 do_worskpace_changed(desktop workspace changed) window/desktop: from (1, 0) to (1, 1)
2014-05-26 11:15:16,215 window was on a different workspace, resetting its batch delay
2014-05-26 11:15:16,217 do_worskpace_changed(desktop workspace changed) window/desktop: from (1, 0) to (1, 1)
2014-05-26 11:15:16,218 window was on a different workspace, resetting its batch delay
2014-05-26 11:15:16,219 do_worskpace_changed(desktop workspace changed) window/desktop: from (0, 0) to (0, 1)
2014-05-26 11:15:16,219 window is on a different workspace, increasing its batch delay


Fri, 30 May 2014 03:11:42 GMT - Doug Doole: status changed; resolution set

See #586


Fri, 30 May 2014 10:17:42 GMT - Antoine Martin: description changed


Sat, 23 Jan 2021 05:00:06 GMT - migration script:

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