Purging MRUs

Ideas for improvements and requests for new features in XnView Classic

Moderators: XnTriq, xnview

Post Reply
User avatar
XnTriq
Moderator & Librarian
Posts: 5447
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Purging MRUs

Post by XnTriq » Thu Jan 28, 2016 4:30 pm

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.

User avatar
xnview
Author of XnView
Posts: 31737
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Purging MRUs

Post by xnview » Mon Feb 01, 2016 8:52 am

"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_*
Pierre.

User avatar
XnTriq
Moderator & Librarian
Posts: 5447
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Purging MRUs

Post by XnTriq » Mon Feb 01, 2016 3:45 pm

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

User avatar
xnview
Author of XnView
Posts: 31737
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Purging MRUs

Post by xnview » Thu Feb 04, 2016 3:27 pm

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?
Pierre.

User avatar
XnTriq
Moderator & Librarian
Posts: 5447
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Purging MRUs

Post by XnTriq » Thu Feb 04, 2016 4:45 pm

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?

Post Reply