[FFe] Regression: wrong window decorator applied

Bug #1356981 reported by Fred
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Compiz
Fix Released
High
Alberts Muktupāvels
compiz (Ubuntu)
Fix Released
High
Alberts Muktupāvels

Bug Description

The gtk-window-decorator needs updating to GTK+3.

Support for Metacity theme support in Compiz was removed earlier in the Ubuntu 14.10 development cycle until deprecated function from GTK+2 could be replaced. This has been done and a feature freeze exception is requested to re-enable Metacity support once again.

The Gnome fallback session with Compiz is not generally usable without this support.

Tested with Ubuntu and Gnome fallback sessions. Please see the build log and changelog at https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/landing-016/+packages for review.

-- original bug description --

Windows have the wrong window decorator theme.
This can be seen when using Compiz in the GNOME Flashback session (package: gnome-session-flashback).

It does not respect the setting of 'gsettings get org.gnome.desktop.wm.preferences theme'.This is a regression.

This worked fine in Compiz 1:0.9.11.1+14.04.20140701-0ubuntu1 but is broken in 1:0.9.12+14.10.20140812-0ubuntu1 on 12 August.
Perhaps due to the change by Alberts Muktupāvels?
 * Remove gconf from gtk-window-decorator.

ProblemType: BugDistroRelease: Ubuntu 14.10
Package: compiz 1:0.9.12+14.10.20140812-0ubuntu1
ProcVersionSignature: Ubuntu 3.16.0-7.12-generic 3.16.0
Uname: Linux 3.16.0-7-generic x86_64
.tmp.unity.support.test.0:

ApportVersion: 2.14.5-0ubuntu4
Architecture: amd64
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: compiz
CompositorUnredirectDriverBlacklist: '(nouveau|Intel).*Mesa 8.0'
CompositorUnredirectFSW: true
CurrentDesktop: Unity
Date: Thu Aug 14 18:30:07 2014
DistUpgraded: Fresh install
DistroCodename: utopic
DistroVariant: ubuntu
GraphicsCard:
 Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [8086:0412] (rev 06) (prog-if 00 [VGA controller])
   Subsystem: ASUSTeK Computer Inc. Device [1043:8534]
