OK I've finally managed to fix the window decoration bugs as they relate to the top bar and appmenu.
These were disappearing window decoration on window restore and top window decoration still present on maximise instead of it snapping into the top appmenu bar.

I'll commit a fix ASAP but you can apply the fix yourself in the meantime.

For unity-2d, open up gconf-editor as your desktop user and disable the following key:

Code:

/apps/metacity/general/show_maximized_titlebars

For unity (3d), open up ccsm as your desktop user and go to 'Effects > Window Decoration'.
Where it says 'any' in the 'Decoration Windows' dialog box, change it to:

do you already have a working unity-greeter in that overlay? I checked yesterday and couldn't find it. So i went ahead and got experimental.. So far it seems to work (after i figured out the switched to gsettings instead of a config-file). It's basically working, but i couldn't check the indicator-stuff since i haven't gotten around to figuring that mess out.

For unity (3d), open up ccsm as your desktop user and go to 'Effects > Window Decoration'.
Where it says 'any' in the 'Decoration Windows' dialog box, change it to:

Code:

!state=maxvert

(in unity3d) It doesn't work

Does unity-3d work at all ?
Is it just the window decoration not disappearing on maximise ?
You shouldn't have to set this yourself now anyway as it gets applied within the source as a default setting for the decor compiz plugin.
Same goes for unity2d, it auto sets the needed gconf key for metacity.

Aquous, is the patch failing to download or is the patch failing to apply ?
Can you provide some terminal output showing how it fails.

Does unity-3d work at all ?
Is it just the window decoration not disappearing on maximise ?
You shouldn't have to set this yourself now anyway as it gets applied within the source as a default setting for the decor compiz plugin.
Same goes for unity2d, it auto sets the needed gconf key for metacity.
.

Unity works (5.14) well, but these decoration bug is really to bad for me (i have to hold alt and drag the window every time i restore it, because it is wrong placed...)

I created new user, and ccsm is already correctly configured, i don't change anything, but it doesn't work...

shiznix wrote:

I was also experiencing some problems with it.
Graphics glitches in the lens overlay that would strangely clean itself once the screen was toggled to 'Show Desktop' and back again.

I've made a lot of progress with my system. Most importantly, I've got unity-base/unity to merge
The bugs I reported have all been fixed now, except for the fact that qt-gui still fails to compile with USE=-accessibility.

I have one small new bug to report: the dependencies for unity-base/unity-webapps are not complete yet:

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

You need to depend on app-admin/packagekit-gtk and dev-libs/libindicate[gtk].

Also, I've noticed a bug in Unity itself: unmaximized windows have their coordinates set to (0,0) by default - meaning that any non-fullscreen window will by default be positioned $(unity dock width) pixels too far to the left and $(unity top bar height) pixels too far to the top.

Also, I've noticed a bug in Unity itself: unmaximized windows have their coordinates set to (0,0) by default - meaning that any non-fullscreen window will by default be positioned $(unity dock width) pixels too far to the left and $(unity top bar height) pixels too far to the top.
edit: also, the clock does not respect my time zone settings.

Thanks for all the work you do!

In a previous post i said: "Unity works (5.14) well, but these decoration bug is really to bad
for me (i have to hold alt and drag the window every time i restore it, because it is wrong placed...)"

So, it is the same bug that you are getting (windows positioned at 0,0 by default) ! Maybe disabling the "put" plugin in compiz solves it, but i cannot do it (if i change most of the plugins in ccsm, compiz crashes...)

The bugs I reported have all been fixed now, except for the fact that qt-gui still fails to compile with USE=-accessibility.

USE=-accessibility is not an option, the QT patchset has some specific accessibility code for unity2d source requires it.
I've added x11-libs/qt-declarative[accessibility] as a dep. for unity-base/unity2d.
The QT set of ebuilds require 'accessibility' be set globally to the same state for all QT ebuilds, so qt-declarative[accessibility] will also pull in qt-gui[accessibility] as a requirement (or complain hard to the user to fix their package.use).

Haven't made any progress on the wrong window placement bug, aside from seeing that the problem has been a bunch of Unity bugs for some time now

