Most of my choices in unity-tweak-tool are lost on reboot/logout

Bug #1157704 reported by Christopher Barrington-Leigh
22
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Unity Tweak Tool
Invalid
Undecided
Unassigned

Bug Description

I changed many preferences using unity-tweak-tool.
 Nearly all of my changes are lost when I next logged in. For instance, auto-raise behavoiur of windows, all my window snapping choices, workspace settings, etc. etc
Actually, most likely all of my choices were lost, even though they worked nicely for one session.

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: unity-tweak-tool 0.0.3
ProcVersionSignature: Ubuntu 3.8.0-13.23-generic 3.8.3
Uname: Linux 3.8.0-13-generic x86_64
ApportVersion: 2.9.2-0ubuntu1
Architecture: amd64
CrashDB: {"impl": "launchpad", "project": "unity-tweak-tool"}
Date: Wed Mar 20 08:59:13 2013
InstallationDate: Installed on 2013-03-18 (1 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Alpha amd64 (20130318)
MarkForUpload: True
PackageArchitecture: all
SourcePackage: unity-tweak-tool
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Christopher Barrington-Leigh (cpbl) wrote :
Revision history for this message
J Phani Mahesh (phanimahesh) wrote :

Were you using it from a Guest account or a normal User account?

Revision history for this message
Christopher Barrington-Leigh (cpbl) wrote :

My normal user account.
(This used to happen with some gnome-tweak-tool settings under 12.10 too...)

Revision history for this message
J Phani Mahesh (phanimahesh) wrote :

Please download the script at
    https://raw.github.com/phanimahesh/unity-revamp/stable/listall.py
and save it as listall.py in your Home folder.

Open unity-tweak-tool, customise your desktop, and after closing, open a terminal, and run
     python listall.py > GsettingsKeyDump.txt
This generates a file GsettingsKeyDump.txt in your home directory.

Reboot and after logging in, run
     python listall.py > GsettingsKeyDump_new.txt
This generates a file GsettingsKeyDump_new.txt in your home directory.

Then run
     diff GsettingsKeyDump.txt GsettingsKeyDump_new.txt
to list any changes that have occoured due to the reboot.

If you see any changes, please file a bug against Unity. If you do not see any changes, Unity may have failed to load the settings. a logout-login should very likely fix it.

Unity-tweak-tool can only request the settings backend to change its preferences. If changing a setting from the tool changes the output of the script (saved in the file. One line somewhere changes per setting. Use diff to locate faster.), unity-tweak-tool is working fine and you have discovered a bug in Unity.

Changed in unity-tweak-tool:
status: New → Incomplete
Revision history for this message
Christopher Barrington-Leigh (cpbl) wrote :

Thanks, I'm willing to try that, but now I'm not longer 100% sure that I've diagnosed the problem at the right level (you, too, by the sounds of it). Without any rebooting involved:

- If I turn OFF autoraise in unity-tweak-tool ->workspace settings ->additional

it has no immediate effect. (ie, with sloppy focus, windows come to the top of the stack if I hover over them for more than a second, like it did before I changed the setting).

Also, if I close unity-tweak tool and reopen it, I find that the setting for autoraise is turned back on.

For the other settings I tried (which gave trouble in my original report), this problem doesn't exist. So... maybe this is my only remaining problem?
I'll reboot etc later, but so that I know whether I should file a separate bug, can you check the autoraise feature?

Revision history for this message
Christopher Barrington-Leigh (cpbl) wrote :

Indeed, at least my favourite settings are now persistent across reboots (including "sloppy" focus), except for the auto-raise focus option.
I propose to close this bug and open one just about the auto-raise, which (a) doesn't have an effect and (b) is forgotten as soon as the unity-tweak-tool is close.

Thank you!

Revision history for this message
Barneedhar (barneedhar) wrote : Re: [Bug 1157704] Re: Most of my choices in unity-tweak-tool are lost on reboot/logout

Hi Christopher, in order for us to figure this bug and then fix it, we need
to know if you using the version from the raring archive or from the PPA.
Please run the command and give us the output:

    apt-cache policy unity-tweak-tool

If you are using the version from the archive, please try the one available
from our PPA (unity-tweak-tool daily PPA:
https://launchpad.net/~freyja-dev/+archive/unity-tweak-tool-daily). I guess
that would fix your issue with the auto-raise focus. But, even if the PPA
version doesn't fix the issue, we would at least know where to hunt for the
bug.

Thanks again for your interest in unity-tweak-tool and helping us make it
even better with your bug report.

On 28 March 2013 16:01, Christopher Barrington-Leigh
<email address hidden>wrote:

> Indeed, at least my favourite settings are now persistent across reboots
> (including "sloppy" focus), except for the auto-raise focus option.
> I propose to close this bug and open one just about the auto-raise, which
> (a) doesn't have an effect and (b) is forgotten as soon as the
> unity-tweak-tool is close.
>
> Thank you!
>
> --
> You received this bug notification because you are subscribed to Unity
> Tweak Tool.
> Matching subscriptions: unity-tweak-tool
> https://bugs.launchpad.net/bugs/1157704
>
> Title:
> Most of my choices in unity-tweak-tool are lost on reboot/logout
>
> Status in Unity Tweak Tool:
> Incomplete
>
> Bug description:
> I changed many preferences using unity-tweak-tool.
> Nearly all of my changes are lost when I next logged in. For instance,
> auto-raise behavoiur of windows, all my window snapping choices, workspace
> settings, etc. etc
> Actually, most likely all of my choices were lost, even though they
> worked nicely for one session.
>
> ProblemType: Bug
> DistroRelease: Ubuntu 13.04
> Package: unity-tweak-tool 0.0.3
> ProcVersionSignature: Ubuntu 3.8.0-13.23-generic 3.8.3
> Uname: Linux 3.8.0-13-generic x86_64
> ApportVersion: 2.9.2-0ubuntu1
> Architecture: amd64
> CrashDB: {"impl": "launchpad", "project": "unity-tweak-tool"}
> Date: Wed Mar 20 08:59:13 2013
> InstallationDate: Installed on 2013-03-18 (1 days ago)
> InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Alpha amd64
> (20130318)
> MarkForUpload: True
> PackageArchitecture: all
> SourcePackage: unity-tweak-tool
> UpgradeStatus: No upgrade log present (probably fresh install)
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/unity-tweak-tool/+bug/1157704/+subscriptions
>

Revision history for this message
Christopher Barrington-Leigh (cpbl) wrote :

unity-tweak-tool:
  Installed: 0.0.3
  Candidate: 0.0.3
  Version table:
 *** 0.0.3 0
        500 http://ca.archive.ubuntu.com/ubuntu/ raring/universe amd64 Packages
        100 /var/lib/dpkg/status

So I added the PPA. No change. I'll describe a buggy behaviour, but I think this should be a new bug (yo utell me):

I click on Additional tab in workspace settings. I choose "restore defaults". auto-raise is shown off. focus is click.

With focus mode "click", windows come to the top when i click on them, regardless of the setting of "auto-raise". Also, if I turn auto-raise on, and close tweaktool and reopen it, auto-raise is "off".

With focus mode "sloppy", windows never come to the top when i mouse over them and wait, regardless of the setting of "auto-raise".

(n.b. this is the opposite behaviour from what I had before, when they always autoraised under sloppy. It has been this way ever since I tryied clicking "restore dfaults" using the raring archive.)

Revision history for this message
Barneedhar (barneedhar) wrote :

Thank you Christopher. We are tracking the status of this bug in bug 1160782.

Revision history for this message
J Phani Mahesh (phanimahesh) wrote :

This sounds related to #1160782.

Please report a new bug regarding the same or subscribe yourself to the bug linked above, as appropriate.

I am closing this bug as invalid since the original bug seems to be fixed without our intervention.

Changed in unity-tweak-tool:
status: Incomplete → Invalid
Revision history for this message
Bernard Peek (bap-shrdlu) wrote :

Bug appears to be in 14.04 release. Changes made with the unity-tweak-tool are not persistent. They are not saved when the program exits. There is no "save" option. I also tried running it as root, no difference.

Revision history for this message
Bernard Peek (bap-shrdlu) wrote :

Dconf editor shows the button-layout as "menu:minimize,maximize,close" so it appears that the configuration database is not being read or its settings are being ignored.

Revision history for this message
Attila Glück (attila-gluck) wrote :

@bap-shrdlu confirmed

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.