After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 791694 - Stop reloading SchemaSource every 3 seconds
Stop reloading SchemaSource every 3 seconds
Status: RESOLVED OBSOLETE
Product: dconf-editor
Classification: Other
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: dconf-editor maintainer(s)
dconf-editor maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2017-12-17 03:47 UTC by Arnaud B.
Modified: 2019-03-20 10:40 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Arnaud B. 2017-12-17 03:47:02 UTC
Refreshing SchemaSource every 3 seconds is clearly not the correct way to do things –it was just the best that could be done without adapting the GLib. So now that’s working, it would be great to add in the GLib the functions needed to do that a correct way, by monitoring changes in the schema dirs.

I’m bad at low-level abstractions, but that probably needs:
 * monitoring every directory with schemas (or empty) detected at first pass using g_file_monitor_directory;
 * monitoring the creation of the missing directories that might contains schemas (not sure how g_file_monitor_directory acts then);
 * maybe a function to say “start/stop monitoring”?
 * a signal for saying an update is needed;
 * and a g_settings_schema_source_get_updated function returning an updated SchemaSource, of course. ^^
Comment 1 GNOME Infrastructure Team 2019-03-20 10:40:32 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/dconf-editor/issues/25.