InstallationDate: Installed on 2013-12-26 (230 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
MachineType: ASUS All Series
PackageArchitecture: all
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.16.0-7-generic.efi.signed root=UUID=31dc4488-28d4-4d2a-aa51-6733e237d5f8 ro quiet splash vt.handoff=7SourcePackage: compiz
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 06/04/2014
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 2005
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: Z87-PRO
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: Rev 1.xx
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr2005:bd06/04/2014:svnASUS:pnAllSeries:pvrSystemVersion:rvnASUSTeKCOMPUTERINC.:rnZ87-PRO:rvrRev1.xx:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: All Series
dmi.product.version: System Version
dmi.sys.vendor: ASUS
version.compiz: compiz 1:0.9.12+14.10.20140812-0ubuntu1
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.56-1
version.libgl1-mesa-dri: libgl1-mesa-dri 10.2.5-1ubuntu2
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 10.2.5-1ubuntu2
version.xserver-xorg-core: xserver-xorg-core 2:1.15.1-0ubuntu9
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.9.0-1ubuntu1
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.4.0-2ubuntu1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.914-1~exp1ubuntu1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.10-1ubuntu2
xserver.bootTime: Thu Aug 14 18:26:08 2014
xserver.configfile: default
xserver.errors:
 intel: Failed to load module "dri3" (module does not exist, 0)
 intel: Failed to load module "present" (module does not exist, 0)
xserver.logfile: /var/log/Xorg.0.log
xserver.outputs:
 product id 41082
 vendor DEL
xserver.version: 2:1.15.1-0ubuntu9

Related branches

Revision history for this message
Fred (eldmannen+launchpad) wrote :
tags: added: regression-release
Revision history for this message
Alberts Muktupāvels (muktupavels) wrote :

This is because of new metacity release. Metacity theme support is now dissabled and will be re-enabled only when gtk-window-decorator will be ported to GTK+ 3.

Revision history for this message
Fred (eldmannen+launchpad) wrote :

I see.

Why is Metacity theme support disabled?
Is it possible to re-enable it again?
Are there any good reason why it is disabled?

Is anyone working on porting gtk-window-decorator to GTK+ 3? How is the progress going?
Will this be fixed before Utopic gets released?

What choices and alternatives do I have?
I can use Metacity then it works, but Compiz doens't work. Metacity isn't as cool, it has no animations.
I installed Mutter, but it has broken window decorator too, just like Compiz.

Revision history for this message
Fred (eldmannen+launchpad) wrote :

Actually window decorations work in Mutter, but only after copy my theme from ~/.themes/ to /usr/share/themes/.
Although animations flicker. :(

Revision history for this message
Alberts Muktupāvels (muktupavels) wrote :

Dissabled because GTK+ 2 and GTK+ 3 can not be mixed in one application. Currently it is simply not possible to build with metacity support.

Yes, I have started work on GTK+ 3 port for gtk-window-decorator. I hope it will be ready for Utopic...

Revision history for this message
Fred (eldmannen+launchpad) wrote :

Alright. I see!
Glad to hear someone (you) working on it, and glad you're making good progress.

How come GTK+ 2 support was disabled before GTK+ 3 support was ready?

I hope that you get GTK+ 3 support done in time for Utopic! :)

Revision history for this message
mistahowe (mistahowe) wrote :

Is there any way to easily revert to metacity 2.x.x if you are on 14.10? There don't seem to be any apt packages earlier than 3.12.0 on the main repos.

Changed in compiz (Ubuntu):
status: New → Confirmed
status: Confirmed → In Progress
importance: Undecided → High
assignee: nobody → Alberts Muktupāvels (albertsmuktupavels)
Changed in compiz:
status: New → In Progress
importance: Undecided → High
assignee: nobody → Alberts Muktupāvels (albertsmuktupavels)
milestone: none → 0.9.12.0
Revision history for this message
Fred (eldmannen+launchpad) wrote :

How is the progress going?

There has been the feature freeze, and also the beta 1.

Stephen M. Webb (bregma)
summary: - Regression: wrong window decorator applied
+ [FFe] Regression: wrong window decorator applied
Stephen M. Webb (bregma)
description: updated
Revision history for this message
Matthieu Baerts (matttbe) wrote :

Tested with Cairo-Dock session, everything works fine! Thanks!

Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

The fix is waiting in a landing PPA for the FFe approval.

Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :
Changed in compiz (Ubuntu):
status: In Progress → Confirmed
Revision history for this message
Fred (eldmannen+launchpad) wrote :

The patched version in the landing-016 PPA fixed it for me. :)

Revision history for this message
Iain Lane (laney) wrote :

Ok, go for it. Please publish really soon to get this in before the beta freeze.

Revision history for this message
Alberts Muktupāvels (muktupavels) wrote :

Why it is so long in proposed? Is there any reason why branches are not merged?

Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote :

There's a beta freeze ongoing, it might be caused by that.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package compiz - 1:0.9.12+14.10.20140918-0ubuntu1

---------------
compiz (1:0.9.12+14.10.20140918-0ubuntu1) utopic; urgency=low

  [ Michael Thayer ]
  * Fix for LP #1353675: _NET_WM_FULLSCREEN_MONITORS not handled
    correctly. An (x, y, w, h) (LP: #1353675)

  [ Alberts Muktupāvels ]
  * Port gtk-window-decorator to GTK+ 3.
  * Re-enable metacity theme support (LP: #1356981)
  * Remove/replace deprecated functions. (LP: #1356981)
 -- Ubuntu daily release <email address hidden> Thu, 18 Sep 2014 11:01:08 +0000

Changed in compiz (Ubuntu):
status: Confirmed → Fix Released
Stephen M. Webb (bregma)
Changed in compiz:
status: In Progress → Fix Committed
Stephen M. Webb (bregma)
Changed in compiz:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.