Page 1 of 1

[SOLVED] Focus pane when clicking on tree

Posted: 18 May 2017 11:14
by Leito
After opening a folder by clicking on the tree, is there any way to put the focus automatically on the pane where the folder has been opened?

Re: Focus pane when clicking on tree

Posted: 18 May 2017 11:20
by highend
Afaik, no

A tweak like:

Code: Select all

; Tweak: auto-focus the list after left-clicking on a tree item
SetFocusToListAfterTree=1
would be nice...

Re: Focus pane when clicking on tree

Posted: 18 May 2017 12:09
by MemphiZ
I would support this as well. Usually I click on the tree and start typing for a file name. As it is now, those keystrokes will cause the tree to start searching instead of the pane.

Re: Focus pane when clicking on tree

Posted: 18 May 2017 12:38
by Leito
MemphiZ wrote:I would support this as well. Usually I click on the tree and start typing for a file name. As it is now, those keystrokes will cause the tree to start searching instead of the pane.
My problem exactly.

A tweak would be great then.

Re: Focus pane when clicking on tree

Posted: 01 Jun 2017 11:13
by Leito
Hi Don,

Would you be willing to implement that?

Re: Focus pane when clicking on tree

Posted: 08 Jun 2017 16:50
by admin
OK, will do. FYI, comes almost exactly 10 years after the tweak SetFocusToListAfterCatalog. So I guess it's okay to add another SetFocusToList... tweak now. :)

Re: Focus pane when clicking on tree

Posted: 08 Jun 2017 16:55
by Leito
Thank you ! :biggrin:

Re: Focus pane when clicking on tree

Posted: 09 Jun 2017 12:50
by highend
:tup: from me, too! A great relieve that you can type to filter immediately afterwards...

Re: Focus pane when clicking on tree

Posted: 10 Jun 2017 17:45
by kinook
How about a tweak for address bar too?

viewtopic.php?t=15401

Re: Focus pane when clicking on tree

Posted: 28 Jul 2017 10:27
by Leito
For those whose come up on this post, the tweak to use is "SetFocusTo".

Code: Select all

v18.00.0004 - 2017-06-13 12:32
    + Tweak: Unified the various "Set Focus To..." tweaks in one bit field key:
        SetFocusTo=(bit field)
                    1 = Tree > List
                    2 = Catalog > List
                    4 = Address Bar > List (this one is NEW)
      For example, to enable all the focus shifts you simply add 1+2+4=7:
        SetFocusTo=7
    - These old tweaks have been removed (replaced by SetFocusTo):
        SetFocusToListAfterTree
        SetFocusToListAfterCatalog
I didn't see that you implemented it Don, thanks a lot!