GNOME Bugzilla – Bug 737027
gtkinspector doesn't run if custom GSETTINGS_SCHEMA_DIR specified
Last modified: 2014-09-20 23:54:31 UTC
$ rpm -q gtk3 gtk3-3.13.9-1.fc21.x86_64 If running virt-manager from a git checkout, we set GSETTINGS_SCHEMA_DIR to point at a local compiled copy of our gsettings schema, so the app runs with the latest schema and doesn't crash trying to read unknown settings. However setting GSETTINGS_SCHEMA_DIR like this prevents the inspector from running, the key combos don't generate any result. I've verified that dropping the environment over-ride makes it work correctly. Maybe this is NOTABUG, or we should be doing something differently in virt-manager. Tips appreciated
Gtk is using gsettings too. Setting the schema dir like that prevents gtk from finding its own schemas. In particular the ones related to the inspector. We have a setting to enable/disable the keyboard shortcut. Seems that we default to 'off' for that...
oh, I assumed it worked like LD_LIBRARY_PATH or PYTHONPATH, where a custom path just takes precedence but doesn't remove the system path from the search list.