Searchbar history not retained

Discussion related to "Everything" 1.5.
Post Reply
therube
Posts: 5723
Joined: Thu Sep 03, 2009 6:48 pm

Searchbar history not retained

Post by therube »

Searchbar history is not retained (in some circumstances)

(forgot my notes so...)

1406 x86, Win7.

Unsure if issue is exclusive to 1406 (but it became readily apparent in it)?
Unsure if restoring tabs on startup plays in?
Unsure if -read-only plays in?

Something like...

Everything -read-only + restore_tabs_on_startup

Open Everything
<tabs are restored>
search: red
<results returned, do not Tab into results, so focus is still on Searchbar>
search: blue
<results returned, do not Tab into results, so focus is still on Searchbar>
search: green
<results returned, do not Tab into results, so focus is still on Searchbar>

Alt-back-arrow
- expected, blue
<result, no change, Searchbar still shows, green>

Alt-back-arrow (again)
- expected, red
<result, no change, Searchbar still shows, green>


Something... has to happen to effect the saving of back/forward-arrow-key Searchbar "history".
I don't seem to recall ? that being the case before?
Steps above... I'm thinking... would have gone from green, to blue, to red (& then from red to blue to green) - without an intervening action to effect the saving of searches.


---


Open Everything
<tabs are restored>
search: red
<results returned, do not Tab into results, so focus is still on Searchbar>
search: blue
<results returned, do not Tab into results, so focus is still on Searchbar>
search: green
<results returned, Tab into the results list>
- double-click on green.png <an "effector">
<green.png opens>

search: yellow
<results returned, do not Tab into results, so focus is still on Searchbar>
search: black
<results returned, do not Tab into results, so focus is still on Searchbar>
search: white

Alt-back-arrow - black
Alt-back-arrow - yellow
Alt-back-arrow - green
Alt-back-arrow - green (still, no change, & you cannot go back, further).

Alt-fwd-arrow - yellow
Alt-fwd-arrow - black
Alt-fwd-arrow - white

these second set of actions are expected, the first set of actions... i'm thinking should do the same, but no longer do?
void
Developer
Posts: 19870
Joined: Fri Oct 16, 2009 11:31 pm

Re: Searchbar history not retained

Post by void »

Have you changed any of the search_history_add_* settings?
Could you please send your Help -> Troubleshooting information.


Unsure if restoring tabs on startup plays in?
Navigation history is currently not stored in closed windows/tabs.


Unsure if -read-only plays in?
-read-only should not affect navigation history.


Something... has to happen to effect the saving of back/forward-arrow-key Searchbar "history".
I don't seem to recall ? that being the case before?
It has always been the case.

Search history is added when you:
  • focus the result list. (if search_history_add_on_listview_set_focus is enabled)
  • perform an action on a result.
  • press Alt + Left.
  • after changing the search and search_history_add_delay milliseconds have elapsed. (search_history_add_delay=0 means disabled)
  • switch to another window. (if search_history_add_on_kill_focus is enabled)

Steps above... I'm thinking... would have gone from green, to blue, to red (& then from red to blue to green) - without an intervening action to effect the saving of searches.
>search: red
nav history unchanged.
>search: blue
nav history unchanged.
>search: green
nav history unchanged.
>press alt + left
green added to nav history, search set to previous search.
there is not previous search, so green is still shown.


- expected, blue
- expected, red
It's tricky to know when to commit a search to history.
I would like to avoid bloating search history with small changes.
However, I too often find myself wanting to go back to a previous search, but I didn't perform an action on a result, so the search is lost.

Do I trial adding searches to history when the search is cleared?
How are you clearing searches? (eg: selecting all and typing or using backspace?)
There needs to be an option to add-history-on-clear at least..



---



>search: red
nav history unchanged.
>search: blue
nav history unchanged.
>search: green
nav history unchanged.
>Tab into the results list
green added to nav history.
>search: yellow
nav history unchanged.
>search: black
nav history unchanged.
>search: white
nav history unchanged.
>alt+left
>black
unexpected: search set to black, it should be set to green.
>alt+left
>yellow
unexpected: search set to yellow, it should be set to the initial search.
therube
Posts: 5723
Joined: Thu Sep 03, 2009 6:48 pm

