Page 1 of 1

Keep dialog Settings from previous usage

Posted: 2009-12-02, 14:31 UTC
by MikeDundee
Hi, it would be useful if dialog settings would keep their values from the previous usage.

For example:
1) I often use "Find Files" (Alt+F7) dialog and turn on "Find Text" or "RegEx" checkbox. I find some files, look at them and then try to perform another "find files" query. However all the checkboxes I checked in previous search are unchecked and I have to tune the settings again... This is really annoying... Save/load is not suitable for me, since after a few uses I construct another search query, or tweak the current one a bit (so I would end up with many useless saved search queries...)

2) When I synchronize directories, I often use "*.*|.svn\" filter because I don't want .svn files to mess the comparison. However whenever I enter "Synchronize directories" dialog, the filter is empty and I have to fill it again and again... It would be great if this field was set according to previous usage...

P.S. Multi-rename tool works as expected, it keeps its settings from the previous usage...

Posted: 2009-12-06, 14:25 UTC
by Postkutscher
2MikeDundee
I think my first suggestion from http://ghisler.ch/board/viewtopic.php?t=24726 is more universal than your one, but I could agree also with this variant if it would be implemented :)
Support.

Posted: 2009-12-06, 16:42 UTC
by MVV
I think for best case TC need some INI section and function that will restore previous states for all dialogs (e.g. line sample: SearchDlg=id_RegEx:1;id_utf8:3;...). I.e. immediately before show dialog to a user TC will call this function and it will check what fields/checkboxec needed to be changed. For all checkboxes there are at least 4 values needed: 0 (always unchecked), 1 (always checked), 2 (last unchecked, keep state), 3 (last checked, keep state). In dialog sysmenu TC may add some item for saving current state of checkboxes etc. This will be a global, flexible and compact solution for every dialog.