Currently, when I perform middle click on the tree, a tab will open in the background. When I click on the newly opened tab(or use hotkey ctrl+tab), the focus is still on tree, not automatically switched to the list.
I have set setFocusTo to 15, still the same.
I think when I actively click on (or use hotkey ctrl + tab to switch to) the newly opened tab, the intention is clear that I want to interact with this particular tab, not the tree anymore.
Wish that there could be an improvement on this, thank you!
Improvement on setFocusTo
-
admin
- Site Admin
- Posts: 64827
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Improvement on setFocusTo
So you'd like to see a new value for setFocusTo:
16 = Tab > List
Or is it generally expected that the list should be focused after actively switching to a new tab?
16 = Tab > List
Or is it generally expected that the list should be focused after actively switching to a new tab?
FAQ | XY News RSS | XY X
Re: Improvement on setFocusTo
I'd vote for the additional value for the tweak, maybe I have to check via scripting if tabs have focus...
One of my scripts helped you out? Please donate via Paypal
-
admin
- Site Admin
- Posts: 64827
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Improvement on setFocusTo
BTW, the current behavior began here:
Unfortunately, I haven't made a note of the reason for this exception. Probably something in the forum.
Note that in all other cases, switching tabs will set the focus to the list.
Code: Select all
v18.80.0004 - 2018-03-09 20:54
* Tabs: When switching tabs the focus now stays in the Tree when it was
there before. Before, the focus always was set to the List.
Note that in all other cases, switching tabs will set the focus to the list.
FAQ | XY News RSS | XY X
Re: Improvement on setFocusTo
I would definitely like a tweak option.
The default behavior is a different question IMO. I don't have a strong opinion as to which one should be the default. As long as I'm able to set it to my liking.
But from a theoretical point of view, I think focusing on the list after tab switch does make a lot of sense. I will provide one example, and the main reason why I want this tweak: my workflow often involves middle click a tab, switch to it, then use keyboard to quickly looking for a folder (like typing "xy" to finde xyplorer's folder), but right now it will switch to a tree item starting with "xy". I hope I have made myself clear.
Last edited by terrytw on 01 Feb 2025 16:35, edited 1 time in total.
-
admin
- Site Admin
- Posts: 64827
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Improvement on setFocusTo
Okay, SetFocusTo=16 (or SetFocusTo AND 16) should work in v26.80.0303. Just patched the release notes (I had forgotten to mention it):
Code: Select all
v26.80.0303 - 2025-02-01 15:49
+ Tweak SetFocusTo enhanced:
SetFocusTo=(bit field)
16 = Tab > ListFAQ | XY News RSS | XY X
Re: Improvement on setFocusTo
Thank you! This has been itching me for like a year and I finally decided to take it to the forum haha. Thanks for it!admin wrote: ↑01 Feb 2025 16:35 Okay, SetFocusTo=16 (or SetFocusTo AND 16) should work in v26.80.0303. Just patched the release notes (I had forgotten to mention it):Code: Select all
v26.80.0303 - 2025-02-01 15:49 + Tweak SetFocusTo enhanced: SetFocusTo=(bit field) 16 = Tab > List
Re: Improvement on setFocusTo
I just tried the new version, the focus only shifts when I click on the tab, but if I use hotkey, it is still locked on the tree. Can you please fix this? Thanks a lot! I use hotkey all the time.terrytw wrote: ↑01 Feb 2025 16:36Thank you! This has been itching me for like a year and I finally decided to take it to the forum haha. Thanks for it!admin wrote: ↑01 Feb 2025 16:35 Okay, SetFocusTo=16 (or SetFocusTo AND 16) should work in v26.80.0303. Just patched the release notes (I had forgotten to mention it):Code: Select all
v26.80.0303 - 2025-02-01 15:49 + Tweak SetFocusTo enhanced: SetFocusTo=(bit field) 16 = Tab > List
XYplorer Beta Club