GNOME Bugzilla – Bug 702070
Settings migration from 3.4 to 3.8 incomplete
Last modified: 2013-06-21 08:48:17 UTC
Hi, Yesterday I've upgraded gnome-terminal (on debian unstable) from 3.4.1.1 to 3.8.2 and today when I booted my machine again and opened gnome-terminal, part of my profile settings were restored to the defaults. The "Use system theme color" checkbox was checked again. The value in the "Predefined color" dropmenu was still good, so it only was a matter of unticking the checkbox again. Also, the name of the profile is now "Unamed" instead of "Default" but this is probably minor.
Can you please attach a dump of the dconf and gconf settings? $ gconftool-2 --dump /apps/gnome-terminal $ dconf dump /org/gnome/terminal/
Created attachment 246618 [details] GConf dump
Created attachment 246620 [details] dconf dump I'm not sure this is relevant as I changed things in it afterward
OK I've reset the dconf config (dconf reset -f /org/gnome/terminal/) and then ran the /usr/lib/gnome-terminal/gnome-terminal-migration tool again. "dconf dump /org/gnome/terminal/" is now giving me [legacy] schema-version=uint32 3
Is that dconf dump in comment 3 from the fresh migration?
Also, do these commands return both 'false' ? $ gconftool-2 --get /apps/gnome-terminal/profiles/Default/use_theme_colors $ gconftool-2 --get --ignore-schema-defaults /apps/gnome-terminal/profiles/Default/use_theme_colors
Yes both are returning false About comment 5, as said this was not directly after the migration
Then I don't see any way that the use_theme_colors dconf pref could have ended up anything but 'false'. As for "Unnamed", that might happen if $ gconftool-2 --get --ignore-schema-defaults /apps/gnome-terminal/profiles/Default/visible_name returned unset. I guess in that case could use "Default" instead of "Unnamed" for the default profile's name, but that's a string change and can't be done for 3.8 only 3.10.
> gconftool-2 --get --ignore-schema-defaults /apps/gnome-terminal/profiles/Default/visible_name Is returning "Par défaut"
Created attachment 246667 [details] Gconf dump from 2nd machine Alright, on my computer at home it's working as expected
Using "Default" for default profile name (if unset) on master now. Looking at the code, the other problem (system colours) shouldn't be happening, so no idea what went wrong. If you see it again (unlikely), please re-open.
Well the most noticeable difference between the gconf config that was successfully migrated and the one that didn't is the lack of: <entry> <key>global/profile_list</key> <value> <list type="string"> <value> <string>Default</string> </value> </list> </value> </entry> Couldn't this be related?
Don't think so. The migration code uses gconf_client_get() which consults the gconf schema if there's no explicit value set, and the schema has that key as ["Default"].