Toggle Subfolders : Don't change focus

Have a suggestion for "Everything"? Please post it here.
Post Reply
meteorquake
Posts: 523
Joined: Thu Dec 15, 2016 9:44 pm

Toggle Subfolders : Don't change focus

Post by meteorquake »

Easy one...
Currently the Folders | Toggle Subfolders command changes the focus to the Folder sidebar.
In fact I invariably use it tied to a shortcut which I execute from the Search box as I'm typing a search and don't want the focus to change out of the search bar because it may take more than one effort of typing to find the file.
Would it be possible to have the command not changing the focus?
It may be the existing one can simply have its operation adjusted, but if not then I would think the easiest thing would be a new command
Folders | Toggle Subfolders (no focus change)
or some such name. It just needs to be able to have a shortcut key user-assignable.
Cheers!
David
void
Developer
Posts: 17152
Joined: Fri Oct 16, 2009 11:31 pm

Re: Toggle Subfolders : Don't change focus

Post by void »

To create a keyboard shortcut to show the folder sidebar without the focus:
  • From the Bookmarks menu, click Add to bookmarks.
  • Change the Name to: Show Folder Sidebar (no focus)
  • Change the Search to: /command 40363
  • Set the keyboard shortcut and click OK.
command 40362 = Toggle folders sidebar (no focus)
command 40363 = Show folders sidebar (no focus)
meteorquake
Posts: 523
Joined: Thu Dec 15, 2016 9:44 pm

Re: Toggle Subfolders : Don't change focus

Post by meteorquake »

This question is about toggling the subfolders button (the tickbox) at the bottom of folder sidebar, rather than toggling the whole folder bar. Toggling the tickbox seems to cause the folder bar to gain the focus... :)
void
Developer
Posts: 17152
Joined: Fri Oct 16, 2009 11:31 pm

Re: Toggle Subfolders : Don't change focus

Post by void »

Sorry for misreading.

The next alpha update will no longer focus the folders sidebar when using the Folders | Toggle subfolders command.



If you want a keyboard shortcut to toggle subfolders and focus the folders sidebar you will need to setup a bookmark.
For example:
/toggle-folders-sidebar-subfolders
/show-folders-sidebar
meteorquake
Posts: 523
Joined: Thu Dec 15, 2016 9:44 pm

Re: Toggle Subfolders : Don't change focus

Post by meteorquake »

Many thanks!
It's actually quite handy that toggle subfolders had also shown the folder bar, just not the change of final focus that happens when the folder bar was already open. If it had opened the folderbar then the same keypress (which the finger is already on) would toggle the subfolders setting if it was seen to be in the wrong state.
That said I think it's probably the case that most cases of toggling the subfolders will be when the folder bar is already open and there's no harm in completely separating the action tasks.
David
Post Reply