Quick search in filter mode(Ctrl+S) auto quit when press ESC

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Dreamer
Junior Member
Junior Member
Posts: 77
Joined: 2004-12-22, 00:52 UTC

Quick search in filter mode(Ctrl+S) auto quit when press ESC

Post by *Dreamer »

Quick search in filter mode(Ctrl+S) auto quit when press ESC, like in the nomal mode, after press ESC, all inputed word was cleared.

And in filter mode, ESC should also quit the filter mode and show all files.
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

2Dreamer
Can you be a litle more specific? Please write step by step guide.

Without it I cannot reproduce / understand your problems with my understanding.
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
User avatar
Samuel
Power Member
Power Member
Posts: 1930
Joined: 2003-08-29, 15:44 UTC
Location: Germany, Brandenburg an der Havel
Contact:

Post by *Samuel »

I also cant understand it easy.

I think he is confused about the different behavior for these two:
If quickfilter is enabled: press ESC to hide searchbox - delete text in searchbox at second ESC.
If quickfilter is disabled: press ESC to hide searchbox and immediately delete text in searchbox.

Perhaps 2x ESC is what you want. (quit the filter mode and show all files)
Dreamer
Junior Member
Junior Member
Posts: 77
Joined: 2004-12-22, 00:52 UTC

Post by *Dreamer »

Sorry.

I just want press ESC to do the same thing like the quickfilter is disabled while it is enabled, and temporary disable the filter to show all files.

2 Samuel, you mean
If quickfilter is enabled: press ESC to hide searchbox - delete text in searchbox at second ESC.
But I cann't delete text in searchbox at second ESC.
:?
User avatar
Samuel
Power Member
Power Member
Posts: 1930
Joined: 2003-08-29, 15:44 UTC
Location: Germany, Brandenburg an der Havel
Contact:

Post by *Samuel »

Dreamer wrote:I just want press ESC to do the same thing like the quickfilter is disabled while it is enabled, and temporary disable the filter to show all files.
You currently cant do it with one press of ESC.
Dreamer wrote:But I can't delete text in searchbox at second ESC.
You can. The searchbox is not visible but the text is removed from it.

Try this:
1. Write something in searchbox with Quickfilter activated.
For example: "tc" -> Only files with "tc" in it are shown.
2. Press ESC. -> searchbox disappears. (files are still filtered)
3. Press ESC. -> files are not filtered anymore.

You can now write something else. There will be no text in the searchbox anymore.

Hope I got it. You write in puzzles. ;)
Dreamer
Junior Member
Junior Member
Posts: 77
Joined: 2004-12-22, 00:52 UTC

Post by *Dreamer »

Thank you.

But the third step doesn't work for me even press more ESC.

Very strange.
vic2009
Junior Member
Junior Member
Posts: 32
Joined: 2009-05-30, 02:03 UTC

Post by *vic2009 »

I guess what Dreamer meant is that, let TC forget (do not remember) the ON/OFF status of Quickfilter, every time you press ESC to show all the files again, Quickfilter automatically turns to OFF.
I actually like this idea and hope we can have this option in the future.
Postkutscher
Power Member
Power Member
Posts: 556
Joined: 2006-04-01, 00:11 UTC

Post by *Postkutscher »

2vic2009
What for do you need such an option if all works as Samuel has described?


2Dreamer
I can confirm. The 3. must be exactly as Samuel has described.
Can you please try with empty wincmd.ini ?
Dreamer
Junior Member
Junior Member
Posts: 77
Joined: 2004-12-22, 00:52 UTC

Post by *Dreamer »

Yes, it works with new tc config.

I'll try to find what's problem in my configuration.

Thanks to all.
Dreamer
Junior Member
Junior Member
Posts: 77
Joined: 2004-12-22, 00:52 UTC

Post by *Dreamer »

When I press ESC. the second time or more, the filter icon still keeps in the lower right corner.

very confused. :cry:
Dreamer
Junior Member
Junior Member
Posts: 77
Joined: 2004-12-22, 00:52 UTC

Post by *Dreamer »

I found the problem:

There was a shortcut in wincmd.ini
Esc=cm_ClearAll
vic2009
Junior Member
Junior Member
Posts: 32
Joined: 2009-05-30, 02:03 UTC

Post by *vic2009 »

OK, I will not guess what Dreamer meant, just try to make my suggestion more clear.

Take Samuel's example:
1. Write something in searchbox with Quickfilter activated.
For example: "tc" -> Only files with "tc" in it are shown.
2. Press ESC. -> searchbox disappears. (files are still filtered)
3. Press ESC. -> files are not filtered anymore.
4. Now input "total", only files with "total" in it are shown.

What I want is that, when I press ESC at step 3, Quickfilter will become disable altogether, so when I input "total" in step 4, cursor will move to the next file with "total" in it, but all files are shown.

The reason I suggest this is that, I actually seldom need Quickfilter being enabled, just occationally I need it to see the filtered result. Like first 3 steps of the above example, I enable Quickfilter to see only the files with "tc" in it. Then this job is done.
When I input "total", it's another job now, I suppose that Quickfilter is disabled as it normally does. But it's not because it still remember the last status. I always forgot to press CTRL+S again to set Quickfilter disabled before I press ESC twice and start another quicksearch.

Hope my suggestion makes sense. I wish it can be an option, probably through one setting in wincmd.ini.
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

2vic2009
Just a guess but did you check this INI option?
QuickSearchAutoFilter=0

0: Automatic quick search filter (Ctrl+S) disabled
1: Automatic quick search filter (Ctrl+S) enabled
-1:Like 0, but do not save state when closing TC (filter always disabled at startup)
2: Like 1, but do not save state either (filter always on when starting TC)
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
vic2009
Junior Member
Junior Member
Posts: 32
Joined: 2009-05-30, 02:03 UTC

Post by *vic2009 »

fenix_productions wrote:2vic2009
Just a guess but did you check this INI option?
QuickSearchAutoFilter=0

0: Automatic quick search filter (Ctrl+S) disabled
1: Automatic quick search filter (Ctrl+S) enabled
-1:Like 0, but do not save state when closing TC (filter always disabled at startup)
2: Like 1, but do not save state either (filter always on when starting TC)
Yes, I did.
But what I suggested is not either of the 4 options.

What I suggested is that quick search filter automatically disabled every time you start another new quicksearch.
Or I put it this way: when quicksearch box is visible and filter is enabled, you press ESC once to make quicksearch box disappear, then you press ESC again to show all files, right here, I hope this second ESC can also make quicksearch filter disabled.
User avatar
Mikefield
Power Member
Power Member
Posts: 628
Joined: 2006-02-26, 19:13 UTC
Location: Oberursel, Germany HE

Post by *Mikefield »

vic2009 wrote:What I suggested is that quick search filter automatically disabled every time you start another new quicksearch.
Sounds good for me, but I still need a different between files and folders. See also Quick Filter handling.

mf
Bankster - Word of the Year 2009
Post Reply