Thanks.

I tried on my other up to date Trusty box last night and I can't
reproduce the issue anymore (with the patch in), so a bit more info:

The issues found:

1) updateSetting  (in gsettings/src/gsettings.c) always uses readOption
(even when integration is turned on). This function should use
readIntegratedOption when integration is turned on (as readSetting
does).

2) ccsGSettingsIntegratedSettingWriteValue (in
ccs_gnome_integration_gsettings_integrated_setting.c) function is called
when writing a new value to gsettings backend. In this function,
newVariant is set only when the old a new values differ but at the end
of the function, the key is reset when newVariant is NULL.

Testing:

The two packages you want to update are (at least) libcompizconfig0 and
compiz-gnome.

If you want to test the patch, please make sure to restart compiz (and
ccsm if currently running) after installing the new packages. Maybe
better just to reboot the box after install when testing (just to be
sure the new libraries are used). If your settings are reset at this
stage, set the settings as you like and start testing now :-).

Also note that if you are using the "Flat file workaround" or Gsettings
backend with "desktop integration" disabled this patch should not affect
you. So to verify the patch actually fixes the issue, you should export
your settings, switch to gsettings backend and turn on desktop
integration and import your settings.

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

Title:
  1:0.9.8+bzr3319-0ubuntu1 regression: keeps setting gsettings keys to
  wrong values

Status in Compiz:
  In Progress
Status in “compiz” package in Ubuntu:
  Confirmed

Bug 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+bzr3319-0ubuntu1, compiz/unity keeps messing up my 
gsettings (keybindings and WM prefs). This was already covered in bug 1042041, 
but the change there mostly caused the bug to happen consistently now.

  At every session startup I have a script to fix my settings like this:

  --------------- 8< ----------------
  gsettings reset org.gnome.desktop.wm.preferences auto-raise
  gsettings set org.gnome.desktop.wm.keybindings lower "['<Alt>b']"
  gsettings set org.gnome.desktop.wm.keybindings maximize "['<Super>Up']"
  gsettings set org.gnome.desktop.wm.keybindings unmaximize "['<Super>Down']"
  gsettings set org.gnome.desktop.wm.preferences focus-mode sloppy
  --------------- 8< ----------------

  But after restarting compiz, it changes the settings to:

  --------------- 8< ----------------
  $ gsettings get org.gnome.desktop.wm.preferences auto-raise
  true
  $ gsettings get org.gnome.desktop.wm.keybindings lower
  ['disabled']
  $ gsettings get org.gnome.desktop.wm.keybindings maximize
  ['<Control><Primary><Super>Up']
  $ gsettings get org.gnome.desktop.wm.keybindings unmaximize
  ['<Control><Primary><Super>Down']
  $ gsettings get org.gnome.desktop.wm.preferences focus-mode
  'click'
  --------------- 8< ----------------

  I tried to move away /usr/bin/session-migration, that does not change
  anything, so it's not that script.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: compiz 1:0.9.8.4-0ubuntu1
  ProcVersionSignature: Ubuntu 3.5.0-17.27-generic 3.5.5
  Uname: Linux 3.5.0-17-generic x86_64
  .tmp.unity.support.test.0:

  ApportVersion: 2.6.1-0ubuntu1
  Architecture: amd64
  CompizPlugins: 
[core,composite,opengl,compiztoolbox,decor,vpswitch,snap,mousepoll,resize,place,move,wall,grid,regex,imgpng,session,gnomecompat,animation,fade,unitymtgrabhandles,workarounds,scale,expo,ezoom,unityshell]
  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
  PackageArchitecture: all
  PlymouthDebug: Error: [Errno 13] Keine Berechtigung: 
'/var/log/plymouth-debug.log'
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=de_DE.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.5.0-17-generic 
root=UUID=8f327c01-56d7-401c-8bd1-5442854e3c85 ro quiet splash vt.handoff=7
  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.asset.tag: No Asset Information
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Not Available
  dmi.modalias: 
dmi:bvnLENOVO:bvr6QET46WW(1.16):bd06/07/2010:svnLENOVO:pn3323REG:pvrThinkPadX201:rvnLENOVO:rn3323REG:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
  dmi.product.name: 3323REG
  dmi.product.version: ThinkPad X201
  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.libgl1-mesa-dri: libgl1-mesa-dri 9.0~git20121004.b2048c5e-0ubuntu1
  version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
  version.libgl1-mesa-glx: libgl1-mesa-glx 9.0~git20121004.b2048c5e-0ubuntu1
  version.xserver-xorg-core: xserver-xorg-core 2:1.13.0-0ubuntu5
  version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.7.3-0ubuntu1
  version.xserver-xorg-video-ati: xserver-xorg-video-ati 
1:6.99.99~git20120913.8637f772-0ubuntu1
  version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.20.9-0ubuntu2
  version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 
1:1.0.2-0ubuntu3

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to