Skip to content

Feature: Focus folder when opening via mouse input in Columns View #15869

@alahmnat

Description

@alahmnat

Description

In Column View, clicking on a folder doesn't move the target for interactions into that folder, even though the tab name is updated to reflect the selected folder. The interaction target remains in the column where that folder is listed. As an example, in the image below I've clicked on the PowerShell folder and the tab name says "PowerShell", but the path bar still indicates I'm in the Documents folder, and if I paste a file at this point, it'll get pasted into Documents, not PowerShell.

image

Clicking into the folder's column (in the example above, clicking anywhere in the "Scripts" column) is required to actually update the active folder. Essentially, the "active" folder is always the column you've most recently clicked on. This also applies for going "up" the hierarchy to the left; clicking on a folder inside of "Scripts" will advance the target to Scripts, but clicking on "PowerShell" two columns back will move the target all the way back to Documents, not PowerShell.

When navigating with the arrow keys, this makes some degree of sense as the focus ring doesn't actually move into the selected folder until you hit the left or right arrow key (though in that case the tab name is updating incorrectly because the selected folder isn't your current "active" location yet):

image

Steps To Reproduce

Mouse Interaction

  1. Be in Column View.
  2. Click on a folder within a column - selection depth doesn't seem to matter.
  3. Observe tab title changes to match the name of the selected folder.
  4. Paste a file - it goes into the column with the folder you clicked on.
  5. Click on anything in the column showing step 2's folder's contents - whitespace, files, or even other folders.
  6. Paste a file - it goes into the folder selected in step 2.
  7. Click on an ancestor folder.
  8. Observe the path and interaction target become the column with the selected folder, not the selected folder itself.

Keyboard Interaction

  1. Be in Column View.
  2. Use arrow keys to navigate vertically through a column's content.
  3. Observe tab title changes to match the name of the highlighted folder.
  4. Paste a file - it goes into the column with the highlighted folder (the currently "active" column), not the highlighted folder itself.
  5. Press right arrow to navigate into the folder with the focus ring.
  6. Paste a file - it goes into the column you've moved your selection into.

Requirements

  • Clicking on a folder in Column View should update all of the following to match the folder that's been clicked on, whether moving to the right or the left along the column hierarchy:
    1. Tab title
    2. Path bar location
    3. Interaction target (pasting, etc.)
  • Using arrow keys to navigate in Column View should do either of the following:
    1. Follow mouse behavior, so tab title, path bar location, and interaction target advance to the highlighted folder's column but arrow navigation itself is unaffected (this is how Finder works in macOS, incidentally), or
    2. Tab title should reflect the folder name of the current column (where the focus ring is) and not update until using the right or left arrow key to move into or out of a folder.

In the case of a column that is floor-to-ceiling full of folders (so there's no files or whitespace to click on), one would need to click on the parent folder to be able to paste into it. (macOS tries to mitigate this particular case by not having the click target extend across the entire column, so you can click on the whitespace next to a folder's name to select that column, which is itself quirky.) Having to technically click on a parent to paste into it may feel slightly unintuitive at first blush, but IMO it's less unintuitive than "clicking on a folder selects its parent", as is currently the case.

I guess what I'm really asking is for mouse behavior to be more intuitive (clicking on a folder selects it, not its column) rather than following the current keyboard navigation logic, and for the keyboard navigation logic to match this new mouse behavior to be consistent.

Files Version

3.5.0.0

Windows Version

10.0.22631.3880

Log File

debug.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    area - columns viewFeatures or bug reports relating to Columns View

    Projects

    Status

    🔖 Ready to build

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions