microsoft / winfile

Original Windows File Manager (winfile) with enhancements
MIT License
6.75k stars 698 forks source link

Some saved settings are not respected when an initial directory is specified in the command line #440

Open saalkom opened 2 months ago

saalkom commented 2 months ago

When an initial directory is specified in the command line, WinFile respects all the previously-saved settings that are found under the 'Options' menu (and indeed opens to the same directory, window size and window position as at the time of the last settings-save), but no previously-saved settings that are found under the 'View' menu (i.e. tree vs. directory view; file detail visibility; sort order; filetype visibility) or the 'Tree' menu (i.e. visibility of branch-expandability indicators) are respected.

I have 'Save Settings on Exit' disabled, so only the settings that I have explicitly saved should be loaded. WinFile loads all my most-recently saved settings whenever an initial directory is not specified in the command line, including after I have closed an instance of WinFile (whether this instance had an initial directory specified in the command line or not) without explicitly saving any changes to WinFile settings (for whatever it's worth, I never have multiple instances of WinFile running simultaneously, and I don't even make use of the multiple document interface -- I only have a single directory/window open in WinFile at a time). This issue therefore probably cannot be attributed to my saved settings being somehow either corrupted or overwritten without my knowledge.

266 #431

WinFile version: 10.3.0.0