Skip to content

Move frequent locations to separate XML file#622

Open
ph10w wants to merge 1 commit into
derceg:masterfrom
ph10w:mv-freq-loc
Open

Move frequent locations to separate XML file#622
ph10w wants to merge 1 commit into
derceg:masterfrom
ph10w:mv-freq-loc

Conversation

@ph10w

@ph10w ph10w commented Jul 15, 2026

Copy link
Copy Markdown

Summary

  • store frequent locations in a separate frequent_locations.xml file when XML preferences are enabled
  • load legacy frequent-location data from config.xml when the new file does not exist, allowing it to migrate on the next save
  • derive the new file path from the configured config.xml location, including when EXPLORERPP_CONFIG is used
  • keep registry-based preference storage unchanged

Motivation

Frequent locations are machine-specific usage data rather than portable application preferences. Keeping them in config.xml makes that file less suitable for reuse on another PC.

User impact

Users can copy config.xml between machines without also copying their frequent-location history. Existing XML configurations migrate automatically without losing their current frequent locations.

Validation

  • built Explorer++ in Release|x64
  • built TestExplorer++ in Release|x64
  • passed all 12 FrequentLocations* tests
  • passed StorageTest.ConfigEnvVar and StorageTest.FrequentLocationsFilePath

@ph10w
ph10w marked this pull request as ready for review July 17, 2026 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant