Re: Option for Live Filter Box instead of Type Ahead Find
Posted: 02 Mar 2017 08:24
@klownboy: The ESC idea is not bad. But I'm not totally convinced. Need more time to play with it, and more feedback from others.
Forum for XYplorer Users and Developers
https://www.xyplorer.com/xyfc/
autocart wrote:1) The filtering process is "relatively" slow (but if that was all it would be ok, and to be fair, I did not compare it to other filtering operations)
2) The live filtering seems to filter the list after each typed letter (I know, this is probably not a bug since it is the meaning of "live" filter, but for the sake of typing whole words at once, maybe it could wait for a split of a second to see if another letter is typed before starting the filtering)
3) A lot of times it happens that the first "t" of the word "test" will be displayed in the LFB but the caret does not move to the right immediately. Instead it starts filtering but still accepts user input in the LFB. This results in a display of "estt" in the LFB (instead of "test") and in a live filter of "t" (as shown in the live filter info bar).
(Also, if a live filter of "t" has run successfully and is therefore active, and I then type "est", it may result in a live filter of "te" instead of "test".)
4) Depending on when I hit Esc to interrupt the filtering process, it can happen that the LFB is empty but the live filter info bar still is visible and displays something. If I then right click on it and pick "Remove Live Filter" it runs one of the recently used terms for the live filter instead of removing it. (No. 4 seems to be ok in a fresh version. Seems, I have to keep observing this behaviour to return a better report but No. 1-3 are unaffected by this.)
Conclusion:
I assume that the ovserved bug(s) are due to a slow intranet connection.
I was not aware of that tweak but now that it is raised to GUI and I became aware of it, setting that value to e.g. 300 it solves numbers 2 and 3, thx. Number 1 is partly solved. If the listing is not a huge branch view or if it finds only a few items (which is the case more often now bc of LiveFilterDelay), then it is probably fast.admin wrote:Code: Select all
v17.60.0103 - 2017-03-01 19:42 ... + Configuration | Filters & Type Ahead Find | Live Filter Box: Added a field enter the "Delay before filter is applied (in milliseconds)". The tweak "LiveFilterDelay" is hereby raised to GUI. Factory default is 0 (to show off some speed) but I'm personally happy with 300 ms. Reduces the browsing action if you type faster than 300 ms between the strokes.
Normally (on short and simple listings) the Live Filtering process is so fast that it is hard to hit Esc during the filtering process.admin wrote:This e.g. is a clear bug to me:
" it can happen that the LFB is empty but the live filter info bar still is visible and displays something. "
I still could not reproduce it but it's on my list.
...so the other way round, ie 'folders only', is buggy, as it is not respecting the setting and it does allow live filtering of folders.admin wrote:That's a Branch View Setting: Configuration | Find Files & Branch View | Branch View | Let folders pass all filters
Took some time but now I think: yes. Comes with next beta.klownboy wrote:Don, obviously I could learn to live with it the way you set it and I realize you mentioned that in the release notes. Given the fact that with "Redirect typing..." option ticked, the LFB activates on typing, would be it be possible to have the second press of "Esc" remove the LFB. It actually kind of makes sense since you now have it activated /displayed automatically when you type anyway. So the first "Esc" clears the LFB and the list contents go back to normal. A second press of "Esc" removes the LFB and Status bar if it wasn't displayed previously. If you want to live filter again, you just start typing...it would be more of an on demand type feature that way. You don't have to see the Live Filter Box when it's not being used. What do you think?
I agree 100,000 % and I thought that this would be clearly logical so I never said anything. But obviously it makes sense to cast in my vote now.LittleBiG wrote:(My setting is TypeAhead redirected to LiveFilter box)
...
2. ... the 2 presses of ESC button. It is so superfluous. When I click ESC one time, LIveFilter box should get hidden. It will appear again when I start typing. The phase when it simply goes back to the LiveFilter box waiting for a new input is just unnecessary using the setting above.
+1LittleBiG wrote:(My setting is TypeAhead redirected to LiveFilter box)
2. I haven't managed to like the 2 presses of ESC button. It is so superfluous. When I click ESC one time, LIveFilter box should get hidden. It will appear again when I start typing. The phase when it simply goes back to the LiveFilter box waiting for a new input is just unnecessary using the setting above.