← Back to team overview

compiz team mailing list archive

[Bug 770283] Re: [fglrx]title bar does not update on non-maximized windows

 

** Description changed:

+ [Impact]
+ The following bug has high impact on all users using fglrx ATI drivers since a long time. For every user using this proprietary driver the window decorations will not update besides on window resize - which is very confusing, since it's hard to know which window is currently focused, or what the correct title of the window should be. This greatly impacts the Ubuntu user experience.
+ 
+ [Development Fix]
+ Since we are dealing with a driver problem (which has already been addressed and is being analyzed with ATI), we decided on at least a workaround for this problem. Since the bug is caused by changes to a Pixmap not being passed to the underlying GLXPixmap (which happens for certain sizes and only certain Pixmaps), we force the rebinding of the decorator pixmap on decoration damage events.
+ This ensures that the underlying texture is modified when needed.
+ In order to workaround this problem, the compiz package was modified. The fix is being proposed in version 1:0.9.7.6-0ubuntu2. An earlier version of the package has also been tested by users from a local PPA (ppa:sil2100/ppa), version 1:0.9.7.4-0ubuntu4~fglrxfix2.
+ 
+ [Stable Fix]
+ The stable version of the workaround has been already proposed as a distro patch for the latest compiz package (lp:compiz).
+ 
+ [Test Case]
+ To reproduce the bug, an Radeon graphics card is required, as well as using the proprietary fglrx driver:
+ - Open any number of applications
+ - Try switching focus between them
+   -> Most (or even all) windows do not change their window decorations (title bar) to indicate which is currently focused
+ - Open a terminal
+ - Change the current directory
+   -> The title bar remains unchanged, even though it should indicate the current working directory
+ 
+ For more test-cases, see original bug-description below.
+ 
+ [Regression Potential]
+ The introduced workaround fix has no potential regression possibilities. On non-fglrx systems, there might be an really small, additional performance footprint - since the texture is being rebound when not really needed. But it has absolutely no impact on the user experience.
+ 
+ - Original description:
+ 
  Binary package hint: unity
  
  I previously reported this as
  https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/768860. Further
  investigation on my part suggests the issue is with unity-window-
  decorator.
  
  The title bar is not updated on non-maximized windows unless the
  decorator is forced to redraw the title bar--usually on losing focus. I
  have confirmed this with GNOME-Terminal, GIMP, Firefox, and Geeqie.
  
  To reproduce:
  GIMP: Open a file. Modify it. Unless you switched to the Toolbox window, the image name doesn't get a prepended "*" to indicate the file has changed. Save it with CTRL-S. The "*" will not disappear until the window loses focus.
  
  Firefox: Open sites on multiple tabs. Switch between tabs as often as
  you like. The title bar text will not change unless the window loses
  focus. Maximize the Firefox window. Switch between tabs. The global menu
  title bar text will now change with each tab.
  
  GNOME-Terminal: Open a terminal. Change directories. Notice that the
  directory shown in the title bar does not match what is reported by
  `pwd`.
  
  Geeqie: Go to a directory with images. The title bar should change to
  show the name of each image as its displayed. Now maximize the window.
  The "title bar" text changes as each image is selected.
  
  For further testing, I chmod'ed /usr/bin/unity-window-decorator and
  restarted compiz-decorator to force the use of gtk-window-decorator. All
  title bars behaved normally (although I lost the rest of the unity
  interface).
  
  Personally, I find this bug to be a show-stopper. I've been using the
  Unity interface for a week and this is one of the two issues that would
  keep me using the "classic" GNOME interface instead of Unity.
  
  This may be a duplicate of https://bugs.launchpad.net/unity/+bug/768356
  but I was unable to append any comments to that bug. That report was
  also specific to Firefox, which I think is a bit misleading since the
  issue affects all applications which provide feedback via the title bar.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 11.04
  Package: unity 3.8.10-0ubuntu2
  ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
  Uname: Linux 2.6.38-8-generic x86_64
  NonfreeKernelModules: fglrx
  Architecture: amd64
  CompizPlugins: [core,bailer,detection,composite,opengl,decor,mousepoll,vpswitch,regex,animation,snap,expo,move,compiztoolbox,place,grid,imgpng,gnomecompat,wall,ezoom,workarounds,staticswitcher,resize,fade,unitymtgrabhandles,scale,session,unityshell]
  CompositorRunning: compiz
  Date: Mon Apr 25 08:33:15 2011
  DistUpgraded: Fresh install
  DistroCodename: natty
  DistroVariant: ubuntu
  GraphicsCard:
