PDA

View Full Version : Compiz 0.3.6 released


mikedee
December 31st, 2006, 03:03 PM
This is another 'developer' release.

If you are upgrading from 0.3.4 you must load the png plugin and the svg plugin or the cube caps and skydome will not work.

--use-cow is now enabled by default - please remove it from your startup line
--strict-binding is now default - if you want to use the old method, please specify --loose-binding
--indirect-rendering should now be autodetected, you may not need it anymore.

KDE users can now use kde-window-decorator instead of gtk-window-decorator to have KDE window decorations :)

Packages should be upgraded soon, but obviously allow a few more days because of the holidays :)

Happy new year!

Changes since 0.3.4:

* Core

Add support for unredirect of fullscreen windows when using
the composite overlay window and make usage of the
composite overlay window for output default.

Add file notification API.


* New Plugins

Inotify plugin:

Implements file notification API using inotify.


* Updated Plugins


Dbus plugin:
A "GetPlugins" method has been added and it can be
used to retrieve a list of available plugins.

A 'GetPluginMetadata' method has been added and
it returns metadata for available plugins.

Switcher plugin:
Add support for switching between windows without
having the thumbnail window show up.
Thumbnails now include decorations and shadows.

Scale plugin:
Basic drag and drop support.

It's now possible to initiate scale mode for
specific window groups.

* GTK

Add window menu icon support.
Improved support for metacity themes.


* KDE

Add KDE window decorator with support for shadows and opacity.


Availability

http://xorg.freedesktop.org/archive/individual/app/compiz-0.3.6.tar.bz2
http://xorg.freedesktop.org/archive/individual/app/compiz-0.3.6.tar.gz

Git tag: compiz-0.3.6 (28750174b17d7c9ee637876dbe7944d4a60a8c08)

MD5 Sums:
d6aaa993c38ef0e88571ae3cd96e5044 compiz-0.3.6.tar.gz
260b03fc9ae62ff1ad4e8c5e92d56180 compiz-0.3.6.tar.bz2

SHA1 Sums:
9c5cb1065a9732b519b0c7b932f1213891d45d2e compiz-0.3.6.tar.gz
5deca0d7a426aef4d2a854b7efbf6ff44c7752f8 compiz-0.3.6.tar.bz2

RYX
December 31st, 2006, 03:56 PM
Thanks for the info, mikedee. And thanks David for this late christmas gift!

I just tried it and the gtk-decorator seems to have a bug (though metacity-themes look better and the buttons are now placed well)). I don't know what exactly I did, I think I heavily scaled a window for a while. Now the decoration is not responding to clicks and the buttons are completely missing (before that, they froze for a while and simply didn't respond anymore). The problem remains for newly opened windows until the decorator is killed and restarted (launching with --replace doesn't work).

So if someone can confirm this problem, maybe we should file a bug ... next year ;).

Happy new year everyone!

:)

wfarr
December 31st, 2006, 05:38 PM
RYX - I've also seen that a couple times on 0.35git version that gandalfn had been using in his feisty repos.


Edit:Hmm... I'm having some issues building this. :/

