xtaran / amora-test3

Automatically exported from code.google.com/p/amora
0 stars 0 forks source link

Screenshot fails when using metacity #17

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
My desktop uses Compiz/Beryl as window manager and screenshots from active
windows works great.

But when I swap back to Metacity, it fails.

Step
1. Open a desktop with metacity
2. Open amora server
3. Connect with client
4. Ask for a screenshot.

The screenshot will have the color of window decoration (brown for 'Human
theme' and blue for Nuvola theme).

Is almost like the window manager reported the current window attribute
with wrong size.

The bug probably is within screen_capture function (imscreen.c) in line
"tmp = XGetWindowAttributes(display, window, &window_attr);"

Original issue reported on code.google.com by cavalcan...@gmail.com on 31 Aug 2007 at 1:47

GoogleCodeExporter commented 9 years ago
Window managers known to work: blackbox, fluxbox.

Window managers affected: Metacity, XFCE.

Original comment by cavalcan...@gmail.com on 31 Aug 2007 at 2:12

GoogleCodeExporter commented 9 years ago
Tested KDE, only KDE's based applications works fine. GTK's based one fails.

Original comment by cavalcan...@gmail.com on 31 Aug 2007 at 6:33

GoogleCodeExporter commented 9 years ago
I just sent a message for GTK devel mailing list, hoping for the best.
http://mail.gnome.org/archives/gtk-devel-list/2007-September/msg00011.html

Original comment by cavalcan...@gmail.com on 3 Sep 2007 at 3:26

GoogleCodeExporter commented 9 years ago
Commit number r200 (eh, a quite symbolic number, hum?) fixed the issue.

Tested successfully in Ubuntu 7.04.

Original comment by cavalcan...@gmail.com on 4 Sep 2007 at 4:31