← Back to team overview

compiz team mailing list archive

Re: [Bug 806636] Re: [Oneiric] Compiz fails to update window title until focused window is changed unless window is maximized

 

On Wed, Jul 27, 2011 at 6:56 PM, David Raid <D.Raid@xxxxxxxxxxx> wrote:
> This problem also existed in Natty, but only when using the proprietary
> FGLX driver and a theme other than Radiance or Ambiance.  It's as if the
> window decorations of unmaximized windows are 'frozen', unchanging
> unless forced to with a window resize.
>
> When using the Radiance or Ambiance theme, the window decorations would
> update fine, unless the window was not in focus, in which case mouse-
> overing the window controls would not highlight them and the window
> title would not change until the window was again in focus.
>
> The problem existed for Natty in both compiz-decorator and gtk-window-
> decorator, but not metacity when using the classic desktop. In addition,
> this problem was solved for me by downgrading to a pre-Unity compiz
> version, leading me to believe the problem is somewhere inside compiz
> itself.
>
> Now, the problem isn't just in the proprietary driver and even occurs
> when using the default opensource one present in Oneiric. Has that
> driver changed at all or has Compiz changed in the way it interacts with
> it? Could this be a kernel or xorg issue?

I looked into this.

Those drivers aren't sending damage events for pixmap to texture
bindings when the drawable is just backed by a pixmap and not a
window.

There's not much more I know about it at the moment, but at least the
nvidia driver gets it right in this regard.

At least with unity-window-decorator, we are re-sizing the bound
pixmap all the time anyways, so this is effectively worked around.

The decorator work I am doing right now might also help with this. It
caches multiple pixmaps so that they don't need to be regenerated all
the time and then we can just switch between them without needing
damage events to update the bound texture.

>
> It's a major issue for most people using ATI graphics for the window
> decorations not to work as expected.
>
> --
> You received this bug notification because you are a member of Unity
> Bugs, which is subscribed to unity.
> https://bugs.launchpad.net/bugs/806636
>
> Title:
>  [Oneiric] Compiz fails to update window title until focused window is
>  changed unless window is maximized
>
> Status in Compiz:
>  Confirmed
> Status in Unity:
>  New
> Status in “compiz” package in Ubuntu:
>  Triaged
> Status in “compiz” source package in Oneiric:
>  Triaged
>
> Bug description:
>  Reproducable.
>  Create two files with gedit, e.g. test-1, test-2. Save them to a bookmarked folder (otherwise gedit will crash due to Bug #797443).
>  Open test-1 from dropdown (history) menu.
>  Result: it doesn't display the file name in window title bar.
>  Expected is that it displays the file name test-1 in window title bar (as in Natty).
>  Go to edit -> preferences, now it displays file name in window title bar.
>
>  Leave test-1 open and open test-2 from dropdown (history) menu.
>  Result: file name of test-2 isn't displayed in window title bar, instead file name test-1 still is.
>  Expected: display file name of the file which has focus, instead of the one which is already open.
>
>  ALSO SEEN IN:
>
>  Chromium: https://bugs.launchpad.net/ubuntu/+source/chromium-
>  browser/+bug/809101
>
>  1. Open Chromium
>  2. On new tab page, open new tab (CTRL-T)
>  3. Navigate to page (ubuntu.com for instance).
>  4. Notice Title bar does not change.
>
>  Eye of Gnome:
>  https://bugs.launchpad.net/ubuntu/+source/unity/+bug/809022
>
>  Open eog. Enable side pane from view. Open a folder which incl. bunch of images.
>  Slide through images, window title doesn't change.
>  Switch the workspace, return to eog. The last image is now displayed also as window title.
>  Slide through images, window title still doesn't change.
>
>  Totem:
>
>  1.) Open totem
>  2.) Movie > Open...
>  3.) Select a file
>  4.) Observe the title still says 'Movie Player'
>  5.) Go to a different window and back to totem. Title updates
>
>  ProblemType: Bug
>  DistroRelease: Ubuntu 11.10
>  Package: unity 4.2.0-0ubuntu1
>  ProcVersionSignature: Ubuntu 3.0-3.4-generic 3.0.0-rc5
>  Uname: Linux 3.0-3-generic x86_64
>  NonfreeKernelModules: wl
>  Architecture: amd64
>  CompizPlugins: [core,bailer,detection,composite,opengl,decor,obs,grid,gnomecompat,vpswitch,mousepoll,wall,compiztoolbox,move,resize,place,imgpng,snap,regex,animation,expo,session,unitymtgrabhandles,ezoom,workarounds,staticswitcher,fade,scale,unityshell]
>  CompositorRunning: compiz
>  Date: Wed Jul  6 20:59:49 2011
>  DistUpgraded: Fresh install
>  DistroCodename: oneiric
>  DistroVariant: ubuntu
>  DkmsStatus:
>   bcmwl, 5.100.82.38+bdcom, 3.0-2-generic, x86_64: installed
>   bcmwl, 5.100.82.38+bdcom, 3.0-1-generic, x86_64: installed
>   bcmwl, 5.100.82.38+bdcom, 3.0-3-generic, x86_64: installed
>  GdmLog1:
>
>  GdmLog2:
>
>  GraphicsCard:
>   ATI Technologies Inc M880G [Mobility Radeon HD 4200] [1002:9712] (prog-if 00 [VGA controller])
>     Subsystem: Hewlett-Packard Company Device [103c:1475]
>  InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110423)
>  MachineType: Hewlett-Packard HP 625
>  ProcEnviron:
>   LANG=C
>   SHELL=/bin/bash
>  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.0-3-generic root=UUID=4a760393-cea9-45d3-88c0-841b7a37104d ro
>  Renderer: Unknown
>  SourcePackage: unity
>  UpgradeStatus: No upgrade log present (probably fresh install)
>  dmi.bios.date: 12/07/2010
>  dmi.bios.vendor: Hewlett-Packard
>  dmi.bios.version: 68DVA Ver. F.06
>  dmi.board.asset.tag: Base Board Asset Tag
>  dmi.board.name: 1475
>  dmi.board.vendor: Hewlett-Packard
>  dmi.board.version: KBC Version 72.0E
>  dmi.chassis.asset.tag: CNU1080QP1
>  dmi.chassis.type: 10
>  dmi.chassis.vendor: Hewlett-Packard
>  dmi.modalias: dmi:bvnHewlett-Packard:bvr68DVAVer.F.06:bd12/07/2010:svnHewlett-Packard:pnHP625:pvr:rvnHewlett-Packard:rn1475:rvrKBCVersion72.0E:cvnHewlett-Packard:ct10:cvr:
>  dmi.product.name: HP 625
>  dmi.sys.vendor: Hewlett-Packard
>  version.compiz: compiz 1:0.9.4+bzr20110606-0ubuntu5
>  version.ia32-libs: ia32-libs 20090808ubuntu13
>  version.libdrm2: libdrm2 2.4.26-1ubuntu1
>  version.libgl1-mesa-dri: libgl1-mesa-dri 7.11~1-0ubuntu2
>  version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
>  version.libgl1-mesa-glx: libgl1-mesa-glx 7.11~1-0ubuntu2
>  version.xserver-xorg: xserver-xorg 1:7.6+7ubuntu1
>  version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.2-1ubuntu2
>  version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.15.0-3ubuntu2
>  version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20110411+8378443-1
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/compiz/+bug/806636/+subscriptions
>


-- 
Sam Spilsbury

-- 
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/806636

Title:
  [Oneiric] Compiz fails to update window title until focused window is
  changed unless window is maximized

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


References