if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libwnck-1.0 -I/usr/include/metacity-1 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -DORBIT2=1 -pthread -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -MT gtk-window-decorator.o -MD -MP -MF ".deps/gtk-window-decorator.Tpo" -c -o gtk-window-decorator.o gtk-window-decorator.c; \
then mv -f ".deps/gtk-window-decorator.Tpo" ".deps/gtk-window-decorator.Po"; else rm -f ".deps/gtk-window-decorator.Tpo"; exit 1; fi
gtk-window-decorator.c:48:23: error: dbus/dbus.h: No such file or directory
gtk-window-decorator.c:49:37: error: dbus/dbus-glib-lowlevel.h: No such file or directory
xmake[3]: *** [gtk-window-decorator.o] Error 1
make[3]: Leaving directory `/home/will/compiz-0.3.6/gtk/window-decorator'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/will/compiz-0.3.6/gtk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/will/compiz-0.3.6'
make: *** [all] Error 2


I've got all the dependencies. :?

mikedee
December 31st, 2006, 06:04 PM
RYX : The decorator not responding to clicks meant it crashed :(

See the message here for info on how to get a useful backtrace from it.

http://lists.freedesktop.org/archives/compiz/2006-December/001068.html

ButteBlues: Do you have dbus-dev installed?

wfarr
December 31st, 2006, 06:09 PM
Yeah, it is.

But 'libdbus-glib-1-dev' wasn't, even though it wasn't raked in by a build-dep or by installing the deps listed in the wiki. If it makes this time, I'll be sure to update the wiki.


EDIT - It maked this time. :) I'll update the wiki then.

RYX
January 1st, 2007, 02:53 PM
Here is a backtrace from gdb. It is a little different from what lowfi posted on the list, but basically the same. I am not very used to gdb so the debugging output isn't really informative to me. It appears to hang somehwere during gtk_main() (which is called in line 6112).
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb76097cb in poll () from /lib/tls/i686/cmov/libc.so.6
#2 0xb7793b69 in XProcessInternalConnection () from /usr/lib/libX11.so.6
#3 0xb7793f4f in _XRead () from /usr/lib/libX11.so.6
#4 0xb7794924 in _XReply () from /usr/lib/libX11.so.6
#5 0xb778d1e4 in XTranslateCoordinates () from /usr/lib/libX11.so.6
#6 0xb7f54139 in wnck_workspace_get_number () from /usr/lib/libwnck-1.so.18
#7 0xb7f49973 in wnck_gtk_window_set_dock_type ()
from /usr/lib/libwnck-1.so.18
#8 0xb7f5302b in wnck_workspace_get_number () from /usr/lib/libwnck-1.so.18
#9 0xb7a8c021 in gdk_x11_drawable_get_xdisplay ()
from /usr/lib/libgdk-x11-2.0.so.0
#10 0xb7a8d78c in gdk_events_pending () from /usr/lib/libgdk-x11-2.0.so.0
#11 0xb7a8f3bb in _gdk_events_queue () from /usr/lib/libgdk-x11-2.0.so.0
#12 0xb7a8f7bf in _gdk_events_init () from /usr/lib/libgdk-x11-2.0.so.0
#13 0xb76ae802 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#14 0xb76b17df in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#15 0xb76b1b89 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#16 0xb7c06574 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#17 0x080566a2 in main (argc=Cannot access memory at address 0xfffffffc
) at gtk-window-decorator.c:6112

And sadly I had other small problems with this version: the decorator immediately crashed on hovering a button (only seen once) and the scrolling speed is very slow (but only when dragging a scrollbar, not when using the scrollbuttons or the mousewheel).

And maybe we can convince David to put (at least some tiny) comments into the source of libdecoration - function names like decor_set_lSrStXbS_window_quads are a little cryptic (at least if you still don't know what window quads are).

OK, enough of my complains ... happy new year!

:)

mikedee
January 1st, 2007, 03:13 PM
Here is a backtrace from gdb. It is a little different from what lowfi posted on the list, but basically the same. I am not very used to gdb so the debugging output isn't really informative to me. It appears to hang somehwere during gtk_main() (which is called in line 6112).

For your info, backtraces read from the bottom up. The crash looks like it was related to wnck passing some dodgy info on to xlib which crashed (its hard to tell because there are no debugging symbols).

And sadly I had other small problems with this version: the decorator immediately crashed on hovering a button (only seen once)

You can start gwd under gdb like this.

gdb gtk-window-decorator
(gdb) run --replace

When it crashes type 'bt' to get the backtrace. You can enable debugging symbols by compiling with --enable-debug - this will help a lot.

the scrolling speed is very slow (but only when dragging a scrollbar, not when using the scrollbuttons or the mousewheel).

Dont think this is related to the window decorator. If you removed the --indirect-rendering, put it back in. It was much slower for me without it.

And maybe we can convince David to put (at least some tiny) comments into the source of libdecoration - function names like decor_set_lSrStXbS_window_quads are a little cryptic (at least if you still don't know what window quads are).

:D - Good luck with that one

I think quads are actually another name for rectangles. I haven't looked into it too deeply, but from experience its just a case of different terminology.

RYX
January 1st, 2007, 05:55 PM
Thanks for your suggestions. I'll compile with debug-option to get a better backtrace. Reading from bottom to top is quite uncommon but really makes more sense in this case ... :)

And re-adding "--indirect-rendering" to the commandline solved the scrolling problem (actually it seems much smoother than ever before) - thanks again.

:)