Find Files - Remember the "Look for"

Started by zorglups, July 06, 2016, 14:17:04

Previous topic - Next topic

zorglups

Hello Matthias,

You will soon understand that I'm an heavy user of the "Find Files" part of MC  :P
98% of my searches are on Content while many people will probably search on name.

When one opens the "Find Files", the "Look for" field is empty.
If you click "Start", no file will be found.

Could you please implement at least one of the following:

  • Set the "Look for" field to the value entered in that field last time the "Start" button was clicked
  • Ignore the "Look for" condition if the "Look for" field is empty
  • Set the "Look for" field to "*.*" by default (when "Wildcard" mode is choosen)

In my opinion (1) and (2) should both be implemented.

Thank you (very much),

Pierre

Mathias (Author)

Quote from: zorglups on July 06, 2016, 14:17:04

  • Set the "Look for" field to the value entered in that field last time the "Start" button was clicked
  • Ignore the "Look for" condition if the "Look for" field is empty
  • Set the "Look for" field to "*.*" by default (when "Wildcard" mode is choosen)

1. This should work. The previous search you did is remembered for the next time
2. Ignore LookFor ? I dont think that is possible. It much match files some way..
3. It used to be like that and not sure why it does not work anymore. I know I added code for that for the new search, so it can be that it is missing.
I will look into why it is not set


zorglups

1. Does not work.
Can I provide logs somehow?
Do you want a screen recording?

3. Let me know when you want me to beta test a correction.

Best regards,

Pierre

Mathias (Author)

No it work.

I do this..

1. Start search panel.
2. Enter "*.txt" in "LookFor" and "file" in "File Content"
3. Start search
4. After completed/aborted. close panel
5. reopen search panel. 
6. LookFor and FileContent is set to "*.txt" and "file"
7. Close MC
8. Start MC
9. Start Search Panel
10. LookFor and FileContent is set to "*.txt" and "file"


Jungle

It doesn't work. At least in 6.2 portable. Haven't checked non-portable version.

ice-man

Works for me in 6.4 alpha. maybe it is already fixed ?
Intel i7-6700K - Running on latest Windows 10 64bit Insider Preview

Mathias (Author)

Quote from: ice-man on July 13, 2016, 21:39:38
Works for me in 6.4 alpha. maybe it is already fixed ?
Don't remember fixing something like that.. Can't find anything about fixing that in my change log.
But it is possible, might have been a minor thing that I fixed when doing something else. 

zorglups

It does not work for me, at least in v6.4 build 2193 Portable 64 bit Edition.

I do this..

1. Start search panel.
2. Enter "*.txt" in "LookFor" and "file" in "File Content"
3. Start search
4. After completed/aborted. close panel
5. reopen search panel. 
6. LookFor and FileContent are empty.