You are dealing with different conditions:
- Item that has focus (an area or item that can have an action completed)
- State of an item (such as selected/not selected)
- Visual indicator of an item state (selected) but the item does not have focus
These are NOT the same as
focus trumps non-focused state. Requested actions (such as
DELETE) are applied to an item that has
focus not the non-focus item to which you set the
state (selected). To complete the action you wanted, the desired item (subfolder with
state = selected) must also have
focus.
To make it even more interesting, it is actually the Windows Explorer pane that receives the
focus and you set the
state (select) of the item within the pane on which you can apply an action (such as
DELETE). In Windows Explorer the left navigation pane can have only one item selected but the right list pane can have one or more items selected.
In your example, you must have:
1. Selected (clicked on) the subfolder selection check box (in the right list pane)
- focus is set to the list pane (right pane) and
- state (selected) is set to your subfolder and
- the visual indicator (check mark) shows the selected state
2. Then you moved the cursor to and clicked on the parent folder (in the left navigation pane)
- this changed the focus and state to the parent folder in the navigation pane
- however, the state of your previous action remained as selected in the list pane (as shown by the check mark)
3. You then requested the
DELETE action
- the requested DELETE action was applied to the item that has focus (the parent folder in the navigation pane), not to the item which you set the selected state (subfolder in list pane) as it no longer had focus
This behavior is by design. You must remain aware of what has
focus not just to an item that has a visual indicator of
state but does not have
focus. To be safe, always click on the item (to set
focus) just before applying an action.
Regards,
GEWB