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 675961 - (RocketZX) There should be a way to disable logging to recently-used.xbel
There should be a way to disable logging to recently-used.xbel
Status: RESOLVED DUPLICATE of bug 667252
Product: gtk+
Classification: Platform
Component: Widget: GtkFileChooser
Other All
: Normal minor
: ---
Assigned To: gtk-bugs
Federico Mena Quintero
Depends on:
Reported: 2012-05-13 02:03 UTC by Rocket
Modified: 2012-10-30 09:40 UTC
See Also:
GNOME target: ---
GNOME version: ---

Description Rocket 2012-05-13 02:03:12 UTC
as the summary says, i want to disable document history.
doing the obvious thing i unchecked "keep records of used files in document history"
but it doesn't work, i've opened and closed images (and gimp itself, even checked task manager), restarted my PC, and images still show up in recent history.
It worked in gimp 2.7.
Comment 1 Michael Natterer 2012-05-13 13:48:02 UTC
Disabling just prevents new files from entering the history, additionally
you have to clear the existing history.
Comment 2 Rocket 2012-05-13 16:08:37 UTC
Sorry should have mentioned I did clear the history each time as well.
Problem still persists, history is empty ,then I open a file, close Gimp, open it, file is still in history.
Comment 3 vaifrax 2012-09-14 22:10:48 UTC
I confirm, unchecking the 'keep record of used files in the Recent Documents list' check box does not seem to have any effect, images opened still enter the list.

Clearing the document history works.
I wouldn't consider this as a major bug, though.

(Win 7, 64 bit, GIMP 2.8.2, running as admin)
Comment 4 Max Mustermann 2012-09-17 19:40:08 UTC
Confirming this for the native Mac build of GIMP 2.8.2. and thus setting the OS field to 'All'. 
Increasing priority with reference to, as this can be seen as a seriously broken menu item, but not as high impact.
Comment 5 Michael Natterer 2012-09-20 17:25:26 UTC
Tracked it down. GIMP itself does nothing to add the file to the
recent list, it's the GTK+ file chooser which implicitly adds
the file upon confirming a load or save.

I'm tempted to simply remove that config option, since clearing
the history still works, it will simply add each newly opened
file, whether we want that or not.

Reassigning to GTK+ anyway, since this is a privacy issue of sorts,
maybe somebody has a comment.
Comment 6 Federico Mena Quintero 2012-09-25 21:11:04 UTC
GTK+'s file chooser puts files you choose into the recently-used list, so that you can find them easily from the GIMP itself and from other applications.

Symlinking /dev/null to ~/.local/share/recently-used.xbel doesn't work because Glib rewrites that file completely instead of preserving the symlink.

Would having such a symlink to /dev/null be the most convenient thing to you?  Or a GSettings configuration key?
Comment 7 Michael Natterer 2012-10-06 17:56:11 UTC
I'm not even sure if I really want this configurable on the system level,
but it has some similarity to browsers' "don't save foo history" privacy
settings. I guess if we add this, it should be a setting that any
application can use via GtkSettings, not some hidden internal hack
that only affects GtkFileChooser.
Comment 8 Alexandre Franke 2012-10-29 20:32:32 UTC
Should we close this as a duplicate of bug 667252 ?
Comment 9 Michael Natterer 2012-10-29 20:56:41 UTC

*** This bug has been marked as a duplicate of bug 667252 ***