6 = SOLVED, now unity2d works like a charm (i'm leraning to like it...), the alt + F2 shortcut works now (i don't now why, but it is working!).. The only thing is boring me is the "fallback" window buttons (close, minimize, maximize) in panel, instead of themed buttons.

4 = solved (now windows always fit to panel, thank you for fix it)

2, 3, 5 = no way

qt apps are also wrong placed, not 0,0, but wrong placed... they start maximized, correctly positioned, but when i restore it, then it gets wrong positioned (not 0,0, but a bit inside my 32px panel)...

Your item 5 with buttons disappearing is due to the window being unmaximised but the top of the window is hidden behind the top panel.
Again this falls back to wrong window placement.

Do you find it happens with all applications, or just a few ?
If it happens with just a few, which ones are they ?

Interestingly, firing up any of the apps. that get placed in the wrong position (such as gedit or nautilus), then launching 'ccsm' and enabling or disabling the side launcher autohide setting, those already incorrectly placed windows suddenly become aware of where they should be and jump to their correct position.

Your item 5 with buttons disappearing is due to the window being unmaximised but the top of the window is hidden behind the top panel.
Again this falls back to wrong window placement.

Do you find it happens with all applications, or just a few ?
If it happens with just a few, which ones are they ?

Interestingly, firing up any of the apps. that get placed in the wrong position (such as gedit or nautilus), then launching 'ccsm' and enabling or disabling the side launcher autohide setting, those already incorrectly placed windows suddenly become aware of where they should be and jump to their correct position.

Almost all applications... I will try to find some application that works correctly...

I can add gnome-terminal, firefox, and vmware-workstation to the list of (0,0)-positioned apps.

Also, the launcher is ignoring my autohide settings and is always shown

How are you trying to set the autohide setting ?

