Not possible to have shadow on gnome-terminal windows with no decoration

Bug #615234 reported by Jeremy Kerr
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Compiz
Confirmed
Undecided
Unassigned
Compiz Core
Confirmed
Undecided
Unassigned
compiz (Ubuntu)
Triaged
Low
Unassigned

Bug Description

Binary package hint: compiz

I have the following settings in CCSM:

Window Decorations -> General -> Decoration windows: "(any) & !(class=Gnome-terminal)"
Window Decorations -> General -> Shadow windows: "any"

(corresponding gconf settings listed below)

Gnome-terminal windows correctly have no window decorations. However, they also do not have any shadow.

It looks like the shadow is only ever applied to decorated windows; this makes it impossible to specify "shadow, but no decoration" on windows.

gconf dump of /apps/compiz/plugins/decoration:

 /apps/compiz/plugins/decoration/allscreens:
  /apps/compiz/plugins/decoration/allscreens/options:
   shadow_color = #000000ff
   command = /usr/bin/compiz-decorator
   mipmap = false
   shadow_opacity = 0.5
   shadow_x_offset = 1
   shadow_y_offset = 1
   decoration_match = (any) & !(class=Gnome-terminal)
   shadow_radius = 9
   shadow_match = any

---
.tmp.unity.support.test.0:

ApportVersion: 1.91-0ubuntu1
Architecture: amd64
CompizPlugins: [core,bailer,detection,composite,opengl,decor,resize,grid,place,regex,mousepoll,session,compiztoolbox,commands,snap,imgpng,wall,vpswitch,gnomecompat,animation,move,fade,workarounds,scale,expo,ezoom,switcher,unityshell]
CompositorRunning: compiz
DistUpgraded: Log time: 2012-01-11 10:03:39.092794
DistroCodename: precise
DistroRelease: Ubuntu 12.04
DistroVariant: ubuntu
EcryptfsInUse: Yes
GraphicsCard:
 Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller [8086:2a42] (rev 07) (prog-if 00 [VGA controller])
   Subsystem: Lenovo Device [17aa:20e4]
   Subsystem: Lenovo Device [17aa:20e4]
MachineType: LENOVO 2777CTO
Package: compiz 1:0.9.6+bzr20110929-0ubuntu8
PackageArchitecture: all
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-15-generic root=UUID=e2d76018-98a6-473a-960b-4c07434a5b35 ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 3.2.0-15.24-generic 3.2.5
Tags: precise precise ubuntu single-occurrence reproducible compiz-0.9
Uname: Linux 3.2.0-15-generic x86_64
UpgradeStatus: Upgraded to precise on 2012-01-11 (42 days ago)
UserGroups: adm admin cdrom debian-tor dialout fuse libvirtd lpadmin plugdev sambashare sbuild
dmi.bios.date: 05/15/2009
dmi.bios.vendor: LENOVO
dmi.bios.version: 6EET41WW (3.01 )
dmi.board.name: 2777CTO
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvr6EET41WW(3.01):bd05/15/2009:svnLENOVO:pn2777CTO:pvrThinkPadX301:rvnLENOVO:rn2777CTO:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 2777CTO
dmi.product.version: ThinkPad X301
dmi.sys.vendor: LENOVO
version.compiz: compiz 1:0.9.6+bzr20110929-0ubuntu8
version.ia32-libs: ia32-libs 20090808ubuntu33
version.libdrm2: libdrm2 2.4.30-1ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 8.0~rc2-0ubuntu5
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 8.0~rc2-0ubuntu5
version.xserver-xorg-core: xserver-xorg-core 2:1.11.4-0ubuntu1
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.6.99.901-1ubuntu3
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.99~git20111219.aacbd629-0ubuntu2
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.17.0-1ubuntu3
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20111201+b5534a1-1build2

Jeremy Kerr (jk-ozlabs)
description: updated
Revision history for this message
herr_blaschke (i-launchpad-net-antispam-zimmer3-de) wrote :

I use the Titlelesser gnome metacity theme from http://gnome-look.org/content/show.php/Titlelesser?content=82972 which enables the shadows.

Changed in compiz (Ubuntu):
importance: Undecided → Low
Revision history for this message
jhfhlkjlj (fdsuufijjejejejej-deactivatedaccount) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. We are sorry that we do not always have the capacity to look at all reported bugs in a timely manner. There have been many changes in Ubuntu since that time you reported the bug and your problem may have been fixed with some of the updates. Compiz, in particular, is in heavy development and this bug may have been fixed in the development version of Ubuntu (12.04) if not on your current version. If you are able, it would be of great help if you could confirm if the bug still exists by testing a livecd (available at ubuntu.com). When you test it and it is still an issue, kindly upload the updated logs by running apport-collect <bug #> and any other logs that are relevant for this particular issue. If you are unable to test the development version, please let us know if you are able to reproduce this issue on Ubuntu 11.10.

