Page 1 of 1

Purging MRUs

Posted: Thu Jan 28, 2016 4:30 pm
by XnTriq
Which settings are deleted if Purge 'Most Recently Used Files & Directories' on exit (Tools » Options... » Interface » Interface » Recent lists) is activated, and what gets deleted by executing Purge now?

PS: I'm asking because it might be worth considering to allow users to choose how much of the history is cleared.

Re: Purging MRUs

Posted: Mon Feb 01, 2016 8:52 am
by xnview
"Purge 'Most Recently Used Files & Directories' on exit" -->
- FileName_*
- DirName_*
- PathAvi
- PathConvertSave
- PathExport
- PathLoad
- PathSave
- PathSlide
- PathSlideScript
- Html/OutputDirectory
- MultFile/Directory
- Movie/Directory & Movie/Filename
- Scan/Directory
- Search/Directory
- Watermark/Path
- Rename/Template_*

"Purge now" -->
- FileName_*
- DirName_*

Re: Purging MRUs

Posted: Mon Feb 01, 2016 3:45 pm
by XnTriq
Thanks!

When are the search-terms in Tools » Search... deleted?
Are the DirName_* entries in both the [File] and the [Start] section removed on exit?
[color=green]xnview.ini[/color] wrote:
  • [Capture]
    • Directory
    [File]
    • DirName_0 / DirName_9
    [Html]
    • OutputDirectory
    [Iptc]
    • Path
    [Movie]
    • Directory
      Filename
    [MultFile]
    • Directory
    [Rename]
    • Template0 / Template19
    [Scan]
    • Directory
    [Search]
    • AllWord
      CommentWord
      DescriptionWord
      Directory
      ExifWord
      IptcWord
      Patt_0 / Patt_10
      Word
    [Similar]
    • Path
    [Start]
    • DirName_0 / DirName_9
      FileName_0 / FileName_9
      PathAvi
      PathBrowse
      PathConvertSave
      PathExport
      PathLoad
      PathPalette
      PathSave
      PathSaveAll
      PathScript
      PathSlide
      PathSlideScript
    [Watermark]
    • Path

Re: Purging MRUs

Posted: Thu Feb 04, 2016 3:27 pm
by xnview
XnTriq wrote: When are the search-terms in Tools » Search... deleted?
Are the DirName_* entries in both the [File] and the [Start] section removed on exit?
never, you think that i should delete them too?

Re: Purging MRUs

Posted: Thu Feb 04, 2016 4:45 pm
by XnTriq
xnview wrote:never, you think that i should delete them too?
Please take a look at this related topic, Pierre:
AdrianK_IT ([url=http://newsgroup.xnview.com/viewtopic.php?p=129872#p129872]Search Function: Filename Drop Down Menu[/url]) wrote:Re the search function, have experimented further with that, and I can get the behaviour I desire. From a starting point of not remembering search terms, I launch XnView, deselect 'Purge ... on exit', search terms are then remembered. However, to clear search terms, I have to select 'Purge ... on exit', and then close and relaunch XnView twice! Bizarre!

The 'Purge now' option seems to have no effect whatsoever.
If I'm not mistaken, this feature was introduced mainly due to privacy concerns. So, yes, I think search-terms should be deleted too.
Here's what I meant by “allowing users to choose how much of the history is cleared”:
IMHO, the Purge now button should remove the same INI entries as Purge 'Most Recently Used Files & Directories' on exit.
I'm also suggesting to add a command to the File » Recent files menu for clearing the most recently used files list:
  • Fookes NoteTab: File » Reopen » Clear List
  • Notepad++: File » Empty Recent Files List
BTW: What are the DirName_* entries in the [File] section for?