Hitting del key on a file removes the file and focuses on fearch field

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
mike_bjb5wtkuwg
Posts: 8
Joined: Wed Jun 29, 2022 2:21 pm

Hitting del key on a file removes the file and focuses on fearch field

Post by mike_bjb5wtkuwg »

1. I have a list of files (details view)
2. I am using arrow keys to go up and down on the list
3. I am removing some files by hitting the del key

Ideally, after I've deleted a file, I would just hit an arrow key again to continue my browsing, but for some reason, "Everything" doesn't work that way. Each time I hit the del key, the file is deleted (correctly) and the search field comes to focus. It forces me to hit the tab key in order to go back to the focus on the list. Is there a way for the search field not to become focused after I've hit the del key?

Thanks.
horst.epp
Posts: 1443
Joined: Fri Apr 04, 2014 3:24 pm

Re: Hitting del key on a file removes the file and focuses on fearch field

Post by horst.epp »

Here in Everything1.5 it works as you requested.
You should set the following in your Ini File
focus_next_after_delete=1
mike_bjb5wtkuwg
Posts: 8
Joined: Wed Jun 29, 2022 2:21 pm

Re: Hitting del key on a file removes the file and focuses on fearch field

Post by mike_bjb5wtkuwg »

Thank you for taking the time to respond. Does this solution work only in Everything 1.5? I am using Version 1.4.1.1005 and I did as you suggested. I found an Everything.ini file and added the line you mentioned at the bottom. Unfortunately, it didn't work.
horst.epp
Posts: 1443
Joined: Fri Apr 04, 2014 3:24 pm

Re: Hitting del key on a file removes the file and focuses on fearch field

Post by horst.epp »

Wait for voids answer.
But you should not simply add keys at the end.
Search for the key and only if it doesn't exists add a new one.

I no longer run the 1.4 version as version 1.5 is so much better and stable.
______________________________________________________
Windows 11 Home x64 Version 21H2 (OS Build 22000.778)
Everything 1.5.0.1315a (x64)
tuska
Posts: 1052
Joined: Thu Jul 13, 2017 9:14 am

Re: Hitting del key on a file removes the file and focuses on fearch field

Post by tuska »

Hi,
focus_next_after_delete is located in "A list of all the new Everything 1.5 ini settings".
focus_next_after_delete wrote:Set to 1 to focus the next result list item after deleting the current result list item focus. (default)
Everything 1.5 Alpha is required in my opinion.
Thanks to horst.epp!

_________________________________________
Switching from Everything 1.4 to 1.5
'Everything' 1.5.0.1315a (x64) | Troubleshooting
therube
Posts: 4955
Joined: Thu Sep 03, 2009 6:48 pm

Re: Hitting del key on a file removes the file and focuses on fearch field

Post by therube »

Each time I hit the del key, the file is deleted (correctly) and the search field comes to focus.
I don't see that behavior in 1.4.
So thinking there is something else that you have set that is causing it to happen.

(What I saw, was that on deletion, focus "went away", if you will, but did not jump to the search bar.
It was kind of in limbo.
As it is, at that point, hitting the space bar brings focus to the next file in the list.)


There is a 'Focus Search on Activate' (in 1.5, maybe in 1.4 too ?) & maybe that is causing what you are seeing?
void
Developer
Posts: 16679
Joined: Fri Oct 16, 2009 11:31 pm

Re: Hitting del key on a file removes the file and focuses on fearch field

Post by void »

Please try disabling "Focus search on activate":
  • In Everything, from the Tools menu, click Options.
  • Click the UI tab on the left.
  • Uncheck Focus search on activate.
  • Click OK.
Unfortunately, when "Focus search on activate" is enabled and the "are you sure you want to delete" dialog is shown/closed the search box will be focused.

Everything 1.4 will focus the next item in the result list after the current selection is deleted.
However, Everything 1.4 doesn't select the newly focused item.

The next version of Everything will select the newly focused item.


focus_next_after_delete
focus_next_select
mike_bjb5wtkuwg
Posts: 8
Joined: Wed Jun 29, 2022 2:21 pm

Re: Hitting del key on a file removes the file and focuses on fearch field

Post by mike_bjb5wtkuwg »

Thank you all, for your very detailed explanations. In the end, I switched to v1.5. This topic can be closed or archived.
Post Reply