[fglrx] Title bar does not update on non-maximized windows
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Compiz |
Fix Released
|
Medium
|
Łukasz Zemczak | |||
Compiz Core | Status tracked in 0.9.7 | |||||
0.9.7 |
Fix Released
|
Medium
|
Łukasz Zemczak | |||
One Hundred Papercuts |
Invalid
|
Undecided
|
Unassigned | |||
openSUSE |
Invalid
|
Undecided
|
Unassigned | |||
compiz (Ubuntu) |
Fix Released
|
Undecided
|
Łukasz Zemczak | |||
Precise |
Fix Released
|
Undecided
|
Łukasz Zemczak |
Bug Description
[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.
[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:/
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/
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:/
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: unity 3.8.10-0ubuntu2
ProcVersionSign
Uname: Linux 2.6.38-8-generic x86_64
NonfreeKernelMo
Architecture: amd64
CompizPlugins: [core,bailer,
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]
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Beta amd64 (20110413)
InstallationMedia_: Ubuntu 11.04 "Natty Narwhal" - Beta amd64 (20110413)
InstallationMed
InstallationMed
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
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
ProcVersionSign
ProcVersionSign
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.
dmi.chassis.type: 3
dmi.chassis.vendor: Hewlett-Packard
dmi.modalias: dmi:bvnAmerican
dmi.product.name: p6774y
dmi.sys.vendor: Hewlett-Packard
version.compiz: compiz 1:0.9.4+
version.
version.ia32-libs: ia32-libs 20090808ubuntu13
version.libdrm2: libdrm2 2.4.23-1ubuntu6
version.
version.
version.
version.
version.
version.
version.
Related branches
- Didier Roche-Tolomelli: Approve
-
Diff: 152 lines (+132/-0)3 files modifieddebian/changelog (+8/-0)
debian/patches/series (+1/-0)
debian/patches/workaround_770283.patch (+123/-0)
- Daniel van Vugt: Approve
- Sam Spilsbury: Approve
-
Diff: 102 lines (+43/-19)2 files modifiedplugins/decor/src/decor.cpp (+41/-19)
plugins/decor/src/decor.h (+2/-0)
- Daniel van Vugt: Approve
- Sam Spilsbury: Approve
-
Diff: 109 lines (+18/-42)2 files modifiedplugins/decor/src/decor.cpp (+18/-40)
plugins/decor/src/decor.h (+0/-2)
- Sam Spilsbury: Needs Resubmitting
- Didier Roche-Tolomelli: Needs Fixing
- Daniel van Vugt: Approve
-
Diff: 171 lines (+22/-124)4 files modifieddebian/changelog (+10/-0)
debian/patches/fix_770283.patch (+11/-0)
debian/patches/series (+1/-1)
debian/patches/workaround_770283.patch (+0/-123)
affects: | unity (Ubuntu) → compiz (Ubuntu) |
affects: | unity → compiz |
summary: |
- title bar does not update on non-maximized windows + [fglrx]title bar does not update on non-maximized windows |
Changed in compiz: | |
status: | New → Confirmed |
Changed in unity: | |
status: | New → Confirmed |
Changed in compiz (Ubuntu): | |
status: | New → Confirmed |
Changed in fglrx-installer (Ubuntu): | |
status: | New → Confirmed |
Changed in compiz-core: | |
status: | Confirmed → In Progress |
assignee: | nobody → Łukasz Zemczak (sil2100) |
importance: | Undecided → Medium |
no longer affects: | unity |
Changed in compiz (Ubuntu): | |
assignee: | nobody → Łukasz Zemczak (sil2100) |
description: | updated |
Changed in compiz (Ubuntu): | |
status: | Confirmed → In Progress |
Changed in compiz (Ubuntu): | |
status: | In Progress → Fix Committed |
tags: |
added: verification-done removed: verification-needed |
Changed in compiz: | |
status: | New → Fix Committed |
importance: | Undecided → Medium |
assignee: | nobody → Łukasz Zemczak (sil2100) |
milestone: | none → 0.9.8.0 |
no longer affects: | compiz-core/0.9.8 |
Changed in compiz-core: | |
status: | Fix Committed → Fix Released |
Changed in compiz: | |
status: | Fix Committed → Fix Released |
affects: | compiz (openSUSE) → opensuse |
Changed in opensuse: | |
status: | New → Invalid |
Note that this may not be unity specific, I am also seeing this on a Fedora Core 13 machine, at least under Gnome terminal: the window title show in the panel changes, but not the title on the window itself. Changing tabs in firefox updates the title bar no problem.
gnome-terminal- 2.30.1- 1.fc13. i686 2.30.0- 1.fc13. i686 2.24.3- 1.fc13. i686 3.6.16- 1.fc13. i686
libgnome-
libgnomeui-
firefox-