Remember find mode between sessions

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
jacky
XYwiki Master
Posts: 3106
Joined: 23 Aug 2005 22:25
Location: France
Contact:

Remember find mode between sessions

Post 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! :roll: So, any thoughts??
Proud XYplorer Fanatic

admin
Site Admin
Posts: 66075
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Remember find mode between sessions

Post by admin »

:idea: 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...??

RalphM
Posts: 2086
Joined: 27 Jan 2005 23:38
Location: Cairns, Australia

Re: Remember find mode between sessions

Post by RalphM »

admin wrote::idea: 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?
Ralph :)
(OS: W11 25H2 Home x64 - XY: Current x64 beta - Office 2024 64-bit - Display: 1920x1080 @ 125%)

admin
Site Admin
Posts: 66075
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Remember find mode between sessions

Post by admin »

RalphM wrote:
admin wrote::idea: 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 :wink: Or?

j_c_hallgren
XY Blog Master
Posts: 5826
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Post 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...
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

jacky
XYwiki Master
Posts: 3106
Joined: 23 Aug 2005 22:25
Location: France
Contact:

Post 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 :P since one can see XY is doing a search, and also can press ESC to stop it anytime!! :D

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.
Proud XYplorer Fanatic

admin
Site Admin
Posts: 66075
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post 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!

admin
Site Admin
Posts: 66075
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post 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 :P since one can see XY is doing a search, and also can press ESC to stop it anytime!! :D
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"...

j_c_hallgren
XY Blog Master
Posts: 5826
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Post 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...
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

jacky
XYwiki Master
Posts: 3106
Joined: 23 Aug 2005 22:25
Location: France
Contact:

Post 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 :wink:
Proud XYplorer Fanatic

admin
Site Admin
Posts: 66075
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post 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 :wink:
I was thinking the same yesterday, I was even thinking of the 2nd panel... so you are mind-reading, too...

admin
Site Admin
Posts: 66075
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post 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...

j_c_hallgren
XY Blog Master
Posts: 5826
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Post 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?
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

admin
Site Admin
Posts: 66075
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post 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"?

j_c_hallgren
XY Blog Master
Posts: 5826
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Post by j_c_hallgren »

Maybe "Redo last search on startup"?
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

Post Reply