-  ATI Technologies Inc RS880 [Radeon HD 4200] [1002:9710] (prog-if 00 [VGA controller])
-    Subsystem: Hewlett-Packard Company Device [103c:2ab1]
+  ATI Technologies Inc RS880 [Radeon HD 4200] [1002:9710] (prog-if 00 [VGA controller])
+    Subsystem: Hewlett-Packard Company Device [103c:2ab1]
  InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Beta amd64 (20110413)
  InstallationMedia_: Ubuntu 11.04 "Natty Narwhal" - Beta amd64 (20110413)
  InstallationMedia__: Ubuntu 11.04 "Natty Narwhal" - Beta amd64 (20110413)
  InstallationMedia___: Ubuntu 11.04 "Natty Narwhal" - Beta amd64 (20110413)
  JockeyStatus: xorg:fglrx - ATI/AMD proprietary FGLRX graphics driver (Proprietary, Enabled, In use)
  MachineType: Hewlett-Packard p6774y
  ProcEnviron:
-  LANGUAGE=en_US:en
-  LC_COLLATE=C
-  PATH=(custom, no user)
-  LANG=en_US.UTF-8
-  SHELL=/bin/bash
+  LANGUAGE=en_US:en
+  LC_COLLATE=C
+  PATH=(custom, no user)
+  LANG=en_US.UTF-8
+  SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-8-generic root=UUID=88b4c27c-1d88-43f6-9c45-807f05989dca ro quiet splash vt.handoff=7
  ProcVersionSignature_: Ubuntu 2.6.38-8.42-generic 2.6.38.2
  ProcVersionSignature__: Ubuntu 2.6.38-8.42-generic 2.6.38.2
  ProcVersionSignature___: Ubuntu 2.6.38-8.42-generic 2.6.38.2
  Renderer: Unknown
  SourcePackage: unity
  UdevDb: Error: [Errno 2] No such file or directory
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 09/07/2010
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: 6.04
  dmi.board.name: 2AB1
  dmi.board.vendor: FOXCONN
  dmi.board.version: 1.00
  dmi.chassis.asset.tag: 4CE10215JX
  dmi.chassis.type: 3
  dmi.chassis.vendor: Hewlett-Packard
  dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr6.04:bd09/07/2010:svnHewlett-Packard:pnp6774y:pvr:rvnFOXCONN:rn2AB1:rvr1.00:cvnHewlett-Packard:ct3:cvr:
  dmi.product.name: p6774y
  dmi.sys.vendor: Hewlett-Packard
  version.compiz: compiz 1:0.9.4+bzr20110415-0ubuntu2
  version.fglrx-installer: fglrx-installer N/A
  version.ia32-libs: ia32-libs 20090808ubuntu13
  version.libdrm2: libdrm2 2.4.23-1ubuntu6
  version.libgl1-mesa-dri: libgl1-mesa-dri 7.10.2-0ubuntu2
  version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
  version.libgl1-mesa-glx: libgl1-mesa-glx 7.10.2-0ubuntu2
  version.xserver-xorg: xserver-xorg 1:7.6+4ubuntu3
  version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.0-0ubuntu4
  version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.14.0-4ubuntu7
  version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20110107+b795ca6e-0ubuntu7

** Changed in: compiz (Ubuntu)
       Status: Confirmed => In Progress

-- 
You received this bug notification because you are a member of compiz
packagers, which is subscribed to compiz in Ubuntu.
https://bugs.launchpad.net/bugs/770283

Title:
  [fglrx]title bar does not update on non-maximized windows

To manage notifications about this bug go to:
https://bugs.launchpad.net/compiz-core/+bug/770283/+subscriptions