Does Moving Through a Folder Tree Accidentally Change the Selected Item?
A contributor selects several folders for an export, then uses the arrow keys to inspect another branch. The interface loses the earlier selection or silently adds another folder. The user thought they were navigating; the system interpreted a selection change.
A tree combines hierarchy, focus, expansion and sometimes selection. Those states need an explicit contract.
Name the states separately
The W3C tree-view pattern distinguishes focused items from selected items, particularly in trees that allow multiple selection.
Focus identifies the item currently receiving keyboard interaction. Selection identifies the items included in an action. Expansion determines which children are exposed. A visual highlight should not leave users guessing which state it represents.
Define whether selection follows focus in a single-select tree. For multiple selection, preserve the distinction deliberately.
Test a realistic hierarchy
Illustrative example: project evidence folders
Create a small hierarchy with two projects, each containing a brief and an evidence folder. Select the evidence folder in the first project, navigate to the second project and expand it.
Ask the tester which folders the next export will include. Compare that answer with the actual selection state before executing anything.
Use fictional files and a non-destructive preview. A selection test should not require risking a real export or deletion.
Collapse a selected branch
Select a child and collapse its parent. Decide whether the hidden selection remains active. If it does, provide a clear way to understand and review it.
A visible count alone may not reveal which items are selected. Test how the user can inspect the action's complete scope.
Keep hierarchy navigation predictable
Review movement between parents, children and siblings according to the chosen tree pattern. Test both expanded and collapsed branches.
For dynamically loaded children, distinguish loading from an empty folder. Do not announce that there are no children merely because their request has not finished.
If loading fails, preserve the current selection and offer a recovery route that does not require starting over.
Review actions against stable identities
The action should use the selected item identities, not the current visual row numbers. Expanding a branch can change positions without changing the intended selection.
Before a consequential bulk action, show the selected scope in terms users recognize. Include hidden selected descendants if they are part of the operation.
Read selection across paginated results for a related scope problem in flat lists.
Decide whether a tree is necessary
A nested set of ordinary links may be easier for a simple navigation hierarchy. Use a tree when its interaction model supports the task and the team can implement and test it correctly.
Acceptance evidence should include selecting, navigating, expanding, collapsing and recovering from a failed load. The user must remain able to predict which objects an action will affect throughout those steps.
Editorial note
Prepared with AI assistance. Primary sources and the FutureOS article inventory were checked on October 26, 2026. Examples are illustrative, not customer results. FutureOS is described as being in prelaunch in its current introduction. This guide does not claim an available product feature, integration or service, and no independent expert review is claimed.




Comments