Thank you for your help and patience.

Changed in compiz (Ubuntu):
status: New → Incomplete
Changed in compiz-core:
status: New → Incomplete
Revision history for this message
Jeremy Kerr (jk-ozlabs) wrote :

Can still reproduce on the 12.04 alpha.

However, after some further digging, this looks specific to gnome-terminal windows; as described above, I have the following settings:

 Decoration Windows: !(class=Gnome-terminal)
 Shadow Windows: all

- in order to remove the decoration (but not shadow) from gnome-terminal windows. With these settings, gnome-terminal windows have no decoration *and* no shadow, which is incorrect.

However - if I set the 'Decoration Windows' filter to that of another app (eg, 'class=Ccsm'), then that application's windows are correctly rendered (no decoration, but with shadow).

So it appears to be specific to some apps only?

Changed in compiz-core:
status: Incomplete → New
Changed in compiz (Ubuntu):
status: Incomplete → New
tags: added: apport-collected compiz-0.9 precise reproducible single-occurrence ubuntu
description: updated
Revision history for this message
Jeremy Kerr (jk-ozlabs) wrote : BootDmesg.txt

apport information

Revision history for this message
Jeremy Kerr (jk-ozlabs) wrote : BootLog.gz

apport information

Revision history for this message
Jeremy Kerr (jk-ozlabs) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Jeremy Kerr (jk-ozlabs) wrote : Dependencies.txt

apport information

Revision history for this message
Jeremy Kerr (jk-ozlabs) wrote : DpkgLog.txt

apport information

Revision history for this message
Jeremy Kerr (jk-ozlabs) wrote : GconfCompiz.txt

apport information

Revision history for this message
Jeremy Kerr (jk-ozlabs) wrote : GdmLog.txt

apport information

Revision history for this message
Jeremy Kerr (jk-ozlabs) wrote : GdmLog1.txt

apport information

Revision history for this message
Jeremy Kerr (jk-ozlabs) wrote : GdmLog2.txt

apport information

Revision history for this message
Jeremy Kerr (jk-ozlabs) wrote : LightdmLog.txt

apport information

Revision history for this message
Jeremy Kerr (jk-ozlabs) wrote : Lspci.txt

apport information

Revision history for this message
Jeremy Kerr (jk-ozlabs) wrote : Lsusb.txt

apport information

Revision history for this message
Jeremy Kerr (jk-ozlabs) wrote : MonitorsUser.xml.txt

apport information

Revision history for this message
Jeremy Kerr (jk-ozlabs) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Jeremy Kerr (jk-ozlabs) wrote : ProcEnviron.txt

apport information

Revision history for this message
Jeremy Kerr (jk-ozlabs) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Jeremy Kerr (jk-ozlabs) wrote : ProcModules.txt

apport information

Revision history for this message
Jeremy Kerr (jk-ozlabs) wrote : UdevDb.txt

apport information

Revision history for this message
Jeremy Kerr (jk-ozlabs) wrote : UdevLog.txt

apport information

Revision history for this message
Jeremy Kerr (jk-ozlabs) wrote : UnitySupportTest.txt

apport information

Revision history for this message
Jeremy Kerr (jk-ozlabs) wrote : XorgLog.txt

apport information

Revision history for this message
Jeremy Kerr (jk-ozlabs) wrote : XorgLogOld.txt

apport information

Revision history for this message
Jeremy Kerr (jk-ozlabs) wrote : Xrandr.txt

apport information

Revision history for this message
Jeremy Kerr (jk-ozlabs) wrote : locale.txt

apport information

Revision history for this message
Jeremy Kerr (jk-ozlabs) wrote : peripherals.txt

apport information

Revision history for this message
Jeremy Kerr (jk-ozlabs) wrote : setxkbmap.txt

apport information

Revision history for this message
Jeremy Kerr (jk-ozlabs) wrote : xdpyinfo.txt

apport information

Revision history for this message
Jeremy Kerr (jk-ozlabs) wrote : xinput.txt

apport information

Revision history for this message
Jeremy Kerr (jk-ozlabs) wrote : xkbcomp.txt

apport information

summary: - Not possible to have shadow on windows with no decoration
+ Not possible to have shadow on gnome-terminal windows with no decoration
Changed in compiz (Ubuntu):
status: New → Triaged
Changed in compiz-core:
status: New → Confirmed
Changed in compiz:
status: New → Confirmed
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.