GtkFileChooser doesn't show all recent files
Steps to reproduce
- Populate your recent file list (check with nautilus)
- Open some application that uses Gtk (gedit), try to open some file
- The file chooser dialog doesn't show all the recent files
Current behavior
Shows only some recent files
Expected outcome
Show all recent files that pass the filter
Version information
I'm running Debian Testing with gtk 3.22.29
Additional information
In nautilus recent menu I have 18 .py files, when I open gedit and try to open files from the recent list there are only two of them (py files). It seems that the recent file list is limited by age. I've looked at the source code and found some hardcoded limits to the number of items in the recent file list but I get less items than that limit (50 is the limit, I get about 38 items). Also found a reference to a "gtk-recent-files-max-age" that when set to zero should no clamp the recent file list by age but adding those lines to settings.ini did nothing and the key is not present in dconf or gsettings.