Page 1 of 3
Remember find mode between sessions
Posted: 31 Jul 2006 02:08
by jacky
Allright, little question for all the XYfanatics around here
I'm sure you guys all know the "Remember find mode between sessions" options (Config/Advanced), which makes it so when you close XY in find mode it will start up in find mode the next time and immediately re-run the last search.
But in order to work, you have to have "Save settings on exit" enabled.
Or it can actually also work without it, since you can save settings manually. But this can lead to "weird" things, like you quit XY in Find mode, have "Remember" checked, yet when starting you're NOT in Find mode (cause you don't have "Save Settings" on).
Or, quit in Browse mode, and when starting you find yourself on Find mode, same reasons ("Remember" but not "Save settings")
So my point is, having this option called "Remember Find mode between sessions" might sounds "confusing" ?
That said, I have no idea what it could be called!

So, any thoughts??
Re: Remember find mode between sessions
Posted: 31 Jul 2006 11:22
by admin

Here's an idea: I could simply write the value
immediately to the INI when it is changed. So it would be stored independently of "Save settings on exit". It would be okay to do so in this single case because, as jacky observed, the option does not make a lot of sense if not stored in the INI (it has no effect whatsoever on the running session).
Ceterum censeo: the label should be renamed. The original idea of the option is rather to
avoid that the app does a potentially longish search at start up. So it should be called something like "Don't search at start up" or so...
any ideas...??
Re: Remember find mode between sessions
Posted: 31 Jul 2006 12:19
by RalphM
admin wrote:
Here's an idea: I could simply write the value
immediately to the INI when it is changed. So it would be stored independently of "Save settings on exit".
Doesn't this still leave the possibility to set the find mode for startup some time during the current session, but then you keep working and w/o "Save on Exit" your XY starts with a find you didn't expect?
Re: Remember find mode between sessions
Posted: 31 Jul 2006 12:36
by admin
RalphM wrote:admin wrote:
Here's an idea: I could simply write the value
immediately to the INI when it is changed. So it would be stored independently of "Save settings on exit".
Doesn't this still leave the possibility to set the find mode for startup some time during the current session, but then you keep working and w/o "Save on Exit" your XY starts with a find you didn't expect?
No, not really. This way what happens will always correspond to the current setting of "Remember Find mode between sessions". If you forget your own settings it's your problem

Or?
Posted: 31 Jul 2006 16:36
by j_c_hallgren
I personally don't do "save on exit" but manually do a save whenever I've changed some option that I want to keep...but having a long-running search on startup could be irritating, so...
Just asking...might there be a way to maybe display some pop-up type message when start-up search is taking more than a brief time that states something like "executing saved search - cancel?" and would automatically go away at end of search if not replied to?
That's my 'thinking out loud' comment...
And yes, maybe renaming opt might help...
Posted: 31 Jul 2006 18:13
by jacky
Allright, so I was thinking about this, so here I go...
Actually, I normally have the "Remember" option off personnaly. Yet if I close XY with many Finding tabs, they'll be there when i start it over and each of them will remember its own search settings, as long as the active tab was NOT a Finding tab, but a Browsing one.
The only case in matter here is when the ACTIVE tab was a Finding tab. Especially because then, XY do the search on its startup, aka when still hidden, so one might thing he's not starting up or something as we have no indication to tell it actually is.
So maybe, and this looks like what j_c_hallgren suggested, make it that XY does his startup as now but, special case where the active tab is a Finding one: then show XY first, and
then start the search. Means no more need for a "whats a good name for this one" option

