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 681468 - No means to limit number of files shown in Recent
No means to limit number of files shown in Recent
Status: RESOLVED OBSOLETE
Product: nautilus
Classification: Core
Component: general
3.5.x
Other Linux
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-08-08 17:08 UTC by Doug McMahon
Modified: 2021-06-18 15:29 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Doug McMahon 2012-08-08 17:08:05 UTC
There seems to be no setting to adjust what's shown in Places > Recent, either by number or age.
At least here, Ubuntu 12.10, nautilus 3.5.5, it just shows all previously opened, currently after a week have 1083 files in Recent
Comment 1 André Klapper 2012-08-08 19:03:37 UTC
Is there a reason why it should be limited?
Do you see performance issues, or something else?
Comment 2 André Klapper 2012-08-16 17:02:38 UTC
==> NEEDINFO
Comment 3 Jean-François Fortin Tam 2012-09-08 03:17:12 UTC
I'll venture a guess:
- Over a hundred items, people are not really going to bother looking further
- Performance may be affected?
- Perhaps it could add more items on the fly if the user scrolls towards the bottom (like twitter does)
Comment 4 Donjan Rodic 2012-10-02 09:44:42 UTC
Confirming this bug. My main reasoning is that this is a privacy issue: on a kiosk (or other shared machine), every user can see the perviously accessed files.
Setting

gtk-recent-files-max-age=0
gtk-recent-files-limit=0

in

~/.config/gtk-3.0/settings.ini

doesn't seem to work. The only useful workaround is

chattr +i .local/share/recently-used.xbel

but then you always see error messages when launching GTK apps from a terminal.
Comment 5 Donjan Rodic 2012-10-02 10:36:51 UTC
Searching a bit further showed the need to add a tag in front of the above lines.
This keeps the recently-used.xbel empty and the Places menu correctly greyed out:

[Settings]
gtk-recent-files-max-age=0
gtk-recent-files-limit=0
Comment 6 Doug McMahon 2012-10-02 21:46:58 UTC
The problem with a gtk-3.0/settings.ini is it doesn't work with anything other than 0 which defeats the whole purpose of a Recent place.

There doesn't seem to be any performance issue, it's more about "Recent"
I'm pretty sure almost all users don't consider "Recent" to mean "History" & Recent should reflect recently accessed/used, not every entry in recently-used.xbel that nautilus draws from.to pop. the place
Comment 7 António Fernandes 2013-07-05 18:25:08 UTC
The privacy aspect is covered by the new Privacy Settings ('gnome-control-center privacy'). It lets us turn recent history off or change the max-age.

So, we are left here with the performance issue (bug 682836), which is blocking bug 680982.

(In reply to comment #3)
> - Perhaps it could add more items on the fly if the user scrolls towards the
> bottom (like twitter does)

This is has also been proposed for Search on bug 698906.
Comment 8 André Klapper 2021-06-18 15:29:26 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version of Files (nautilus), then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a new ticket at
  https://gitlab.gnome.org/GNOME/nautilus/-/issues/

Thank you for your understanding and your help.