It can currently only be set in 'ccsm' via 'Desktop > Ubuntu Unity Plugin'.
The more obvious method of setting it in system settings 'Appearance > Behaviour' does not work as it uses gconf to change compiz settings (which we don't use yet).

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

x11-libs/libXfixes:0

(x11-libs/libXfixes-5.0::gentoo, installed) pulled in by
(no parents that aren't satisfied by other packages in this slot)

(x11-libs/libXfixes-5.0-r9999::unity-gentoo, ebuild scheduled for merge) pulled in by
>=x11-libs/libXfixes-5.0-r9999 required by (dev-libs/libunity-misc-4.0.4::unity-gentoo, ebuild scheduled for merge)
=x11-libs/libXfixes-5.0-r9999 required by (gnome-base/gnome-settings-daemon-99.3.4.2-r1::unity-gentoo, ebuild scheduled for merge)
(and 4 more with the same problems)

x11-proto/fixesproto:0

(x11-proto/fixesproto-5.0-r9999::unity-gentoo, ebuild scheduled for merge) pulled in by
=x11-proto/fixesproto-5.0-r9999 required by (x11-libs/libXfixes-5.0-r9999::unity-gentoo, ebuild scheduled for merge)

(x11-proto/fixesproto-5.0::gentoo, installed) pulled in by
(no parents that aren't satisfied by other packages in this slot)

x11-libs/qt-core:4

(x11-libs/qt-core-4.8.2::gentoo, installed) pulled in by
~x11-libs/qt-core-4.8.2[aqua=,c++0x=,debug=,qpa=,qt3support] required by (x11-libs/qt-qt3support-4.8.2::gentoo, installed)
(and 4 more with the same problem)

(x11-libs/qt-core-99.4.8.2::unity-gentoo, ebuild scheduled for merge) pulled in by
~x11-libs/qt-core-99.4.8.2[aqua=,c++0x=,debug=,qpa=,qt3support] required by (x11-libs/qt-qt3support-99.4.8.2::unity-gentoo, ebuild scheduled for merge)
>=x11-libs/qt-core-99.4.8.2:4 required by (dev-libs/libqtgconf-0.1::unity-gentoo, ebuild scheduled for merge)
(and 13 more with the same problems)

x11-libs/qt-gui:4

(x11-libs/qt-gui-4.8.2::gentoo, installed) pulled in by
~x11-libs/qt-gui-4.8.2[aqua=,c++0x=,debug=,glib=,qpa=,qt3support] required by (x11-libs/qt-core-4.8.2::gentoo, installed)
(and 2 more with the same problem)

(x11-libs/qt-gui-99.4.8.2::unity-gentoo, ebuild scheduled for merge) pulled in by
~x11-libs/qt-gui-99.4.8.2[aqua=,debug=,qpa=] required by (x11-libs/qt-webkit-99.4.8.2::unity-gentoo, ebuild scheduled for merge)
(and 5 more with the same problem)

x11-libs/qt-sql:4

(x11-libs/qt-sql-99.4.8.2::unity-gentoo, ebuild scheduled for merge) pulled in by
~x11-libs/qt-sql-99.4.8.2[aqua=,c++0x=,debug=,qpa=,qt3support=] required by (x11-libs/qt-declarative-99.4.8.2::unity-gentoo, ebuild scheduled for merge)
(and 2 more with the same problem)

(x11-libs/qt-sql-4.8.2::gentoo, installed) pulled in by
~x11-libs/qt-sql-4.8.2[aqua=,c++0x=,debug=,qpa=,qt3support=,sqlite] required by (x11-libs/qt-assistant-4.8.2-r1::gentoo, ebuild scheduled for merge)
(and 1 more with the same problem)

x11-libs/qt-dbus:4

(x11-libs/qt-dbus-4.8.2::gentoo, installed) pulled in by
~x11-libs/qt-dbus-4.8.2[aqua=,c++0x=,qpa=,debug=] required by (x11-libs/qt-gui-4.8.2::gentoo, installed)

(x11-libs/qt-dbus-99.4.8.2::unity-gentoo, ebuild scheduled for merge) pulled in by
~x11-libs/qt-dbus-99.4.8.2[aqua=,c++0x=,qpa=,debug=] required by (x11-libs/qt-gui-99.4.8.2::unity-gentoo, ebuild scheduled for merge)

dev-libs/libxml2:2

(dev-libs/libxml2-2.8.0-r1::gentoo, installed) pulled in by
(no parents that aren't satisfied by other packages in this slot)

(dev-libs/libxml2-2.8.0_rc1::gentoo, ebuild scheduled for merge) pulled in by
dev-libs/libxml2:2[!icu?] required by (x11-libs/qt-webkit-99.4.8.2::unity-gentoo, ebuild scheduled for merge)

media-libs/gstreamer:0.10

(media-libs/gstreamer-0.10.36::unity-gentoo, ebuild scheduled for merge) pulled in by
>=media-libs/gstreamer-0.10.36 required by (unity-base/unity-lens-music-5.12.0::unity-gentoo, ebuild scheduled for merge)

(media-libs/gstreamer-0.10.35::gentoo, installed) pulled in by
(no parents that aren't satisfied by other packages in this slot)

gnome-base/gnome-menus:3

(gnome-base/gnome-menus-99.3.4.0::unity-gentoo, ebuild scheduled for merge) pulled in by
>=gnome-base/gnome-menus-99.3.4.0 required by (unity-base/unity-5.14.0::unity-gentoo, ebuild scheduled for merge)
(and 2 more with the same problem)

(gnome-base/gnome-menus-3.4.2::gentoo, installed) pulled in by
(no parents that aren't satisfied by other packages in this slot)

dev-util/gdbus-codegen:0

(dev-util/gdbus-codegen-2.32.4::gentoo, ebuild scheduled for merge) pulled in by
>=dev-util/gdbus-codegen-2.31.0 required by (gnome-base/nautilus-99.3.4.2::unity-gentoo, ebuild scheduled for merge)

(dev-util/gdbus-codegen-2.30.3::gentoo, ebuild scheduled for merge) pulled in by
(no parents that aren't satisfied by other packages in this slot)

gnome-base/gsettings-desktop-schemas:0

(gnome-base/gsettings-desktop-schemas-99.3.5.91::unity-gentoo, ebuild scheduled for merge) pulled in by
>=gnome-base/gsettings-desktop-schemas-99.3.4.1 required by (unity-base/unity-5.14.0::unity-gentoo, ebuild scheduled for merge)

(gnome-base/gsettings-desktop-schemas-3.4.2::gentoo, installed) pulled in by
(no parents that aren't satisfied by other packages in this slot)

x11-themes/gnome-icon-theme:0

(x11-themes/gnome-icon-theme-3.4.0::gentoo, ebuild scheduled for merge) pulled in by
>=x11-themes/gnome-icon-theme-3.4.0 required by (x11-themes/unity-asset-pool-0.8.23::unity-gentoo, ebuild scheduled for merge)

(x11-themes/gnome-icon-theme-3.2.1.2::gentoo, installed) pulled in by
(no parents that aren't satisfied by other packages in this slot)

media-libs/clutter:1.0

(media-libs/clutter-1.10.4::gentoo, installed) pulled in by
>=media-libs/clutter-1.10.0:1.0[introspection] required by (gnome-extra/sushi-0.4.1::gentoo, installed)
(and 4 more with the same problem)

(media-libs/clutter-1.8.4::gentoo, ebuild scheduled for merge) pulled in by
(no parents that aren't satisfied by other packages in this slot)

media-libs/cogl:1.0

(media-libs/cogl-1.8.2::gentoo, ebuild scheduled for merge) pulled in by
<=media-libs/cogl-1.9.2:1.0 required by (media-libs/clutter-1.8.4::gentoo, ebuild scheduled for merge)

(media-libs/cogl-1.10.2::gentoo, installed) pulled in by
>=media-libs/cogl-1.9.6:1.0[introspection?,pango] required by (media-libs/clutter-1.10.4::gentoo, installed)
(and 1 more with the same problem)

gnome-base/gnome-keyring:0

(gnome-base/gnome-keyring-3.4.1::gentoo, installed) pulled in by
>=gnome-base/gnome-keyring-3.3.90 required by (gnome-base/gnome-shell-3.4.1::sabayon-distro, installed)
(and 4 more with the same problem)

(gnome-base/gnome-keyring-2.32.1-r1::gentoo, ebuild scheduled for merge) pulled in by
(no parents that aren't satisfied by other packages in this slot)

gnome-base/libgnome-keyring:0

(gnome-base/libgnome-keyring-3.4.1::gentoo, installed) pulled in by
>=gnome-base/libgnome-keyring-3.2 required by (gnome-base/gnome-core-apps-3.2.1::gentoo, installed)
(and 1 more with the same problem)

(gnome-base/libgnome-keyring-2.32.0::gentoo, ebuild scheduled for merge) pulled in by
(no parents that aren't satisfied by other packages in this slot)

media-libs/clutter-gtk:1.0

(media-libs/clutter-gtk-1.2.0::gentoo, installed) pulled in by
>=media-libs/clutter-gtk-1.1.2:1.0 required by (net-im/empathy-3.4.2.1::gentoo, installed)

(media-libs/clutter-gtk-1.0.4::gentoo, ebuild scheduled for merge) pulled in by
(no parents that aren't satisfied by other packages in this slot)

x11-libs/qt-qt3support:4

(x11-libs/qt-qt3support-99.4.8.2::unity-gentoo, ebuild scheduled for merge) pulled in by
~x11-libs/qt-qt3support-99.4.8.2[accessibility=,aqua=,c++0x=,debug=,qpa=] required by (x11-libs/qt-declarative-99.4.8.2::unity-gentoo, ebuild scheduled for merge)
(and 1 more with the same problem)

(x11-libs/qt-qt3support-4.8.2::gentoo, installed) pulled in by
~x11-libs/qt-qt3support-4.8.2[aqua=,c++0x=,debug=,qpa=] required by (x11-libs/qt-gui-4.8.2::gentoo, installed)

x11-libs/qt-script:4

(x11-libs/qt-script-99.4.8.2::unity-gentoo, ebuild scheduled for merge) pulled in by
~x11-libs/qt-script-99.4.8.2[aqua=,c++0x=,debug=,qpa=] required by (x11-libs/qt-declarative-99.4.8.2::unity-gentoo, ebuild scheduled for merge)
(and 1 more with the same problem)

(x11-libs/qt-script-4.8.2::gentoo, installed) pulled in by
~x11-libs/qt-script-4.8.2[aqua=,c++0x=,qpa=,debug=] required by (x11-libs/qt-gui-4.8.2::gentoo, installed)

It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously. If such a conflict exists in
the dependencies of two different packages, then those packages can
not be installed simultaneously.

For more information, see MASKED PACKAGES section in the emerge man
page or refer to the Gentoo Handbook.

The errors you see are normal on a raw unconfigured setup.
All the packages in the unity-gentoo overlay are masked in some way.
You can read about masked packages and the different types of masking in the Gentoo handbook.

But for getting the overlay packages quickly installed you can do the following configuration:

If you already have an /etc/portage/package.keywords file, rename it first to something other than 'package.keywords' and then copy that renamed file into the new /etc/portage/package.keywords/ directory.
This configuration will have the overlay automatically handle the keyword unmasking of the needed packages from the overlay only.

Once you've setup this configuration, doing the following should clear up the x11-libs/qt blocks you have:

Code:

emerge -1a $(qlist -IC x11-libs/qt)

For all other packages, you'll need to unmask these yourself.
Good luck

Thank you very much. I have read the Gentoo handbook plenty of times, and the only reason I have installed sabayon instead of gentoo is that I usually use my computer in libraries, and I simply cannot wait for packages to compile when in an emergency. I like portage...!

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

x11-libs/libXfixes:0

(x11-libs/libXfixes-5.0::gentoo, installed) pulled in by
(no parents that aren't satisfied by other packages in this slot)

(x11-libs/libXfixes-5.0-r9999::unity-gentoo, ebuild scheduled for merge) pulled in by
>=x11-libs/libXfixes-5.0-r9999 required by (dev-libs/libunity-misc-4.0.4::unity-gentoo, ebuild scheduled for merge)
=x11-libs/libXfixes-5.0-r9999 required by (gnome-base/gnome-settings-daemon-99.3.4.2-r1::unity-gentoo, ebuild scheduled for merge)
(and 4 more with the same problems)

x11-proto/fixesproto:0

(x11-proto/fixesproto-5.0-r9999::unity-gentoo, ebuild scheduled for merge) pulled in by
=x11-proto/fixesproto-5.0-r9999 required by (x11-libs/libXfixes-5.0-r9999::unity-gentoo, ebuild scheduled for merge)

(x11-proto/fixesproto-5.0::gentoo, installed) pulled in by
(no parents that aren't satisfied by other packages in this slot)

dev-libs/libxml2:2

(dev-libs/libxml2-2.8.0-r1::gentoo, installed) pulled in by
(no parents that aren't satisfied by other packages in this slot)

(dev-libs/libxml2-2.8.0_rc1::gentoo, ebuild scheduled for merge) pulled in by
dev-libs/libxml2:2[!icu?] required by (x11-libs/qt-webkit-99.4.8.2::unity-gentoo, ebuild scheduled for merge)

media-libs/gstreamer:0.10

(media-libs/gstreamer-0.10.36::unity-gentoo, ebuild scheduled for merge) pulled in by
>=media-libs/gstreamer-0.10.36 required by (unity-base/unity-lens-music-5.12.0::unity-gentoo, ebuild scheduled for merge)

(media-libs/gstreamer-0.10.35::gentoo, installed) pulled in by
(no parents that aren't satisfied by other packages in this slot)

gnome-base/gnome-menus:3

(gnome-base/gnome-menus-99.3.4.0::unity-gentoo, ebuild scheduled for merge) pulled in by
>=gnome-base/gnome-menus-99.3.4.0 required by (unity-base/unity-5.14.0::unity-gentoo, ebuild scheduled for merge)
(and 2 more with the same problem)

(gnome-base/gnome-menus-3.4.2::gentoo, installed) pulled in by
(no parents that aren't satisfied by other packages in this slot)

dev-util/gdbus-codegen:0

(dev-util/gdbus-codegen-2.32.4::gentoo, ebuild scheduled for merge) pulled in by
>=dev-util/gdbus-codegen-2.31.0 required by (gnome-base/nautilus-99.3.4.2::unity-gentoo, ebuild scheduled for merge)

(dev-util/gdbus-codegen-2.30.3::gentoo, ebuild scheduled for merge) pulled in by
(no parents that aren't satisfied by other packages in this slot)

gnome-base/gsettings-desktop-schemas:0

(gnome-base/gsettings-desktop-schemas-99.3.5.91::unity-gentoo, ebuild scheduled for merge) pulled in by
>=gnome-base/gsettings-desktop-schemas-99.3.4.1 required by (unity-base/unity-5.14.0::unity-gentoo, ebuild scheduled for merge)

(gnome-base/gsettings-desktop-schemas-3.4.2::gentoo, installed) pulled in by
(no parents that aren't satisfied by other packages in this slot)

x11-themes/gnome-icon-theme:0

(x11-themes/gnome-icon-theme-3.4.0::gentoo, ebuild scheduled for merge) pulled in by
>=x11-themes/gnome-icon-theme-3.4.0 required by (x11-themes/unity-asset-pool-0.8.23::unity-gentoo, ebuild scheduled for merge)

(x11-themes/gnome-icon-theme-3.2.1.2::gentoo, installed) pulled in by
(no parents that aren't satisfied by other packages in this slot)

media-libs/clutter:1.0

(media-libs/clutter-1.10.4::gentoo, installed) pulled in by
>=media-libs/clutter-1.10.0:1.0[introspection] required by (gnome-extra/sushi-0.4.1::gentoo, installed)
(and 4 more with the same problem)

(media-libs/clutter-1.8.4::gentoo, ebuild scheduled for merge) pulled in by
(no parents that aren't satisfied by other packages in this slot)

media-libs/cogl:1.0

(media-libs/cogl-1.8.2::gentoo, ebuild scheduled for merge) pulled in by
<=media-libs/cogl-1.9.2:1.0 required by (media-libs/clutter-1.8.4::gentoo, ebuild scheduled for merge)

(media-libs/cogl-1.10.2::gentoo, installed) pulled in by
>=media-libs/cogl-1.9.6:1.0[introspection?,pango] required by (media-libs/clutter-1.10.4::gentoo, installed)
(and 1 more with the same problem)

gnome-base/gnome-keyring:0

(gnome-base/gnome-keyring-3.4.1::gentoo, installed) pulled in by
>=gnome-base/gnome-keyring-3.3.90 required by (gnome-base/gnome-shell-3.4.1::sabayon-distro, installed)
(and 4 more with the same problem)

(gnome-base/gnome-keyring-2.32.1-r1::gentoo, ebuild scheduled for merge) pulled in by
(no parents that aren't satisfied by other packages in this slot)

gnome-base/libgnome-keyring:0

(gnome-base/libgnome-keyring-3.4.1::gentoo, installed) pulled in by
>=gnome-base/libgnome-keyring-3.2 required by (gnome-base/gnome-core-apps-3.2.1::gentoo, installed)
(and 1 more with the same problem)

(gnome-base/libgnome-keyring-2.32.0::gentoo, ebuild scheduled for merge) pulled in by
(no parents that aren't satisfied by other packages in this slot)

media-libs/clutter-gtk:1.0

(media-libs/clutter-gtk-1.2.0::gentoo, installed) pulled in by
>=media-libs/clutter-gtk-1.1.2:1.0 required by (net-im/empathy-3.4.2.1::gentoo, installed)

(media-libs/clutter-gtk-1.0.4::gentoo, ebuild scheduled for merge) pulled in by
(no parents that aren't satisfied by other packages in this slot)

It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously. If such a conflict exists in
the dependencies of two different packages, then those packages can
not be installed simultaneously.

For more information, see MASKED PACKAGES section in the emerge man
page or refer to the Gentoo Handbook.

The following USE changes are necessary to proceed:
#required by unity-base/indicator-session-0.3.96, required by unity-base/unity-meta-5.14.0, required by unity-base/unity-meta (argument)
=app-admin/packagekit-base-0.7.4 networkmanager
#required by unity-base/indicator-session-0.3.96, required by unity-base/unity-meta-5.14.0, required by unity-base/unity-meta (argument)
>=app-admin/packagekit-0.7.4 qt4 gtk

and tell us what you get after this (latter you will have to mask that, unmask that, etc...).

shiznix, and about that wrong positioned windows, i can add the "gnome-control-center" for the whitelist (it is always positioned at the center of the screen). I tried to play with the put plugin, but seems that my changes don't make any effects...