Bug 1319610 - Dconf and dconf-editor show different results for the same schema.
Summary: Dconf and dconf-editor show different results for the same schema.
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: dconf
Version: 7.3
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: rc
: ---
Assignee: Marek Kašík
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-21 08:25 UTC by Pavlin Georgiev
Modified: 2016-03-21 10:26 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-03-21 10:26:14 UTC
Target Upstream Version:


Attachments (Terms of Use)
Dconf output (128 bytes, text/plain)
2016-03-21 08:34 UTC, Pavlin Georgiev
no flags Details
Dconf-editor output (100.79 KB, image/png)
2016-03-21 08:35 UTC, Pavlin Georgiev
no flags Details
Gsettings output (586 bytes, text/plain)
2016-03-21 08:35 UTC, Pavlin Georgiev
no flags Details

Description Pavlin Georgiev 2016-03-21 08:25:43 UTC
Description of problem:
dconf and dconf-editor show different results for the same schema.


Version-Release number of selected component (if applicable):
OS: RHEL 7.3 Beta (Maipo)
Name        : dconf
Version     : 0.22.0
Release     : 2.el7
Architecture: x86_64

Name        : dconf-editor
Version     : 0.22.0
Release     : 2.el7
Architecture: x86_64


How reproducible:
Start GNOME session.
Compare the output of dconf-editor, gsettings and dconf for the same scheme.
It is org.gnome.desktop.interface


Steps to Reproduce:
1. Run dconf-editor and search for the following schema: org.gnome.desktop.interface .
2. Make a screenshot.
3. Open the terminal and type: gsettings list-keys org.gnome.desktop.interface .
4. Save the output to a file
5. Open the terminal and type:dconf list "/org/gnome/desktop/interface/"
6. Save the output to a file.
7. Compare the results

Actual results:
See attachments.

Expected results:
dconf and dconf-editor should show the same keys in the same schema.

Additional info:

Comment 1 Pavlin Georgiev 2016-03-21 08:34:36 UTC
Created attachment 1138481 [details]
Dconf output

Comment 2 Pavlin Georgiev 2016-03-21 08:35:08 UTC
Created attachment 1138482 [details]
Dconf-editor output

Comment 3 Pavlin Georgiev 2016-03-21 08:35:48 UTC
Created attachment 1138483 [details]
Gsettings output

Comment 5 Marek Kašík 2016-03-21 10:26:14 UTC
(In reply to Pavlin Georgiev from comment #0)
> Expected results:
> dconf and dconf-editor should show the same keys in the same schema.

It shouldn't unless you've already changed all keys in the directory and haven't added some other. DConf just stores the values and doesn't read schemas. You can save there even keys which are not in the corresponding schema.
dconf-editor access the schemas so it sees all the keys but this is necessary to allow users to change the values. Maybe the name of the app is misleading here, it should be probably named like gsettings-editor.


Note You need to log in before you can comment on or make changes to this bug.