Preview with Space while filtering [DONE]

Questions, glitches, bugs and crashes
Locked
babmo
Posts: 19
Joined: Sun Mar 03, 2019 6:37 am

Preview with Space while filtering [DONE]

Post by babmo » Sat Jan 30, 2021 10:06 pm

I used to be able to press Space to preview a file while filtering, e.g. in a folder with a bunch of files I would type "img" and then Space to preview the images. Now (Build 3532) if I press Space, the filter continues and I get "img " and so zero results. Is there a setting for this? I know there is Cmd-Y, but I liked Space.

User avatar
mike
Posts: 1060
Joined: Thu Jul 16, 2015 5:35 am
Location: Exeter, UK

Re: Preview with Space while filtering

Post by mike » Mon Feb 01, 2021 9:27 pm

There's no such setting at the moment.
You can either change the Preview hotkey to have a modifier (like ctrl+Space) or use modifiers for QuickSearch itself (like alt-).

babmo
Posts: 19
Joined: Sun Mar 03, 2019 6:37 am

Re: Preview with Space while filtering

Post by babmo » Mon Feb 01, 2021 10:13 pm

Can I ask why the behaviour was changed?

User avatar
mike
Posts: 1060
Joined: Thu Jul 16, 2015 5:35 am
Location: Exeter, UK

Re: Preview with Space while filtering

Post by mike » Thu Feb 04, 2021 10:22 pm

Frankly I can't remember the exact reasoning, but most likely the ability to search for files with spaces in their filenames was valued higher than previewing using this key.

babmo
Posts: 19
Joined: Sun Mar 03, 2019 6:37 am

Re: Preview with Space while filtering

Post by babmo » Thu Feb 04, 2021 11:01 pm

I really wish there was a setting for this, or if Space as a Preview shortcut is set, treat it as override. I know you have limited time, but if you could think of something, that would be great. I’ve been using a quite old free version for a while, now I’ve updated to the new paid version and it’s weird to get reaccustomed to workflows.

User avatar
mike
Posts: 1060
Joined: Thu Jul 16, 2015 5:35 am
Location: Exeter, UK

Re: Preview with Space while filtering

Post by mike » Tue Feb 09, 2021 10:44 pm

I see the point.
Perhaps I can add a check box like "Accept spaces" in Preferences->Panels->QuickSearch.
On one hand I don't like such hardwiring, since Preview can be remapped onto anything else, on the other I understand that in 99% cases it'll stay on Space as by default.

babmo
Posts: 19
Joined: Sun Mar 03, 2019 6:37 am

Re: Preview with Space while filtering

Post by babmo » Wed Feb 10, 2021 5:52 pm

Such an option would be great, thanks for looking into it!

User avatar
mike
Posts: 1060
Joined: Thu Jul 16, 2015 5:35 am
Location: Exeter, UK

Re: Preview with Space while filtering

Post by mike » Sat May 29, 2021 10:02 pm

Done, I removed the hardcoded special handling of the Space character.
Now instead QuickSearch supports choosing a set of characters to ignore when considering an input, regardless of their positions in a query.
By default this set of characters contains only the Space character.
Screenshot 2021-05-29 at 22.52.29.png
Screenshot 2021-05-29 at 22.52.29.png (109.14 KiB) Viewed 5905 times

babmo
Posts: 19
Joined: Sun Mar 03, 2019 6:37 am

Re: Preview with Space while filtering [DONE]

Post by babmo » Sun Jun 13, 2021 1:07 am

Wonderful, that looks like what I need! Thank you! It’s not in the build 3653, is it? Because I don’t see the setting.

Locked