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

0.13.x always puts new windows on virtual desktop #1 #586

Closed
totaam opened this issue May 30, 2014 · 10 comments
Closed

0.13.x always puts new windows on virtual desktop #1 #586

totaam opened this issue May 30, 2014 · 10 comments

Comments

@totaam
Copy link
Collaborator

totaam commented May 30, 2014

Issue migrated from trac ticket # 586

component: server | priority: critical | resolution: fixed

2014-05-30 04:07:54: ddoole created the issue


Since upgrading my server to 0.13.0, all new windows are created on virtual desktop no 1, even if I am currently working in another virtual desktop. I did not see this problem on any 0.12.x builds. I also did not see the problem when I had only upgraded the client (client 0.13.0 and server 0.12.6 was fine). When I upgraded the server (client and server at 0.13.0) then I started seeing the problem.

I am running KDE on Ubuntu 12.04. The problem is not affected by the number of physical monitors attached - I have seen the problem with just my laptop's built-in display and with built-in display plus external monitor.

As requested in email, 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](../commit/88ba59744e5b1264e0fd7ef713fce431e1e39a81))
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

Since I typically use multiple virtual desktops, this pretty much makes 0.13 unusable.

@totaam
Copy link
Collaborator Author

totaam commented May 30, 2014

2014-05-30 04:41:15: antoine changed status from new to assigned

@totaam
Copy link
Collaborator Author

totaam commented May 30, 2014

2014-05-30 04:41:15: antoine edited the issue description

@totaam
Copy link
Collaborator Author

totaam commented May 30, 2014

2014-05-30 18:51:12: pyther commented


I also experience this problem with 0.13.1.

In my case I'm running Archlinux with openbox (window manager). I am not using a desktop environment.

Let me know if there is any information I could provide.

@totaam
Copy link
Collaborator Author

totaam commented May 31, 2014

2014-05-31 02:14:25: totaam commented


I believe r6609 fixes this, will backport soon.

@totaam
Copy link
Collaborator Author

totaam commented Jun 2, 2014

2014-06-02 07:56:49: totaam changed status from assigned to new

@totaam
Copy link
Collaborator Author

totaam commented Jun 2, 2014

2014-06-02 07:56:49: totaam changed owner from antoine to ddoole

@totaam
Copy link
Collaborator Author

totaam commented Jun 2, 2014

2014-06-02 07:56:49: totaam commented


A better fix in r6610 and r6615.

Backports for 0.13.x were in 6617, was released as part of the 0.13.2 release.
Can I close this ticket?

@totaam
Copy link
Collaborator Author

totaam commented Jun 2, 2014

2014-06-02 13:15:46: ddoole changed status from new to closed

@totaam
Copy link
Collaborator Author

totaam commented Jun 2, 2014

2014-06-02 13:15:46: ddoole changed resolution from ** to fixed

@totaam
Copy link
Collaborator Author

totaam commented Jun 2, 2014

2014-06-02 13:15:46: ddoole commented


Windows are now appearing on the proper virtual desktop for me.

Thanks for the quick fix.

@totaam totaam closed this as completed Jun 2, 2014
@totaam totaam added the v0.13.x label Jan 22, 2021
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