Focus confusion

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

:info: Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
Post Reply
RalphM
Posts: 2092
Joined: 27 Jan 2005 23:38
Location: Cairns, Australia

Focus confusion

Post by RalphM »

Something's weird about the focus after one went to the "Find Files" tab of the info panel and then switches between the subtabs of it.
With the following procedure the focus ends up where I wouldn't expect it to be:
1. Select a folder in tree
2. Select Preview tab of info panel -> naturally the list gets the focus
3. Select Find Files tab of info panel -> the file in list still has focus
4. Select one of the Find Files subtabs (other than Attributes and Options) -> the file in list looses focus, understandably, since the entry field of the subtab takes it
5. Select Properties tab of info panel -> Now the last used catalog item has focus instead of the file in list!

Isn't that weird? Or did I miss something?
Ralph :)
(OS: W11 25H2 Home x64 - XY: Current x64 beta - Office 2024 64-bit - Display: 1920x1080 @ 125%)

surrender
Posts: 623
Joined: 23 Oct 2005 08:53
Location: Berlin, Germany

Post by surrender »

Oh yeah.. can repeat that. Guess its a bug.

admin
Site Admin
Posts: 66431
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

The Catalog is the next in the line, which is... yes a bug! :) The natural next fellow should be the tab cycle's numero uno again, which is the Tree.

Although, when you think about it, it would make some sense to force the focus to the list whenever the Properties tab is selected... what do you think?

On the other hand, only yesterday I asked myself: why not show Properties for the selected *Tree folder* when Tree has focus? :idea: Hmmm?

RalphM
Posts: 2092
Joined: 27 Jan 2005 23:38
Location: Cairns, Australia

Post by RalphM »

admin wrote:The Catalog is the next in the line, which is... yes a bug! :) The natural next fellow should be the tab cycle's numero uno again, which is the Tree.

Although, when you think about it, it would make some sense to force the focus to the list whenever the Properties tab is selected... what do you think?

On the other hand, only yesterday I asked myself: why not show Properties for the selected *Tree folder* when Tree has focus? :idea: Hmmm?
I would rather expect the focus to return to the last position (unless I did something to move it) i.e. in my example it should return to list.

Re the other ideas. So far the info panel was always linked with the list, no matter where the focus was, so I'm not sure if it's a good idea to change this now. And forcing the focus to list if Properties is selected doesn't make sense to me either.
Ralph :)
(OS: W11 25H2 Home x64 - XY: Current x64 beta - Office 2024 64-bit - Display: 1920x1080 @ 125%)

admin
Site Admin
Posts: 66431
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

RalphM wrote:I would rather expect the focus to return to the last position (unless I did something to move it) ...
Focus management is done automatically (not by my code). If the focused element becomes invisible, focus is moved to the element that comes next in the focus queue. It does not go back to the previous one. Of course, I could overwrite this behavior, but that would break a rule that's active everywhere else in the app.

Post Reply