Unfortunately it's a little more complicated than just which X server
Ubuntu 12.04 contains. If you were to, say, X-forward an application
from an Ubuntu 12.04 machine to a machine with an old server, you could
crash that X server. Ideally, we would patch cairo to specifically
detect the NX agent's X server, but I haven't been able to come up with
a way to do that.

After consulting with Sebastien, I've come up with the attached patch,
which still disables the workaround for buggy repeat, but only for the
specific X version that that the NX agent advertises. While our best
judgement is that the NX agent is likely to be significantly more common
than X-forwarding to an X server from 7 years ago, I'd still like to
limit the scope of the change.

I've uploaded a test build with this patch to my PPA
(http://launchpad.net/~broder/+archive/ubuntu-tests); it should build
and be available shortly. I'll attempt to test it, but if people who
actively use NX could test it as well, that would be appreciated.
Assuming no snags, I'll plan to upload it to the archive in the next few
days.

(In the mean time, I'm going to go ahead and unsubscribe ubuntu-
sponsors, but I'll keep an eye on the bug myself)

** Patch added: "cairo_1.10.2-6.1ubuntu3.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/682338/+attachment/2737941/+files/cairo_1.10.2-6.1ubuntu3.debdiff

** Patch removed: "nx_cairo_1.10.2-6ubuntu3.patch"
   
https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/682338/+attachment/2656561/+files/nx_cairo_1.10.2-6ubuntu3.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/682338

Title:
  GTK programs in Ubuntu 10.10 are sluggish over NX

To manage notifications about this bug go to:
https://bugs.launchpad.net/libcairo/+bug/682338/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to