Re: Searchbar history not retained

Post by therube »

>> Have you changed any of the search_history_add_* settings?

I don't think so.
(I'll have to get Troubleshooting...)

>> Unsure if restoring tabs on startup plays in?
> Navigation history is currently not stored in closed windows/tabs.

Right.
I was just pointing out that I was restoring history on startup, session_store_restore_on_first_new_window=1, (in case that was playing in).

>> Something... has to happen to effect the saving of back/forward-arrow-key Searchbar "history".
> It has always been the case.

If that's the case, them I'm just mis-remembering, or hadn't run into the particular situation where it has really stood out (as it did now), making me think that something was amiss, where in fact it was not.

>> How are you clearing searches? (eg: selecting all and typing or using backspace?)

Thinking I must be selecting all (Ctrl+A) & typing.


>> after changing the search and search_history_add_delay milliseconds have elapsed
>> unexpected: search set to black, it should be set to green

Isn't your unexpected also going to depend on the search_history_add_delay milliseconds?
Looking currently, I'm seeing a setting of 3000. (Still have to check my home computer.)
Since that is non-default, thinking that 3000 must have carried over from long ago?
(And also kind of sure that home will be 0.)
So with a 3000, one might expect non-effected entries to turn up, but with a 0, they would not.


I'm now thinking that it must have just been a set of relatively quick, consecutive searches, no intervening actions, & after getting to some point in that set, was simply expecting alt+left to take me back, to current-1, to current-1, ... where in fact I simply hadn't performed enough searches, in that manner, for it become apparent that it was not saving history.
void
Developer
Posts: 19870
Joined: Fri Oct 16, 2009 11:31 pm

Re: Searchbar history not retained

Post by void »

Isn't your unexpected also going to depend on the search_history_add_delay milliseconds?
Yes, if search_history_add_delay is enabled, then it's likely the search is being added without touching the results.


Since that is non-default, thinking that 3000 must have carried over from long ago?
Most likely.
It was also enabled by default (set to 3000) in early builds.


So with a 3000, one might expect non-effected entries to turn up, but with a 0, they would not.
Correct.
therube
Posts: 5723
Joined: Thu Sep 03, 2009 6:48 pm

Re: Searchbar history not retained

Post by therube »

1406.mule.Troubleshooting.TXT:

Code: Select all

Everything 1.5.0.1406a (x86)
OS:	Windows NT 6.1 7601 (x64)
Admin:	0
Service:	6 (connected / partially installed)
Command line:	-instance "MULE.1402" -read-only
Binary:	C:\DEV\Locate\MULE.1402\Everything.exe
Profile:	C:\DEV\Locate\MULE.1402\Everything-MULE.1402.ini
Database:	C:\DEV\Locate\MULE.1402\Everything-MULE.1402.db
Instance:	MULE.1402

Config:
match_path=1
ignore_punctuation=1
shell_max_path=0
shell_execute_short_parameters=1
show_mouseover=0
dupe_group_colors=1
highlight_max_or_paths=256
zoom=134
select_focus_on_lost_selection=1
session_store_restore_on_first_new_window=1
context_menu_simple_pidl=1
drag_drop_simple_pidl=1
auto_include_fixed_volumes=0
auto_remove_offline_ntfs_volumes=0
find_first_file_path_not_found_retry_timeout=30000
icon_blend_hidden=1
thumbnail_medium_text_lines=3
thumbnail_large_text_lines=2
filelist_preview=0
filelist_context_menu=0
open_many_files_warning_threshold=9
set_foreground_window_attach_thread_input=0
path_hit_text_only=1
snap_toggle_on_shift=1
rename_overwrite=1
allow_literal_operators=1
convert_forward_slash_to_backslash=1
match_whole_filename_when_using_wildcards=0
operator_precedence=1
size_format=1
size_number_format=4
ellipsis=0
jump_to_timeout=99999
folder_rescan_timeout=60000
text_plain_extensions=a;ans;asc;ascx;asm;asp;aspx;asx;bas;bat;bcp;btm;c;cc;cd;cls;cmd;cod;contact;cpp;cs;csa;csh;cshader;csproj;css;csv;cxx;dbs;def;dic;dos;dsh;dshader;dsp;dsw;efu;ext;faq;filters;fky;fx;gsh;gshader;h;hh;hhc;hlsl;hlsli;hpp;hpp;hsh;hshader;hta;htm;html;htt;htw;htx;hxx;i;ibq;ics;idl;idq;inc;inf;ini;inl;inx;ipp;jav;java;js;json;jsproj;kci;lgn;log;lst;lua;m3u;mak;map;md;mdp;mk;odc;odh;odl;php;pkgdef;pkgundef;pl;prc;ps1xml;psh;pshader;py;rc;rc2;rct;reg;res;rgs;rul;s;scc;shtm;shtml;sln;slnf;sol;sql;srf;stm;tab;tdl;tlh;tli;trg;tt;txt;udf;udt;url;user;usr;vb;vbproj;vbs;vcp;vcproj;vcw;vcxproj;viw;vsh;vshader;vspscc;vsscc;vssscc;wri;wtx;xml;xsd;xsl;xslt
length_dupe_tolerance=900
find_and_select_clear_selection=0
find_and_select_select_folders=0
find_and_select_select_files=0
context_menu_parent_folder=1
custom_open_command01=$exec("C:\WLIB\PLAYERS\mpv.net\mpvnet.exe" %*)
custom_open_command02=$exec("C:\BIN\XXhash64.BAT" %*)
custom_open_command03=$exec("C:\BIN\MI_COMPARE.BAT" %*)
custom_open_command04=$exec("C:\BIN\HEX.exe" %*)
custom_open_command05=$exec(C:\BIN\win32pad.exe K:\xfeRRRRRRR\DONE\DONEX\delme.from.K\new.txt")
custom_open_command06=$exec("C:\BIN\chk.4.EVERYTHING.exe" %*)
filter=VIDEO
filter_select_focus_search=0
preview_icon=1
search_for_text_when_you_start_typing=1
search_history_always_suggest=1
columns=[{"name":"Name","width":315},{"name":"Path","width":148},{"name":"Size","width":84},{"name":"Extension","width":36},{"name":"Date Modified","width":112},{"name":"Length","width":54}]
ntfs_volumes=[{"path":"C:","volume_name":"\\\\?\\Volume{.......................-09c64c792a24}"},{"path":"E:","volume_name":"\\\\?\\Volume{.......................-7713ca54f116}"},{"path":"H:","volume_name":"\\\\?\\Volume{.......................-806e6f6e6963}"},{"path":"I:","volume_name":"\\\\?\\Volume{.......................-5139169e8464}"},{"path":"L:","volume_name":"\\\\?\\Volume{.......................-3a83d8b46a3a}"},{"path":"M:","volume_name":"\\\\?\\Volume{.......................-fc757594da94}"},{"path":"S:","volume_name":"\\\\?\\Volume{.......................-bd601c5ecf5d}"},{"path":"T:","volume_name":"\\\\?\\Volume{.......................-40d21d415d94}"},{"path":"V:","volume_name":"\\\\?\\Volume{.......................-2796ba3da1c3}"},{"path":"W:","volume_name":"\\\\?\\Volume{.......................-41c94e744371}"},{"path":"Y:","volume_name":"\\\\?\\Volume{.......................-aec9ea04d92e}"}]
properties=[{"name":"Length","include_only_files":"*.3gp;*.asf;*.asx;*.avi;*.divx;*.f4v;*.flv;*.m2t;*.m2ts;*.m2v;*.m4v;*.mkv;*.mp4;*.mpe;*.mpeg;*.mpg;*.mov;*.mts;*.ogm;*.ogv;*.qt;*.ram;*.rm;*.rmvb;*.smil;*.swf;*.ts;*.vob;*.vp6;*.webm;*.wmv;*.h264;*.srt;*.part","fast_sort":1}]

Policy:

Plugins:
void
Developer
Posts: 19870
Joined: Fri Oct 16, 2009 11:31 pm

Re: Searchbar history not retained

Post by void »

Thanks for the info therube,
search_history_always_suggest=1
Are you clicking on a suggestion?
That will also add the search to your search history.
therube
Posts: 5723
Joined: Thu Sep 03, 2009 6:48 pm

Re: Searchbar history not retained

Post by therube »

No.
At least not in the above scenario. Select All, then type or paste.
Post Reply