1:0.9.8+bzr3319-0ubuntu1 regression: keeps setting gsettings keys to wrong values
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Compiz |
Fix Released
|
High
|
Christopher Townsend | ||
0.9.11 |
Fix Released
|
High
|
Christopher Townsend | ||
compiz (Ubuntu) |
Fix Released
|
High
|
Christopher Townsend | ||
Trusty |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
Many users set custom shortcuts in Compiz for various functionality. When this issue hits, many, if not all, of these custom shortcuts get reset to the defaults which can cause much frustration in the user. It is a very bad user experience.
[Test case]
1. Open CCSM
2. Set a custom shortcut or change a behavior. For example, go to General Options->Focus & Raise Behavior and uncheck Click To Focus.
3. Restart the Unity session multiple times.
[Regression potential]
None identified.
* Debdiff is found at https:/
Original Description:
NOTE: This bug is for Ubuntu 12.10 and later only. If you experience something similar in 12.04 then please see bug 964270.
ORIGINAL DESCRIPTION:
Since version 1:0.9.8+
At every session startup I have a script to fix my settings like this:
--------------- 8< ----------------
gsettings reset org.gnome.
gsettings set org.gnome.
gsettings set org.gnome.
gsettings set org.gnome.
gsettings set org.gnome.
--------------- 8< ----------------
But after restarting compiz, it changes the settings to:
--------------- 8< ----------------
$ gsettings get org.gnome.
true
$ gsettings get org.gnome.
['disabled']
$ gsettings get org.gnome.
['<Control>
$ gsettings get org.gnome.
['<Control>
$ gsettings get org.gnome.
'click'
--------------- 8< ----------------
I tried to move away /usr/bin/
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: compiz 1:0.9.8.4-0ubuntu1
ProcVersionSign
Uname: Linux 3.5.0-17-generic x86_64
.tmp.unity.
ApportVersion: 2.6.1-0ubuntu1
Architecture: amd64
CompizPlugins: [core,composite
CompositorRunning: compiz
Date: Mon Oct 8 10:23:04 2012
DistUpgraded: Fresh install
DistroCodename: quantal
DistroVariant: ubuntu
EcryptfsInUse: Yes
GraphicsCard:
Intel Corporation Core Processor Integrated Graphics Controller [8086:0046] (rev 02) (prog-if 00 [VGA controller])
Subsystem: Lenovo Device [17aa:215a]
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Alpha amd64 (20120627)
MachineType: LENOVO 3323REG
PackageArchitec
PlymouthDebug: Error: [Errno 13] Keine Berechtigung: '/var/log/
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
XDG_RUNTIME_
LANG=de_DE.UTF-8
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: compiz
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 06/07/2010
dmi.bios.vendor: LENOVO
dmi.bios.version: 6QET46WW (1.16 )
dmi.board.name: 3323REG
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.name: 3323REG
dmi.product.
dmi.sys.vendor: LENOVO
version.compiz: compiz 1:0.9.8.4-0ubuntu1
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.39-0ubuntu1
version.
version.
version.
version.
version.
version.
version.
version.
Related branches
- Daniel van Vugt: Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 194 lines (+22/-22)7 files modifiedcompizconfig/gconf/src/gconf.c (+2/-2)
compizconfig/gsettings/src/gsettings.c (+2/-2)
compizconfig/libcompizconfig/backend/src/ini.c (+3/-3)
compizconfig/libcompizconfig/include/ccs.h (+4/-4)
compizconfig/libcompizconfig/src/main.c (+4/-4)
compizconfig/libcompizconfig/tests/compizconfig_test_ccs_mock_backend_conformance.cpp (+1/-1)
compizconfig/mocks/libcompizconfig/compizconfig_ccs_setting_mock.h (+6/-6)
- Daniel van Vugt: Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 240 lines (+88/-53)2 files modifiedcompizconfig/libcompizconfig/include/ccs.h (+14/-3)
compizconfig/libcompizconfig/src/main.c (+74/-50)
- PS Jenkins bot (community): Needs Fixing (continuous-integration)
- Daniel van Vugt: Approve
-
Diff: 598 lines (+379/-158)3 files modifiedcompizconfig/libcompizconfig/include/ccs.h (+25/-0)
compizconfig/libcompizconfig/src/compiz.cpp (+208/-153)
compizconfig/libcompizconfig/tests/compizconfig_test_ccs_setting.cpp (+146/-5)
- Daniel van Vugt: Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 402 lines (+370/-1)2 files modifiedcompizconfig/libcompizconfig/tests/CMakeLists.txt (+2/-1)
compizconfig/libcompizconfig/tests/compizconfig_test_ccs_setting.cpp (+368/-0)
- Daniel van Vugt: Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 164 lines (+150/-0)1 file modifiedcompizconfig/libcompizconfig/tests/compizconfig_test_ccs_setting.cpp (+150/-0)
- Sam Spilsbury: Approve
- PS Jenkins bot (community): Approve (continuous-integration)
- Daniel van Vugt: Approve
-
Diff: 913 lines (+645/-109)5 files modifiedcompizconfig/libcompizconfig/include/ccs.h (+14/-3)
compizconfig/libcompizconfig/src/compiz.cpp (+0/-55)
compizconfig/libcompizconfig/src/main.c (+129/-50)
compizconfig/libcompizconfig/tests/CMakeLists.txt (+2/-1)
compizconfig/libcompizconfig/tests/compizconfig_test_ccs_setting.cpp (+500/-0)
- PS Jenkins bot (community): Needs Fixing (continuous-integration)
- Sam Spilsbury: Approve
- Daniel van Vugt: Approve
-
Diff: 585 lines (+407/-41)1 file modifiedcompizconfig/libcompizconfig/tests/compizconfig_test_ccs_setting.cpp (+407/-41)
- Daniel van Vugt: Approve
- PS Jenkins bot (community): Approve (continuous-integration)
- Sam Spilsbury: Pending requested
-
Diff: 1565 lines (+692/-261)4 files modifiedcompizconfig/libcompizconfig/include/ccs.h (+57/-48)
compizconfig/libcompizconfig/src/main.c (+120/-119)
compizconfig/libcompizconfig/tests/compizconfig_test_ccs_setting.cpp (+445/-36)
compizconfig/mocks/libcompizconfig/compizconfig_ccs_setting_mock.h (+70/-58)
- Marco Trevisan (Treviño): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 612 lines (+282/-79)1 file modifiedcompizconfig/libcompizconfig/tests/compizconfig_test_ccs_setting.cpp (+282/-79)
- Sam Spilsbury: Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 26 lines (+6/-3)1 file modifiedcompizconfig/libcompizconfig/tests/compizconfig_test_ccs_setting.cpp (+6/-3)
- Brandon Schaefer (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 39 lines (+9/-5)2 files modifiedcompizconfig/gsettings/src/gsettings.c (+9/-3)
compizconfig/integration/gnome/gsettings/src/ccs_gnome_integration_gsettings_integrated_setting.c (+0/-2)
- Stephen M. Webb: Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 358 lines (+106/-19)13 files modifiedcompizconfig/gsettings/src/gsettings.c (+9/-3)
compizconfig/integration/gnome/gsettings/src/ccs_gnome_integration_gsettings_integrated_setting.c (+0/-2)
debian/changelog (+26/-0)
plugins/place/src/place.cpp (+2/-0)
plugins/place/src/screen-size-change/include/screen-size-change.h (+2/-0)
plugins/place/src/screen-size-change/src/screen-size-change.cpp (+6/-3)
plugins/place/src/screen-size-change/tests/screen-size-change/src/test-place-screen-size-change.cpp (+7/-0)
plugins/resize/src/logic/include/resize-logic.h (+3/-0)
plugins/resize/src/logic/src/resize-logic.cpp (+20/-5)
src/event.cpp (+2/-0)
src/screen.cpp (+2/-3)
src/window.cpp (+26/-3)
src/window/extents/src/windowextents.cpp (+1/-0)
Changed in compiz (Ubuntu): | |
status: | New → Confirmed |
Changed in compiz: | |
status: | New → Confirmed |
Changed in compiz: | |
milestone: | none → 0.9.9.0 |
Changed in compiz: | |
assignee: | nobody → Sam Spilsbury (smspillaz) |
importance: | Undecided → Medium |
Changed in compiz: | |
status: | Confirmed → In Progress |
Changed in compiz (Ubuntu): | |
status: | Confirmed → In Progress |
description: | updated |
Changed in compiz (Ubuntu): | |
assignee: | nobody → Sam Spilsbury (smspillaz) |
importance: | Undecided → Medium |
Changed in compiz: | |
status: | In Progress → Fix Committed |
Changed in compiz: | |
status: | In Progress → Fix Committed |
Changed in compiz: | |
status: | Fix Committed → In Progress |
Changed in compiz: | |
status: | In Progress → Fix Committed |
Changed in compiz: | |
status: | In Progress → Fix Committed |
Changed in compiz: | |
status: | Fix Committed → In Progress |
Changed in compiz: | |
status: | In Progress → Fix Committed |
Changed in compiz: | |
status: | Fix Committed → In Progress |
Changed in compiz: | |
status: | In Progress → Fix Committed |
Changed in compiz: | |
status: | Fix Committed → In Progress |
Changed in compiz: | |
milestone: | 0.9.9.0 → 0.9.9.2 |
Changed in compiz: | |
status: | In Progress → Fix Committed |
Changed in compiz: | |
milestone: | 0.9.9.2 → 0.9.10.0 |
Changed in compiz: | |
status: | Fix Committed → Fix Released |
Changed in compiz (Ubuntu): | |
assignee: | Sam Spilsbury (smspillaz) → nobody |
Changed in compiz: | |
assignee: | Sam Spilsbury (smspillaz) → nobody |
Changed in compiz (Ubuntu): | |
status: | Confirmed → In Progress |
assignee: | nobody → Christopher Townsend (townsend) |
Changed in compiz: | |
status: | In Progress → Fix Committed |
milestone: | 0.9.11.0 → 0.9.12.0 |
description: | updated |
description: | updated |
description: | updated |
tags: |
added: verification-done removed: verification-needed |
Changed in compiz: | |
status: | Fix Committed → Fix Released |
I disabled all *.convert files in /usr/share/ GConf/gsettings and restarted again. This caused "org.gnome. desktop. wm.preferences auto-raise" to now remain on false, so it seems this key is affected by the gconf migration. This is handled by wm-schemas.convert:
auto-raise = /apps/metacity/ general/ auto_raise
However, the gconf value is correct:
$ gconftool -g /apps/metacity/ general/ auto_raise
false
All other keys have the same wrong default value still, so for the keybindings and focus values it's compiz itself which apparently resets the values to their schema defaults on every startup?