since one can see XY is doing a search, and also can press ESC to stop it anytime!!
What you think of this?
----
Little Offtopic: I think you got a bug somewhere with this. I was doing some tests, and I have now both "Remember" & "Save settings" enabled. I have a few Browsing tabs, and 3 Finding one. Each of thoose has different search results.
When I start XY, after closing it with a Finding tab as active tab, it will redo the search but NOT in the tab where it should be, instead it will use the Option setting (current, new tab or SR tab), which can lead to loosing a search (setting to SR tab makes it loose the SR tab results, overwritten by thoose of the "remembered" tab); or opening a new tab on startup with the results, leaving the tab they should have been in shown as Finding tab (icon), but activating it turns it into a Browsing one.
Posted: 31 Jul 2006 19:12
by admin
jacky wrote:Little Offtopic: I think you got a bug somewhere with this. I was doing some tests, and I have now both "Remember" & "Save settings" enabled. I have a few Browsing tabs, and 3 Finding one. Each of thoose has different search results.
When I start XY, after closing it with a Finding tab as active tab, it will redo the search but NOT in the tab where it should be, instead it will use the Option setting (current, new tab or SR tab), which can lead to loosing a search (setting to SR tab makes it loose the SR tab results, overwritten by thoose of the "remembered" tab); or opening a new tab on startup with the results, leaving the tab they should have been in shown as Finding tab (icon), but activating it turns it into a Browsing one.
Yep, true and I just fixed it. Thanks!
Posted: 01 Aug 2006 06:41
by admin
jacky wrote:So maybe, and this looks like what j_c_hallgren suggested, make it that XY does his startup as now but, special case where the active tab is a Finding one: then show XY first, and
then start the search. Means no more need for a "whats a good name for this one" option

since one can see XY is doing a search, and also can press ESC to stop it anytime!!

Not bad! Makes sense and better than to be greeted by a message box. I just added the "first show - then search".
Does everybody agree that the "Remember find mode between sessions" option is not necessary anymore? (Maybe you decide after you've seen it...) It always bugged me a bit that it breaks the rule "XY starts exactly as it was closed last time"...
Posted: 01 Aug 2006 09:09
by j_c_hallgren
In the CoreFTP software that I use, I give it a number of seconds after which it defaults to a specified action...during those seconds, it puts up a dialog/msg box with the options I can override (such as cancel, etc), but after that time is up, the box goes away by itself...
So...I was thinking something like, after maybe 1-2 seconds of searching, if not done, then put up a box saying something as I had suggested or "search in progress - continue/cancel" and default to continue...and box goes away after search is done...just to make it absolutely clear to newbies how to bail out if they wish...
Posted: 01 Aug 2006 16:07
by jacky
admin wrote:Does everybody agree that the "Remember find mode between sessions" option is not necessary anymore?
I do
Question though: didn't there used to be a "Press ESC to stop" message somewhere on the satusbar?? Maybe add it somewhere, like in the 2nd panel of the statusbar (after "x items scanned") just as a reminder

Posted: 02 Aug 2006 08:26
by admin
jacky wrote:Question though: didn't there used to be a "Press ESC to stop" message somewhere on the satusbar?? Maybe add it somewhere, like in the 2nd panel of the statusbar (after "x items scanned") just as a reminder

I was thinking the same yesterday, I was even thinking of the 2nd panel... so you are mind-reading, too...
Posted: 02 Aug 2006 17:25
by admin
admin wrote:Does everybody agree that the "Remember find mode between sessions" option is not necessary anymore?
I'd like to hear at least one other "go ahead" for this...
Posted: 02 Aug 2006 17:37
by j_c_hallgren
I've never used the "Remember find" option because I prefer not having some things done automatically on startup...and I suspect many users are similar...but they may not be posting here...the 'silent majority' maybe?
Posted: 02 Aug 2006 18:00
by admin
j_c_hallgren wrote:I've never used the "Remember find" option because I prefer not having some things done automatically on startup...and I suspect many users are similar...but they may not be posting here...the 'silent majority' maybe?
That's what I feared and why I double-asked... if I take it out it will be TRUE internally always and forever...
So I rather go for plan B: make immediate changes in the INI.
Do we need a better caption for the label...? like "Do not search right after start-up (unless your tab is locked to search)" ... this is a bad caption but the whole truth. "No search on startup"?
Posted: 02 Aug 2006 18:07
by j_c_hallgren
Maybe "Redo last search on startup"?